edu.vt.middleware.ldap.auth
public class NoopDnResolver extends java.lang.Object implements DnResolver, java.io.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.
|
java.lang.String |
resolve(java.lang.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 java.lang.String resolve(java.lang.String user)
throws javax.naming.NamingException
resolve in interface DnResolveruser - String to find dn forString - user's dnjavax.naming.NamingException - if the LDAP search failspublic void close()
close in interface DnResolverCopyright © 2014. All Rights Reserved.