org.csapi.jr.se.mm
Class UserInfo

java.lang.Object
  |
  +--org.csapi.jr.se.mm.UserInfo
All Implemented Interfaces:
java.io.Serializable

public final class UserInfo
extends java.lang.Object
implements java.io.Serializable

Used to reference the user name and password supplied by the user, if known by the network

See Also:
Serialized Form

Constructor Summary
UserInfo()
          Creates a new UserInfo instance.
UserInfo(java.lang.String _userName, java.lang.String _password)
          Creates a new UserInfo instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 java.lang.String getPassword()
          This method returns a password.
 java.lang.String getUserName()
          This method returns a userName.
 int hashCode()
          Returns a hashcode value for the object.
 void setPassword(java.lang.String password)
          This method sets a password.
 void setUserName(java.lang.String userName)
          This method sets a userName.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserInfo

public UserInfo()
Creates a new UserInfo instance.


UserInfo

public UserInfo(java.lang.String _userName,
                java.lang.String _password)
Creates a new UserInfo instance.

Parameters:
_userName - User name as provided in a PPP/CHAP message.
_password - Password as provided in a PPP/CHAP message.
Method Detail

getUserName

public java.lang.String getUserName()
This method returns a userName.

Returns:
a String value

getPassword

public java.lang.String getPassword()
This method returns a password.

Returns:
a String value

setUserName

public void setUserName(java.lang.String userName)
This method sets a userName.


setPassword

public void setPassword(java.lang.String password)
This method sets a password.


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object