Class 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 Detail

      • NoopDnResolver

        public NoopDnResolver()
        Default constructor.
    • Method Detail

      • 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 interface DnResolver
        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 interface DnResolver