Package org.apache.cxf.sts.token.renewer
Class TokenRenewerResponse
- java.lang.Object
-
- org.apache.cxf.sts.token.renewer.TokenRenewerResponse
-
public class TokenRenewerResponse extends Object
This class encapsulates the response from a TokenRenewer instance after renewing a token.
-
-
Constructor Summary
Constructors Constructor Description TokenRenewerResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TokenReferencegetAttachedReference()Get the attached TokenReferenceInstantgetCreated()Get the Instant that this Token was CreatedInstantgetExpires()Get the Instant that this Token expiresElementgetToken()Get the tokenStringgetTokenId()Get the token IdTokenReferencegetUnAttachedReference()Get the unattached TokenReferencevoidsetAttachedReference(TokenReference attachedReference)Set the attached TokenReferencevoidsetCreated(Instant created)Set the Instant that this Token was CreatedvoidsetExpires(Instant expires)Set the Instant that this Token expiresvoidsetToken(Element token)Set the tokenvoidsetTokenId(String tokenId)Set the token IdvoidsetUnattachedReference(TokenReference unattachedReference)Set the unattached TokenReference
-
-
-
Method Detail
-
setToken
public void setToken(Element token)
Set the token- Parameters:
token- the token to set
-
getToken
public Element getToken()
Get the token- Returns:
- the token to set
-
setTokenId
public void setTokenId(String tokenId)
Set the token Id- Parameters:
tokenId- the token Id
-
getTokenId
public String getTokenId()
Get the token Id- Returns:
- the token Id
-
setAttachedReference
public void setAttachedReference(TokenReference attachedReference)
Set the attached TokenReference- Parameters:
attachedReference- the attached TokenReference
-
getAttachedReference
public TokenReference getAttachedReference()
Get the attached TokenReference- Returns:
- the attached TokenReference
-
setUnattachedReference
public void setUnattachedReference(TokenReference unattachedReference)
Set the unattached TokenReference- Parameters:
unattachedReference- Set the unattached TokenReference
-
getUnAttachedReference
public TokenReference getUnAttachedReference()
Get the unattached TokenReference- Returns:
- the unattached TokenReference
-
getCreated
public Instant getCreated()
Get the Instant that this Token was Created- Returns:
- the Instant that this Token was Created
-
setCreated
public void setCreated(Instant created)
Set the Instant that this Token was Created- Parameters:
created- the Instant that this Token was Created
-
getExpires
public Instant getExpires()
Get the Instant that this Token expires- Returns:
- the Instant that this Token expires
-
setExpires
public void setExpires(Instant expires)
Set the Instant that this Token expires- Parameters:
expires- the Instant that this Token expires
-
-