| | |
| | | import java.util.concurrent.CopyOnWriteArrayList; |
| | | import java.util.concurrent.CopyOnWriteArraySet; |
| | | |
| | | import org.opends.server.admin.std.meta.PasswordPolicyCfgDefn; |
| | | import org.opends.server.admin.std.server.PasswordPolicyCfg; |
| | | import org.opends.server.admin.std.server.PasswordValidatorCfg; |
| | | import org.opends.server.api.AccountStatusNotificationHandler; |
| | |
| | | private CopyOnWriteArrayList<String> previousLastLoginTimeFormats = |
| | | new CopyOnWriteArrayList<String>(); |
| | | |
| | | // The state update failure policy. |
| | | private PasswordPolicyCfgDefn.StateUpdateFailurePolicy |
| | | stateUpdateFailurePolicy = |
| | | PasswordPolicyCfgDefn.StateUpdateFailurePolicy.REACTIVE; |
| | | |
| | | |
| | | |
| | | /** |
| | |
| | | // Get the idle lockout duration. |
| | | this.idleLockoutInterval = (int) configuration.getIdleLockoutInterval(); |
| | | |
| | | |
| | | // Get the state update failure policy. |
| | | this.stateUpdateFailurePolicy = configuration.getStateUpdateFailurePolicy(); |
| | | |
| | | |
| | | /* |
| | | * Holistic validation. |
| | | */ |
| | |
| | | |
| | | |
| | | /** |
| | | * Retrieves the state update failure policy for this password policy. |
| | | * |
| | | * @return The state update failure policy for this password policy. |
| | | */ |
| | | public PasswordPolicyCfgDefn.StateUpdateFailurePolicy |
| | | getStateUpdateFailurePolicy() |
| | | { |
| | | return stateUpdateFailurePolicy; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * Retrieves a string representation of this password policy. |
| | | * |
| | | * @return A string representation of this password policy. |