public class TokenProviderResponse extends Object
Constructor and Description |
---|
TokenProviderResponse() |
Modifier and Type | Method and Description |
---|---|
TokenReference |
getAttachedReference()
Get the attached TokenReference
|
Date |
getCreated()
Get the Date that this Token was Created
|
byte[] |
getEntropy()
Get the entropy associated with the token.
|
Date |
getExpires()
Get the Date that this Token expires
|
long |
getKeySize()
Get the KeySize that the TokenProvider set
|
Element |
getToken()
Get the token
|
String |
getTokenId()
Get the token Id
|
TokenReference |
getUnAttachedReference()
Get the unattached TokenReference
|
boolean |
isComputedKey()
Return true if the entropy represents a Computed Key.
|
void |
setAttachedReference(TokenReference attachedReference)
Set the attached TokenReference
|
void |
setComputedKey(boolean computedKey)
Set whether the entropy represents a Computed Key or not
|
void |
setCreated(Date created)
Set the Date that this Token was Created
|
void |
setEntropy(byte[] entropy)
Set the entropy associated with the token.
|
void |
setExpires(Date expires)
Set the Date that this Token expires
|
void |
setKeySize(long keySize)
Set the KeySize
|
void |
setToken(Element token)
Set the token
|
void |
setTokenId(String tokenId)
Set the token Id
|
void |
setUnattachedReference(TokenReference unattachedReference)
Set the unattached TokenReference
|
public boolean isComputedKey()
public void setComputedKey(boolean computedKey)
public long getKeySize()
public void setKeySize(long keySize)
public void setToken(Element token)
token
- the token to setpublic Element getToken()
public void setTokenId(String tokenId)
tokenId
- the token Idpublic String getTokenId()
public void setEntropy(byte[] entropy)
entropy
- the entropy associated with the token.public byte[] getEntropy()
public void setAttachedReference(TokenReference attachedReference)
attachtedReference
- the attached TokenReferencepublic TokenReference getAttachedReference()
public void setUnattachedReference(TokenReference unattachedReference)
unAttachedReference
- Set the unattached TokenReferencepublic TokenReference getUnAttachedReference()
public Date getCreated()
public void setCreated(Date created)
created
- the Date that this Token was Createdpublic Date getExpires()
public void setExpires(Date expires)
expires
- the Date that this Token expiresApache CXF