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
NoopDnResolver
returns 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 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.
-
-
-
Method Detail
-
setAuthenticatorConfig
public void setAuthenticatorConfig(AuthenticatorConfig authConfig)
This method is not implemented.- Specified by:
setAuthenticatorConfig
in interfaceDnResolver
- Parameters:
authConfig
-AuthenticatorConfig
-
getAuthenticatorConfig
public AuthenticatorConfig getAuthenticatorConfig()
This method is not implemented.- Specified by:
getAuthenticatorConfig
in interfaceDnResolver
- Returns:
- null
-
resolve
public java.lang.String resolve(java.lang.String user) throws javax.naming.NamingException
Returns the user as the LDAP DN.- Specified by:
resolve
in interfaceDnResolver
- Parameters:
user
-String
to 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:
close
in interfaceDnResolver
-
-