public class AddControlAuthenticationRequestHandler extends Object implements AuthenticationRequestHandler
RequestControl
s to the AuthenticationRequest
.Modifier and Type | Class and Description |
---|---|
static interface |
AddControlAuthenticationRequestHandler.ControlFactory
Factory that produces
RequestControl s. |
Modifier and Type | Field and Description |
---|---|
private AddControlAuthenticationRequestHandler.ControlFactory |
controlFactory
Factory that produces request controls.
|
protected Logger |
logger
Logger for this class.
|
Constructor and Description |
---|
AddControlAuthenticationRequestHandler(AddControlAuthenticationRequestHandler.ControlFactory factory)
Creates a new add control authentication request handler.
|
Modifier and Type | Method and Description |
---|---|
void |
handle(String dn,
AuthenticationRequest request)
Handle the request for an ldap authentication.
|
protected final Logger logger
private final AddControlAuthenticationRequestHandler.ControlFactory controlFactory
public AddControlAuthenticationRequestHandler(AddControlAuthenticationRequestHandler.ControlFactory factory)
factory
- to produce request controlspublic void handle(String dn, AuthenticationRequest request) throws LdapException
AuthenticationRequestHandler
handle
in interface AuthenticationRequestHandler
dn
- distinguished name resolved for this requestrequest
- for this authentication eventLdapException
- if an error occurs handling an authentication requestCopyright © 2003-2019 Virginia Tech. All Rights Reserved.