Class NoOpDnResolver

  • All Implemented Interfaces:
    DnResolver

    public class NoOpDnResolver
    extends java.lang.Object
    implements DnResolver
    Returns a DN that is the user identifier.
    Author:
    Middleware Services
    • Constructor Summary

      Constructors 
      Constructor Description
      NoOpDnResolver()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String resolve​(User user)
      Returns the user as the DN.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NoOpDnResolver

        public NoOpDnResolver()
    • Method Detail

      • resolve

        public java.lang.String resolve​(User user)
                                 throws LdapException
        Returns the user as the DN.
        Specified by:
        resolve in interface DnResolver
        Parameters:
        user - to set as DN
        Returns:
        user as DN
        Throws:
        LdapException - never
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object