public CoreTokenConfig(){
  caseSensitiveUserId=SystemProperties.getAsBoolean(com.sun.identity.shared.Constants.CASE_SENSITIVE_UUID);
  sessionExpiryGracePeriod=5 * 60;
  expiredSessionsSearchLimit=getSystemManagerPropertyAsInt(CoreTokenConstants.SYS_PROPERTY_EXPIRED_SEARCH_LIMIT,250);
  cleanupPeriod=getSystemManagerPropertyAsInt(CoreTokenConstants.CLEANUP_PERIOD,5 * 60 * 1000);
  healthCheckPeriod=getSystemManagerPropertyAsInt(CoreTokenConstants.HEALTH_CHECK_PERIOD,1 * 60 * 1000);
  runPeriod=Math.min(cleanupPeriod,healthCheckPeriod);
  sleepInterval=60 * 1000;
  tokensEncrypted=SystemProperties.getAsBoolean(Constants.SESSION_REPOSITORY_ENCRYPTION);
  tokensCompressed=SystemProperties.getAsBoolean(Constants.SESSION_REPOSITORY_COMPRESSION);
  attributeNamesCompressed=SystemProperties.getAsBoolean(Constants.SESSION_REPOSITORY_ATTRIBUTE_NAME_COMPRESSION);
  cleanupPageSize=1000;
}

public CoreTokenConfig ( ) { caseSensitiveUserId = SystemProperties . getAsBoolean ( com . sun . identity . shared . Constants . CASE_SENSITIVE_UUID ) ; sessionExpiryGracePeriod = 5 * 60 ; expiredSessionsSearchLimit = getSystemManagerPropertyAsInt ( CoreTokenConstants . SYS_PROPERTY_EXPIRED_SEARCH_LIMIT , 250 ) ; cleanupPeriod = getSystemManagerPropertyAsInt ( CoreTokenConstants . CLEANUP_PERIOD , 5 * 60 * 1000 ) ; healthCheckPeriod = getSystemManagerPropertyAsInt ( CoreTokenConstants . HEALTH_CHECK_PERIOD , 1 * 60 * 1000 ) ; runPeriod = Math . min ( cleanupPeriod , healthCheckPeriod ) ; sleepInterval = 60 * 1000 ; tokensEncrypted = SystemProperties . getAsBoolean ( Constants . SESSION_REPOSITORY_ENCRYPTION ) ; tokensCompressed = SystemProperties . getAsBoolean ( Constants . SESSION_REPOSITORY_COMPRESSION ) ; attributeNamesCompressed = SystemProperties . getAsBoolean ( Constants . SESSION_REPOSITORY_ATTRIBUTE_NAME_COMPRESSION ) ; cleanupPageSize = 1000 ; }
create a new default instance of the coretokenconfig which will establish the various configuration it requires from system properties .
