Class PasswordPolicyAccountState


  • public class PasswordPolicyAccountState
    extends AccountState
    Represents the state of an account as described by a password policy control.
    • Constructor Detail

      • PasswordPolicyAccountState

        public PasswordPolicyAccountState​(ZonedDateTime exp,
                                          int remaining)
        Creates a new password policy account state.
        Parameters:
        exp - account expiration
        remaining - number of logins available
      • PasswordPolicyAccountState

        public PasswordPolicyAccountState​(PasswordPolicyControl.Error error)
        Creates a new password policy account state.
        Parameters:
        error - containing password policy error details
    • Method Detail

      • getPasswordPolicyError

        public PasswordPolicyControl.Error getPasswordPolicyError()
        Returns the password policy error for this account state.
        Returns:
        password policy error