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 boolean validate(LdapConnection connection)
connection is connected, authenticated, and
a lookup on the rootDSE returns a non-null response.validate in interface LdapConnectionValidatorconnection - The connection to validateCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.