edu.vt.middleware.ldap.auth
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.
|
java.lang.String |
resolve(java.lang.String user)
Attempts to find the LDAP DN for the supplied user.
|
void |
setAuthenticatorConfig(AuthenticatorConfig config)
Sets the authenticator config.
|
java.lang.String resolve(java.lang.String user)
throws javax.naming.NamingException
user - String to find dn forString - user's dnjavax.naming.NamingException - if an LDAP error occursAuthenticatorConfig getAuthenticatorConfig()
void setAuthenticatorConfig(AuthenticatorConfig config)
config - authenticator configurationvoid close()
Copyright © 2014. All Rights Reserved.