ucar.unidata.util
Class UserInfo

java.lang.Object
  extended by ucar.unidata.util.UserInfo

public class UserInfo
extends Object

Version:
$Id: PasswordManager.java,v 1.3 2007/05/09 21:59:26 dmurray Exp $
Author:
IDV Development Team

Constructor Summary
UserInfo()
           
UserInfo(String realm, String userId, String password)
           
 
Method Summary
 boolean equals(Object o)
           
 String getPassword()
           
 String getRealm()
          Get the Realm property.
 byte[] getTmp()
          Method for encoding to xml the password.
 String getUserId()
          Get the UserId property.
 int hashCode()
           
 void setRealm(String value)
          Set the Realm property.
 void setTmp(byte[] value)
           
 void setUserId(String value)
          Set the UserId property.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserInfo

public UserInfo()

UserInfo

public UserInfo(String realm,
                String userId,
                String password)
Method Detail

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

getPassword

public String getPassword()

setRealm

public void setRealm(String value)
Set the Realm property.

Parameters:
value - The new value for Realm

getRealm

public String getRealm()
Get the Realm property.

Returns:
The Realm

setUserId

public void setUserId(String value)
Set the UserId property.

Parameters:
value - The new value for UserId

getUserId

public String getUserId()
Get the UserId property.

Returns:
The UserId

setTmp

public void setTmp(byte[] value)

getTmp

public byte[] getTmp()
Method for encoding to xml the password. This simply obfuscates what is saved to disk

Returns:
The Password