Class PasswordExpirationAuthenticationResponseHandler

java.lang.Object
org.ldaptive.auth.ext.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 Details

    • 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 Details

    • 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
  • Method Details