public class TokenRenewerResponse extends Object
| Constructor and Description |
|---|
TokenRenewerResponse() |
| Modifier and Type | Method and Description |
|---|---|
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
|
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