Package org.ldaptive.auth
Class AddControlAuthenticationRequestHandler
- java.lang.Object
-
- org.ldaptive.auth.AddControlAuthenticationRequestHandler
-
- All Implemented Interfaces:
AuthenticationRequestHandler
- Direct Known Subclasses:
PasswordPolicyAuthenticationRequestHandler
public class AddControlAuthenticationRequestHandler extends java.lang.Object implements AuthenticationRequestHandler
Authentication request handler that addsRequestControl
s to theAuthenticationRequest
.- Author:
- Middleware Services
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AddControlAuthenticationRequestHandler.ControlFactory
Factory that producesRequestControl
s.
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Logger
logger
Logger for this class.
-
Constructor Summary
Constructors Constructor Description AddControlAuthenticationRequestHandler(AddControlAuthenticationRequestHandler.ControlFactory factory)
Creates a new add control authentication request handler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(java.lang.String dn, AuthenticationRequest request)
Handle the request for an ldap authentication.
-
-
-
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(java.lang.String dn, AuthenticationRequest request) throws LdapException
Description copied from interface:AuthenticationRequestHandler
Handle the request for an ldap authentication.- Specified by:
handle
in interfaceAuthenticationRequestHandler
- Parameters:
dn
- distinguished name resolved for this requestrequest
- for this authentication event- Throws:
LdapException
- if an error occurs handling an authentication request
-
-