org.jasig.cas.authentication.principal
Class UsernamePasswordCredentials

java.lang.Object
  extended by org.jasig.cas.authentication.principal.UsernamePasswordCredentials
All Implemented Interfaces:
Serializable, Credentials
Direct Known Subclasses:
RememberMeUsernamePasswordCredentials

public class UsernamePasswordCredentials
extends Object
implements Credentials

UsernamePasswordCredentials respresents the username and password that a user may provide in order to prove the authenticity of who they say they are.

Since:
3.0

This is a published and supported CAS Server 3 API.

Version:
$Revision: 1.2 $ $Date: 2007/01/22 20:35:26 $
Author:
Scott Battaglia
See Also:
Serialized Form

Constructor Summary
UsernamePasswordCredentials()
           
 
Method Summary
 boolean equals(Object o)
           
 String getPassword()
           
 String getUsername()
           
 int hashCode()
           
 void setPassword(String password)
           
 void setUsername(String userName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UsernamePasswordCredentials

public UsernamePasswordCredentials()
Method Detail

getPassword

public final String getPassword()
Returns:
Returns the password.

setPassword

public final void setPassword(String password)
Parameters:
password - The password to set.

getUsername

public final String getUsername()
Returns:
Returns the userName.

setUsername

public final void setUsername(String userName)
Parameters:
userName - The userName to set.

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2004-2013 Jasig. All Rights Reserved.