public final class LookupLdapConnectionValidator extends Object implements LdapConnectionValidator
LdapConnectionValidator
that attempts a simple
lookup on the rootDSE.Constructor and Description |
---|
LookupLdapConnectionValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
validate(LdapConnection connection)
Returns true if
connection is connected, authenticated, and
a lookup on the rootDSE returns a non-null response. |
public LookupLdapConnectionValidator()
public boolean validate(LdapConnection connection)
connection
is connected, authenticated, and
a lookup on the rootDSE returns a non-null response.validate
in interface LdapConnectionValidator
connection
- The connection to validateCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.