|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.websphere.objectgrid.security.plugins.builtins.WSTokenCredential
public final class WSTokenCredential
This class represents a WebSphere Application Server security token credential. An instance of this class contains byte arrays which represent the security tokens used in the Application server. Specifically, this credential contains two tokens, a WebSphere specific authentication token and a WebSphere specific opaque authorization token.
WSTokenCredentialGenerator.getCredential()
,
Serialized FormConstructor Summary | |
---|---|
WSTokenCredential(byte[] at,
byte[] oat)
Creates a new WebSphere token credential with the specified security tokens. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Checks two WSTokenCredential objects for equality. |
byte[] |
getAT()
Gets the authetication token for this credential. |
byte[] |
getOAT()
Gets the opaque authorization token for this credential. |
int |
hashCode()
Returns the hashcode of the WSTokenCredential object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WSTokenCredential(byte[] at, byte[] oat)
at
- the authentication tokenoat
- the opaque authorization tokenMethod Detail |
---|
public byte[] getAT()
public byte[] getOAT()
public boolean equals(Object obj)
Two WSTokenCredential objects are equal if and only if their authentication tokens and opaque authorization tokens are equal.
equals
in interface Credential
equals
in class Object
obj
- the object we are testing for equality with this object.
true
if both WSTokenCredential objects are equivalent.Credential.equals(Object)
public int hashCode()
hashCode
in interface Credential
hashCode
in class Object
Credential.hashCode()
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |