Package edu.vt.middleware.ldap.auth
Interface DnResolver
-
- All Known Implementing Classes:
ConstructDnResolver,NoopDnResolver,SearchDnResolver
public interface DnResolverDnResolverprovides an interface for finding LDAP DNs.- Version:
- $Revision: 1330 $ $Date: 2010-05-24 00:10:53 +0200 (Mon, 24 May 2010) $
- Author:
- Middleware Services
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()This will close any resources associated with this resolver.AuthenticatorConfiggetAuthenticatorConfig()Returns the authenticator config.java.lang.Stringresolve(java.lang.String user)Attempts to find the LDAP DN for the supplied user.voidsetAuthenticatorConfig(AuthenticatorConfig config)Sets the authenticator config.
-
-
-
Method Detail
-
resolve
java.lang.String resolve(java.lang.String user) throws javax.naming.NamingExceptionAttempts to find the LDAP DN for the supplied user.- Parameters:
user-Stringto find dn for- Returns:
String- user's dn- Throws:
javax.naming.NamingException- if an LDAP error occurs
-
getAuthenticatorConfig
AuthenticatorConfig getAuthenticatorConfig()
Returns the authenticator config.- Returns:
- authenticator configuration
-
setAuthenticatorConfig
void setAuthenticatorConfig(AuthenticatorConfig config)
Sets the authenticator config.- Parameters:
config- authenticator configuration
-
close
void close()
This will close any resources associated with this resolver.
-
-