Package edu.vt.middleware.ldap.auth
Class NoopDnResolver
- java.lang.Object
-
- edu.vt.middleware.ldap.auth.NoopDnResolver
-
- All Implemented Interfaces:
DnResolver,java.io.Serializable
public class NoopDnResolver extends java.lang.Object implements DnResolver, java.io.Serializable
NoopDnResolverreturns the user as the LDAP DN.- Version:
- $Revision: 1330 $ $Date: 2010-05-24 00:10:53 +0200 (Mon, 24 May 2010) $
- Author:
- Middleware Services
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoopDnResolver()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()This will close any resources associated with this resolver.AuthenticatorConfiggetAuthenticatorConfig()This method is not implemented.java.lang.Stringresolve(java.lang.String user)Returns the user as the LDAP DN.voidsetAuthenticatorConfig(AuthenticatorConfig authConfig)This method is not implemented.
-
-
-
Method Detail
-
setAuthenticatorConfig
public void setAuthenticatorConfig(AuthenticatorConfig authConfig)
This method is not implemented.- Specified by:
setAuthenticatorConfigin interfaceDnResolver- Parameters:
authConfig-AuthenticatorConfig
-
getAuthenticatorConfig
public AuthenticatorConfig getAuthenticatorConfig()
This method is not implemented.- Specified by:
getAuthenticatorConfigin interfaceDnResolver- Returns:
- null
-
resolve
public java.lang.String resolve(java.lang.String user) throws javax.naming.NamingExceptionReturns the user as the LDAP DN.- Specified by:
resolvein interfaceDnResolver- Parameters:
user-Stringto find dn for- Returns:
String- user's dn- Throws:
javax.naming.NamingException- if the LDAP search fails
-
close
public void close()
This will close any resources associated with this resolver.- Specified by:
closein interfaceDnResolver
-
-