|
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.renewer.TokenRenewerResponse
public class TokenRenewerResponse
This class encapsulates the response from a TokenRenewer instance after renewing a token.
Constructor Summary | |
---|---|
TokenRenewerResponse()
|
Method Summary | |
---|---|
TokenReference |
getAttachedReference()
Get the attached TokenReference |
Date |
getCreated()
Get the Date that this Token was Created |
Date |
getExpires()
Get the Date that this Token expires |
long |
getLifetime()
Deprecated. use getCreated/getExpires instead |
Element |
getToken()
Get the token |
String |
getTokenId()
Get the token Id |
TokenReference |
getUnAttachedReference()
Get the unattached TokenReference |
void |
setAttachedReference(TokenReference attachedReference)
Set the attached TokenReference |
void |
setCreated(Date created)
Set the Date that this Token was Created |
void |
setExpires(Date expires)
Set the Date that this Token expires |
void |
setLifetime(long lifetime)
Deprecated. use setCreated/setExpires instead |
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 TokenRenewerResponse()
Method Detail |
---|
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 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 expirespublic void setLifetime(long lifetime)
lifetime
- the lifetime of the Token to be returned in secondspublic long getLifetime()
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |