|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.sts.token.provider.TokenProviderResponse
public class TokenProviderResponse
This class encapsulates the response from a TokenProvider instance after creating a token.
Constructor Summary | |
---|---|
TokenProviderResponse()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TokenProviderResponse()
Method Detail |
---|
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 expires
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |