private void resetPolicyConfig(Map env) throws PolicyException, SSOException {
  if (currentTimeMillis() > policyConfigExpiresAt) {
    String realmDn=CollectionHelper.getMapAttr(env,PolicyEvaluator.REALM_DN);
    if (realmDn == null) {
      debug.error("LDAPFilterCondition.resetPolicyConfig(): realmDn is null");
      throw new PolicyException(ResBundleUtils.rbName,"ldapfiltercondition_resetpolicyconfig_null_realm_dn",null,null);
    }
    Map policyConfigParams=PolicyConfig.getPolicyConfig(realmDn);
    setPolicyConfig(policyConfigParams,realmDn);
  }
}

private void resetPolicyConfig ( Map env ) throws PolicyException , SSOException { if ( currentTimeMillis ( ) > policyConfigExpiresAt ) { String realmDn = CollectionHelper . getMapAttr ( env , PolicyEvaluator . REALM_DN ) ; if ( realmDn == null ) { debug . error ( "LDAPFilterCondition.resetPolicyConfig(): realmDn is null" ) ; throw new PolicyException ( ResBundleUtils . rbName , "ldapfiltercondition_resetpolicyconfig_null_realm_dn" , null , null ) ; } Map policyConfigParams = PolicyConfig . getPolicyConfig ( realmDn ) ; setPolicyConfig ( policyConfigParams , realmDn ) ; } }
this condition resets its policy configuration information , periodically . the time period is based on the subjects_result_ttl defined in the policy config service .
