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 DnResolver
authConfig
- AuthenticatorConfig
public AuthenticatorConfig getAuthenticatorConfig()
getAuthenticatorConfig
in interface DnResolver
public java.lang.String resolve(java.lang.String user) throws javax.naming.NamingException
resolve
in interface DnResolver
user
- String
to find dn forString
- user's dnjavax.naming.NamingException
- if the LDAP search failspublic void close()
close
in interface DnResolver
Copyright © 2014. All Rights Reserved.