Interface LdapConnectionValidator
- All Known Implementing Classes:
DefaultLdapConnectionValidator, LookupLdapConnectionValidator
public interface LdapConnectionValidator
An LdapConnection validator intended to be used by a GenericObjectPool to
determine whether or not a conneciton is still usable.
- Author:
- Apache Directory Project
-
Method Summary
Modifier and TypeMethodDescriptionbooleanvalidate(LdapConnection ldapConnection) Return true if the connection is still valid.
-
Method Details
-
validate
Return true if the connection is still valid. This means that if this connections is handed out to a user, it should allow for successful communication with the server.- Parameters:
ldapConnection- The connection to test- Returns:
- True, if the connection is still valid
-