Class UnboundLookupConnectionValidator

java.lang.Object
org.apache.jackrabbit.oak.security.authentication.ldap.impl.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 Details

    • UnboundLookupConnectionValidator

      public UnboundLookupConnectionValidator()
  • Method Details

    • 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