public class NoopDnResolver extends Object implements DnResolver, Serializable
NoopDnResolver returns the user as the LDAP DN.| Constructor and Description |
|---|
NoopDnResolver()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This will close any resources associated with this resolver.
|
AuthenticatorConfig |
getAuthenticatorConfig()
This method is not implemented.
|
String |
resolve(String user)
Returns the user as the LDAP DN.
|
void |
setAuthenticatorConfig(AuthenticatorConfig authConfig)
This method is not implemented.
|
public void setAuthenticatorConfig(AuthenticatorConfig authConfig)
setAuthenticatorConfig in interface DnResolverauthConfig - AuthenticatorConfigpublic AuthenticatorConfig getAuthenticatorConfig()
getAuthenticatorConfig in interface DnResolverpublic String resolve(String user) throws NamingException
resolve in interface DnResolveruser - String to find dn forString - user's dnNamingException - if the LDAP search failspublic void close()
close in interface DnResolverCopyright © 2014. All rights reserved.