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 DnResolver
authConfig
- AuthenticatorConfig
public AuthenticatorConfig getAuthenticatorConfig()
getAuthenticatorConfig
in interface DnResolver
public String resolve(String user) throws NamingException
resolve
in interface DnResolver
user
- String
to find dn forString
- user's dnNamingException
- if the LDAP search failspublic void close()
close
in interface DnResolver
Copyright © 2018. All rights reserved.