Class AbstractEntryHandler<T>

    • Field Detail

      • logger

        protected final Logger logger
        Log for this class.
    • Constructor Detail

      • AbstractEntryHandler

        public AbstractEntryHandler()
    • Method Detail

      • handleEntry

        public void handleEntry​(LdapEntry entry)
        Handle the entry.
        Parameters:
        entry - to handle
      • handleDn

        protected String handleDn​(LdapEntry entry)
        Handle the dn of a search entry.
        Parameters:
        entry - search entry to extract the dn from
        Returns:
        handled dn
      • handleAttributes

        protected void handleAttributes​(LdapEntry entry)
        Handle the attributes of a search entry.
        Parameters:
        entry - search entry to extract the attributes from
      • handleAttribute

        protected void handleAttribute​(LdapAttribute attr)
        Handle a single attribute.
        Parameters:
        attr - to handle
      • handleAttributeName

        protected String handleAttributeName​(String name)
        Returns the supplied attribute name unaltered.
        Parameters:
        name - to handle
        Returns:
        handled name
      • handleAttributeValue

        protected String handleAttributeValue​(String value)
        Returns the supplied attribute value unaltered.
        Parameters:
        value - to handle
        Returns:
        handled value
      • handleAttributeValue

        protected byte[] handleAttributeValue​(byte[] value)
        Returns the supplied attribute value unaltered.
        Parameters:
        value - to handle
        Returns:
        handled value
      • hashCode

        public abstract int hashCode()
        Overrides:
        hashCode in class Object