org.ldaptive.auth.ext
Class ActiveDirectoryAuthenticationResponseHandler

java.lang.Object
  extended by org.ldaptive.auth.ext.ActiveDirectoryAuthenticationResponseHandler
All Implemented Interfaces:
AuthenticationResponseHandler

public class ActiveDirectoryAuthenticationResponseHandler
extends Object
implements AuthenticationResponseHandler

Attempts to parse the authentication response message and set the account state using data associated with active directory.

Version:
$Revision: 3189 $ $Date: 2016-11-01 17:21:43 -0400 (Tue, 01 Nov 2016) $
Author:
Middleware Services

Constructor Summary
ActiveDirectoryAuthenticationResponseHandler()
          Default constructor.
ActiveDirectoryAuthenticationResponseHandler(int warning)
          Creates a new active directory authentication response handler.
ActiveDirectoryAuthenticationResponseHandler(int warning, long passwordAge)
          Creates a new active directory authentication response handler.
ActiveDirectoryAuthenticationResponseHandler(long passwordAge)
          Creates a new active directory authentication response handler.
ActiveDirectoryAuthenticationResponseHandler(String warning)
          Creates a new active directory authentication response handler.
ActiveDirectoryAuthenticationResponseHandler(String warning, String passwordAge)
          Creates a new active directory authentication response handler.
 
Method Summary
 boolean equals(Object o)
          
 void handle(AuthenticationResponse response)
          Handle the response from an ldap authentication.
 int hashCode()
          
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActiveDirectoryAuthenticationResponseHandler

public ActiveDirectoryAuthenticationResponseHandler()
Default constructor.


ActiveDirectoryAuthenticationResponseHandler

public ActiveDirectoryAuthenticationResponseHandler(long passwordAge)
Creates a new active directory authentication response handler.

Parameters:
passwordAge - length of time in milliseconds that a password is valid

ActiveDirectoryAuthenticationResponseHandler

public ActiveDirectoryAuthenticationResponseHandler(int warning)
Creates a new active directory authentication response handler.

Parameters:
warning - length of time before expiration that should produce a warning

ActiveDirectoryAuthenticationResponseHandler

public ActiveDirectoryAuthenticationResponseHandler(int warning,
                                                    long passwordAge)
Creates a new active directory authentication response handler.

Parameters:
warning - length of time before expiration that should produce a warning
passwordAge - length of time in milliseconds that a password is valid

ActiveDirectoryAuthenticationResponseHandler

public ActiveDirectoryAuthenticationResponseHandler(String warning)
Creates a new active directory authentication response handler.

Parameters:
warning - in duration syntax of time before expiration that should produce a warning

ActiveDirectoryAuthenticationResponseHandler

public ActiveDirectoryAuthenticationResponseHandler(String warning,
                                                    String passwordAge)
Creates a new active directory authentication response handler.

Parameters:
warning - in duration syntax of time before expiration that should produce a warning
passwordAge - in duration syntax of time in milliseconds that a password is valid
Method Detail

handle

public void handle(AuthenticationResponse response)
Description copied from interface: AuthenticationResponseHandler
Handle the response from an ldap authentication.

Specified by:
handle in interface AuthenticationResponseHandler
Parameters:
response - produced from an authentication

equals

public boolean equals(Object o)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2017 Virginia Tech. All Rights Reserved.