Class UserInfo

java.lang.Object
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 Details

    • UserInfo

      public UserInfo()
    • UserInfo

      public UserInfo(String realm, String userId, String password)
  • Method Details

    • 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