org.ldaptive.auth.ext
Class EDirectoryAuthenticationResponseHandler

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

public class EDirectoryAuthenticationResponseHandler
extends Object
implements AuthenticationResponseHandler

Attempts to parse the authentication response and set the account state using data associated with eDirectory. The Authenticator should be configured to return 'passwordExpirationTime' and 'loginGraceRemaining' attributes so they can be consumed by this handler.

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

Constructor Summary
EDirectoryAuthenticationResponseHandler()
          Default constructor.
EDirectoryAuthenticationResponseHandler(int hours)
          Creates a new edirectory authentication response handler.
EDirectoryAuthenticationResponseHandler(String hours)
          Creates a new edirectory 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

EDirectoryAuthenticationResponseHandler

public EDirectoryAuthenticationResponseHandler()
Default constructor.


EDirectoryAuthenticationResponseHandler

public EDirectoryAuthenticationResponseHandler(int hours)
Creates a new edirectory authentication response handler.

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

EDirectoryAuthenticationResponseHandler

public EDirectoryAuthenticationResponseHandler(String hours)
Creates a new edirectory authentication response handler.

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

handle

public void handle(AuthenticationResponse response)
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.