Class AuthenticationCriteria
- java.lang.Object
-
- edu.vt.middleware.ldap.auth.handler.AuthenticationCriteria
-
public class AuthenticationCriteria extends java.lang.ObjectAuthenticationCriteriacontains the attributes used to perform authentications.- Version:
- $Revision: 1330 $ $Date: 2010-05-24 00:10:53 +0200 (Mon, 24 May 2010) $
- Author:
- Middleware Services
-
-
Constructor Summary
Constructors Constructor Description AuthenticationCriteria()Default constructor.AuthenticationCriteria(java.lang.String s)Creates a new authentication criteria with the supplied dn.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetCredential()Gets the credential.java.lang.StringgetDn()Gets the dn.voidsetCredential(java.lang.Object o)Sets the credential.voidsetDn(java.lang.String s)Sets the dn.java.lang.StringtoString()This returns a string representation of this search criteria.
-
-
-
Method Detail
-
getDn
public java.lang.String getDn()
Gets the dn.- Returns:
- dn
-
setDn
public void setDn(java.lang.String s)
Sets the dn.- Parameters:
s- to set dn
-
getCredential
public java.lang.Object getCredential()
Gets the credential.- Returns:
- credential
-
setCredential
public void setCredential(java.lang.Object o)
Sets the credential.- Parameters:
o- to set credential
-
toString
public java.lang.String toString()
This returns a string representation of this search criteria.- Overrides:
toStringin classjava.lang.Object- Returns:
String
-
-