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 Summary
Constructors Constructor Description UnboundLookupConnectionValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanvalidate(org.apache.directory.ldap.client.api.LdapConnection connection)Returns true ifconnectionis connected, authenticated, and a lookup on the rootDSE returns a non-null response.
-
-
-
Method Detail
-
validate
public boolean validate(org.apache.directory.ldap.client.api.LdapConnection connection)
Returns true ifconnectionis connected, authenticated, and a lookup on the rootDSE returns a non-null response.- Specified by:
validatein interfaceorg.apache.directory.ldap.client.api.LdapConnectionValidator- Parameters:
connection- The connection to validate- Returns:
- True, if the connection is still valid
-
-