public class AccessToken
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
private java.lang.String | 
accessKey
The unique identifier of the principal (account) in security domain. 
 | 
private java.lang.String | 
realm
The name of security realm where to search for accessKey definition. 
 | 
private java.lang.String | 
secretKey
The private secret key (credentials) for the principal. 
 | 
private byte[] | 
signature
The hash signature for the token to detect unauthorized changes of data in serialized token. 
 | 
private long | 
timestamp
The timestamp (creation time) for this token. 
 | 
| Constructor and Description | 
|---|
AccessToken()
Creates a new instance of AccessToken. 
 | 
AccessToken(java.lang.String realm,
Creates a new instance of AccessToken. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(java.lang.Object obj)
TODO Javadoc for method equals. 
 | 
java.lang.String | 
getAccessKey()
Getter for property accessKey. 
 | 
java.lang.String | 
getRealm()
Getter for property realm. 
 | 
java.lang.String | 
getSecretKey()
Getter for property secretKey. 
 | 
byte[] | 
getSignature()
Getter for property signature. 
 | 
long | 
getTimestamp()
Getter for property timestamp. 
 | 
int | 
hashCode()
TODO Javadoc for method hashCode. 
 | 
void | 
setAccessKey(java.lang.String accessKey)
Setter for property accessKey. 
 | 
protected void | 
setRealm(java.lang.String realm)
Setter for property realm. 
 | 
void | 
setSecretKey(java.lang.String secretKey)
Setter for property secretKey. 
 | 
void | 
setSignature(byte[] signature)
Setter for property signature. 
 | 
void | 
setTimestamp(long timestamp)
Setter for property timestamp. 
 | 
java.lang.String | 
toString()
TODO Javadoc for method toString. 
 | 
realm - The security realm name for accessKeyaccessKey - The identifier of principal.secretKey - The credentials to authentikace principal.AccessToken.accessKeyaccessKey - the accessKey to setAccessToken.accessKeyAccessToken.secretKeysecretKey - the secretKey to setAccessToken.secretKeyAccessToken.realmrealm - the realm to setAccessToken.realmAccessToken.signaturesignature - the signature to setAccessToken.signatureAccessToken.timestamptimestamp - the timestamp to setAccessToken.timestamphashCode in class java.lang.ObjectObject.hashCode()equals in class java.lang.Objectobj - Object.equals(java.lang.Object)toString in class java.lang.ObjectObject.toString()