IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1

com.ibm.websphere.objectgrid.security.plugins.builtins
UserPasswordCredential

java.lang.Object
  |
  +--com.ibm.websphere.objectgrid.security.plugins.builtins.UserPasswordCredential
All Implemented Interfaces
Credential


This class represents a credential containing a user ID and a password.


Constructor Summary
UserPasswordCredential(java.lang.String, java.lang.String)
           Constructor with user name and password.


Method Summary
public  StringgetUserName()
          
public  voidsetUserName(java.lang.String)
          
public  StringgetPassword()
          
public  voidsetPassword(java.lang.String)
          
public  booleanequals(java.lang.Object)
           Two UserPasswordCredential objects are equal if and only if their user names and passwords are equal.
public  inthashCode()
          

Inherited Methods

Methods inherited from java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

UserPasswordCredential

public UserPasswordCredential( String userName,String password)
Constructor with user name and password.
Parameters:


Method Detail

getUserName

public String getUserName()


Returns:
     Returns the userName.


setUserName

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


getPassword

public String getPassword()


Returns:
     Returns the password.


setPassword

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


equals

public boolean equals(Object o)
Two UserPasswordCredential objects are equal if and only if their user names and passwords are equal.
See Also:
    equals(java.lang.Object)
Parameters:


hashCode

public int hashCode()

See Also:
    hashCode()


IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1