|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.auth.AggregateDnResolver.AuthenticationHandler
public static class AggregateDnResolver.AuthenticationHandler
Used in conjunction with an AggregateDnResolver to authenticate the
resolved DN. In particular, the resolved DN is expected to be of the form:
label:DN where the label indicates the authentication handler to use. This
class only invokes one authentication handler that matches the label found
on the DN.
| Field Summary | |
|---|---|
protected org.slf4j.Logger |
logger
Logger for this class. |
| Constructor Summary | |
|---|---|
AggregateDnResolver.AuthenticationHandler()
Default constructor. |
|
AggregateDnResolver.AuthenticationHandler(Map<String,AuthenticationHandler> handlers)
Creates a new aggregate authentication handler. |
|
| Method Summary | |
|---|---|
AuthenticationHandlerResponse |
authenticate(AuthenticationCriteria criteria)
Perform an ldap authentication. |
Map<String,AuthenticationHandler> |
getAuthenticationHandlers()
Returns the authentication handlers to aggregate over. |
void |
setAuthenticationHandlers(Map<String,AuthenticationHandler> handlers)
Sets the authentication handlers to aggregate over. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.slf4j.Logger logger
| Constructor Detail |
|---|
public AggregateDnResolver.AuthenticationHandler()
public AggregateDnResolver.AuthenticationHandler(Map<String,AuthenticationHandler> handlers)
handlers - authentication handlers| Method Detail |
|---|
public Map<String,AuthenticationHandler> getAuthenticationHandlers()
public void setAuthenticationHandlers(Map<String,AuthenticationHandler> handlers)
handlers - to set
public AuthenticationHandlerResponse authenticate(AuthenticationCriteria criteria)
throws LdapException
authenticate in interface AuthenticationHandlercriteria - to perform the authentication with
LdapException - if ldap operation fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||