edu.vt.middleware.ldap.auth
Interface DnResolver

All Known Implementing Classes:
ConstructDnResolver, NoopDnResolver, SearchDnResolver

public interface DnResolver

DnResolver provides an interface for finding LDAP DNs.

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

Method Summary
 void close()
          This will close any resources associated with this resolver.
 AuthenticatorConfig getAuthenticatorConfig()
          Returns the authenticator config.
 String resolve(String user)
          Attempts to find the LDAP DN for the supplied user.
 void setAuthenticatorConfig(AuthenticatorConfig config)
          Sets the authenticator config.
 

Method Detail

resolve

String resolve(String user)
               throws NamingException
Attempts to find the LDAP DN for the supplied user.

Parameters:
user - String to find dn for
Returns:
String - user's dn
Throws:
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.



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