public static class AggregateDnResolver.EntryResolver extends Object implements EntryResolver
AggregateDnResolver
to resolve an entry. In particular, the resolved DN is
expected to be of the form: label:DN where the label indicates the entry resolver to use. This class only invokes
one entry resolver that matches the label found on the DN.Modifier and Type | Field and Description |
---|---|
private Map<String,EntryResolver> |
entryResolvers
Labeled entry resolvers.
|
protected Logger |
logger
Logger for this class.
|
Constructor and Description |
---|
EntryResolver()
Default constructor.
|
EntryResolver(Map<String,EntryResolver> resolvers)
Creates a new aggregate entry resolver.
|
Modifier and Type | Method and Description |
---|---|
Map<String,EntryResolver> |
getEntryResolvers()
Returns the entry resolvers to aggregate over.
|
LdapEntry |
resolve(AuthenticationCriteria criteria,
AuthenticationHandlerResponse response)
Attempts to find the LDAP entry for the supplied authentication criteria and authentication handler response.
|
void |
setEntryResolvers(Map<String,EntryResolver> resolvers)
Sets the entry resolvers to aggregate over.
|
protected final Logger logger
private Map<String,EntryResolver> entryResolvers
public EntryResolver()
public EntryResolver(Map<String,EntryResolver> resolvers)
resolvers
- entry resolverspublic Map<String,EntryResolver> getEntryResolvers()
public void setEntryResolvers(Map<String,EntryResolver> resolvers)
resolvers
- to setpublic LdapEntry resolve(AuthenticationCriteria criteria, AuthenticationHandlerResponse response) throws LdapException
EntryResolver
resolve
in interface EntryResolver
criteria
- authentication criteria used to perform the authenticationresponse
- produced by the authentication handlerLdapException
- if an LDAP error occursCopyright © 2003-2019 Virginia Tech. All Rights Reserved.