|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.vt.middleware.ldap.pool.CompareLdapValidator
public class CompareLdapValidator
CompareLdapValidator validates an ldap connection is healthy by
performing a compare operation.
| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
logger
Log for this class. |
| Constructor Summary | |
|---|---|
CompareLdapValidator()
Default constructor. |
|
CompareLdapValidator(String dn,
SearchFilter filter)
Creates a new CompareLdapValidator with the supplied compare
dn and filter. |
|
| Method Summary | |
|---|---|
String |
getValidateDn()
Returns the validate DN. |
SearchFilter |
getValidateFilter()
Returns the validate filter. |
void |
setValidateDn(String s)
Sets the validate DN. |
void |
setValidateFilter(SearchFilter filter)
Sets the validate filter. |
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 |
|---|
protected final org.apache.commons.logging.Log logger
| Constructor Detail |
|---|
public CompareLdapValidator()
public CompareLdapValidator(String dn,
SearchFilter filter)
CompareLdapValidator with the supplied compare
dn and filter.
dn - to use for comparesfilter - to use for compares| Method Detail |
|---|
public String getValidateDn()
public SearchFilter getValidateFilter()
public void setValidateDn(String s)
s - DNpublic void setValidateFilter(SearchFilter filter)
filter - to compare withpublic boolean validate(Ldap l)
validate in interface LdapValidator<Ldap>l - ldap object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||