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-24 00:10:53 +0200 (Mon, 24 May 2010) $
    Author:
    Middleware Services
    • Method Detail

      • resolve

        java.lang.String resolve​(java.lang.String user)
                          throws javax.naming.NamingException
        Attempts to find the LDAP DN for the supplied user.
        Parameters:
        user - String to 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.