Class UnboundLookupConnectionValidator

  • All Implemented Interfaces:
    org.apache.directory.ldap.client.api.LdapConnectionValidator

    public class UnboundLookupConnectionValidator
    extends java.lang.Object
    implements org.apache.directory.ldap.client.api.LdapConnectionValidator
    UnboundConnectionValidator...
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean validate​(org.apache.directory.ldap.client.api.LdapConnection connection)
      Returns true if connection is connected, authenticated, and a lookup on the rootDSE returns a non-null response.
      • Methods inherited from class java.lang.Object

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

      • UnboundLookupConnectionValidator

        public UnboundLookupConnectionValidator()
    • Method Detail

      • validate

        public boolean validate​(org.apache.directory.ldap.client.api.LdapConnection connection)
        Returns true if connection is connected, authenticated, and a lookup on the rootDSE returns a non-null response.
        Specified by:
        validate in interface org.apache.directory.ldap.client.api.LdapConnectionValidator
        Parameters:
        connection - The connection to validate
        Returns:
        True, if the connection is still valid