IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1

com.ibm.websphere.objectgrid.security.plugins
Credential

All Implemented Interfaces
Serializable


This interface represents a credential used by the ObjectGrid client. This credential will be sent to the ObjectGrid server and be used for authentication. It should be serializable. A credential has to implement #equals(Object) and #hashCode() methods. Two Credential objects are considered equal if and only if they represent the same identity and security information. For example, if the credential contains a user ID and password. Two credentials are equal if and only if both their user IDs and passwords are equal.


Method Summary
public  booleanequals(java.lang.Object)
           Equals methods. Two Credential objects are considered equal if and only if.
public  inthashCode()
          

Method Detail

equals

public boolean equals(Object o)
Equals methods. Two Credential objects are considered equal if and only if they represent the same identity and security information.
Parameters:


Returns:
    


hashCode

public int hashCode()
Returns the hashcode of the credential value


Returns:
    


IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1