org.ldaptive.auth
Class AddControlAuthenticationRequestHandler

java.lang.Object
  extended by org.ldaptive.auth.AddControlAuthenticationRequestHandler
All Implemented Interfaces:
AuthenticationRequestHandler
Direct Known Subclasses:
PasswordPolicyAuthenticationRequestHandler

public class AddControlAuthenticationRequestHandler
extends Object
implements AuthenticationRequestHandler

Authentication request handler that adds RequestControls to the AuthenticationRequest.

Version:
$Revision$ $Date$
Author:
Middleware Services

Nested Class Summary
static interface AddControlAuthenticationRequestHandler.ControlFactory
          Factory that produces RequestControls.
 
Field Summary
protected  org.slf4j.Logger logger
          Logger for this class.
 
Constructor Summary
AddControlAuthenticationRequestHandler(AddControlAuthenticationRequestHandler.ControlFactory factory)
          Creates a new add control authentication request handler.
 
Method Summary
 void handle(String dn, AuthenticationRequest request)
          Handle the request for an ldap authentication.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.slf4j.Logger logger
Logger for this class.

Constructor Detail

AddControlAuthenticationRequestHandler

public AddControlAuthenticationRequestHandler(AddControlAuthenticationRequestHandler.ControlFactory factory)
Creates a new add control authentication request handler.

Parameters:
factory - to produce request controls
Method Detail

handle

public void handle(String dn,
                   AuthenticationRequest request)
            throws LdapException
Description copied from interface: AuthenticationRequestHandler
Handle the request for an ldap authentication.

Specified by:
handle in interface AuthenticationRequestHandler
Parameters:
dn - distinguished name resolved for this request
request - for this authentication event
Throws:
LdapException - if an error occurs handling an authentication request


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