edu.vt.middleware.ldap.pool
Class ConnectLdapValidator

java.lang.Object
  extended by edu.vt.middleware.ldap.pool.ConnectLdapValidator
All Implemented Interfaces:
LdapValidator<Ldap>

public class ConnectLdapValidator
extends Object
implements LdapValidator<Ldap>

ConnectLdapValidator validates an ldap connection is healthy by testing it is connected.

Version:
$Revision: 1330 $ $Date: 2010-05-23 18:10:53 -0400 (Sun, 23 May 2010) $
Author:
Middleware Services

Field Summary
protected  org.apache.commons.logging.Log logger
          Log for this class.
 
Constructor Summary
ConnectLdapValidator()
           
 
Method Summary
 boolean validate(Ldap l)
          Validate the supplied ldap object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger
Log for this class.

Constructor Detail

ConnectLdapValidator

public ConnectLdapValidator()
Method Detail

validate

public boolean validate(Ldap l)
Validate the supplied ldap object.

Specified by:
validate in interface LdapValidator<Ldap>
Parameters:
l - ldap object
Returns:
whether validation was successful


Copyright © 2003-2010 Virginia Tech. All Rights Reserved.