Class UnboundLookupConnectionValidator

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

    public class UnboundLookupConnectionValidator
    extends Object
    implements org.apache.directory.ldap.client.api.LdapConnectionValidator
    UnboundConnectionValidator...
    • 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