Class PasswordExpirationAuthenticationResponseHandler

  • All Implemented Interfaces:
    AuthenticationResponseHandler

    public class PasswordExpirationAuthenticationResponseHandler
    extends Object
    implements AuthenticationResponseHandler
    Attempts to parse the authentication response and set the account state using data associated with the password expiring and password expired controls. See http://tools.ietf.org/html/draft-vchu-ldap-pwd-policy-00.
    • Field Detail

      • logger

        protected final Logger logger
        Logger for this class.
      • expirationClock

        private final Clock expirationClock
        Clock to convert time before expiration seconds to a datetime.
    • Constructor Detail

      • PasswordExpirationAuthenticationResponseHandler

        public PasswordExpirationAuthenticationResponseHandler()
        Creates a new password expiration authentication response handler.
      • PasswordExpirationAuthenticationResponseHandler

        PasswordExpirationAuthenticationResponseHandler​(Clock clock)
        Creates a new password expiration authentication response handler.
        Parameters:
        clock - used to convert time before expiration to a datetime