edu.vt.middleware.ldap.auth
Class NoopDnResolver

java.lang.Object
  extended by edu.vt.middleware.ldap.auth.NoopDnResolver
All Implemented Interfaces:
DnResolver, Serializable

public class NoopDnResolver
extends Object
implements DnResolver, Serializable

NoopDnResolver returns the user as the LDAP DN.

Version:
$Revision: 1330 $ $Date: 2010-05-23 18:10:53 -0400 (Sun, 23 May 2010) $
Author:
Middleware Services
See Also:
Serialized Form

Constructor Summary
NoopDnResolver()
          Default constructor.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoopDnResolver

public NoopDnResolver()
Default constructor.

Method Detail

setAuthenticatorConfig

public void setAuthenticatorConfig(AuthenticatorConfig authConfig)
This method is not implemented.

Specified by:
setAuthenticatorConfig in interface DnResolver
Parameters:
authConfig - AuthenticatorConfig

getAuthenticatorConfig

public AuthenticatorConfig getAuthenticatorConfig()
This method is not implemented.

Specified by:
getAuthenticatorConfig in interface DnResolver
Returns:
null

resolve

public String resolve(String user)
               throws NamingException
Returns the user as the LDAP DN.

Specified by:
resolve in interface DnResolver
Parameters:
user - String to find dn for
Returns:
String - user's dn
Throws:
NamingException - if the LDAP search fails

close

public void close()
This will close any resources associated with this resolver.

Specified by:
close in interface DnResolver


Copyright © 2003-2010 Virginia Tech. All Rights Reserved.