Package org.ldaptive.auth.ext
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 SummaryFields Modifier and Type Field Description private ClockexpirationClockClock to convert time before expiration seconds to a datetime.protected LoggerloggerLogger for this class.
 - 
Constructor SummaryConstructors Constructor Description PasswordExpirationAuthenticationResponseHandler()Creates a new password expiration authentication response handler.PasswordExpirationAuthenticationResponseHandler(Clock clock)Creates a new password expiration authentication response handler.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(AuthenticationResponse response)Handle the response from an ldap authentication.
 
- 
- 
- 
Constructor Detail- 
PasswordExpirationAuthenticationResponseHandlerpublic PasswordExpirationAuthenticationResponseHandler() Creates a new password expiration authentication response handler.
 - 
PasswordExpirationAuthenticationResponseHandlerPasswordExpirationAuthenticationResponseHandler(Clock clock) Creates a new password expiration authentication response handler.- Parameters:
- clock- used to convert time before expiration to a datetime
 
 
- 
 - 
Method Detail- 
handlepublic void handle(AuthenticationResponse response) Description copied from interface:AuthenticationResponseHandlerHandle the response from an ldap authentication.- Specified by:
- handlein interface- AuthenticationResponseHandler
- Parameters:
- response- produced from an authentication
 
 
- 
 
-