edu.vt.middleware.ldap.auth.handler
Class AuthenticationCriteria

java.lang.Object
  extended by edu.vt.middleware.ldap.auth.handler.AuthenticationCriteria

public class AuthenticationCriteria
extends Object

AuthenticationCriteria contains the attributes used to perform authentications.

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

Constructor Summary
AuthenticationCriteria()
          Default constructor.
AuthenticationCriteria(String s)
          Creates a new authentication criteria with the supplied dn.
 
Method Summary
 Object getCredential()
          Gets the credential.
 String getDn()
          Gets the dn.
 void setCredential(Object o)
          Sets the credential.
 void setDn(String s)
          Sets the dn.
 String toString()
          This returns a string representation of this search criteria.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthenticationCriteria

public AuthenticationCriteria()
Default constructor.


AuthenticationCriteria

public AuthenticationCriteria(String s)
Creates a new authentication criteria with the supplied dn.

Parameters:
s - to set dn
Method Detail

getDn

public String getDn()
Gets the dn.

Returns:
dn

setDn

public void setDn(String s)
Sets the dn.

Parameters:
s - to set dn

getCredential

public Object getCredential()
Gets the credential.

Returns:
credential

setCredential

public void setCredential(Object o)
Sets the credential.

Parameters:
o - to set credential

toString

public String toString()
This returns a string representation of this search criteria.

Overrides:
toString in class Object
Returns:
String


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