public interface DnResolver
DnResolver provides an interface for finding LDAP DNs.| Modifier and Type | Method and Description |
|---|---|
void |
close()
This will close any resources associated with this resolver.
|
AuthenticatorConfig |
getAuthenticatorConfig()
Returns the authenticator config.
|
String |
resolve(String user)
Attempts to find the LDAP DN for the supplied user.
|
void |
setAuthenticatorConfig(AuthenticatorConfig config)
Sets the authenticator config.
|
String resolve(String user) throws NamingException
user - String to find dn forString - user's dnNamingException - if an LDAP error occursAuthenticatorConfig getAuthenticatorConfig()
void setAuthenticatorConfig(AuthenticatorConfig config)
config - authenticator configurationvoid close()
Copyright © 2014. All rights reserved.