Package org.apache.cxf.sts.token.renewer
Class TokenRenewerResponse
java.lang.Object
org.apache.cxf.sts.token.renewer.TokenRenewerResponse
This class encapsulates the response from a TokenRenewer instance after renewing a token.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the attached TokenReferenceGet the Instant that this Token was CreatedGet the Instant that this Token expiresgetToken()Get the tokenGet the token IdGet 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 expiresvoidSet the tokenvoidsetTokenId(String tokenId) Set the token IdvoidsetUnattachedReference(TokenReference unattachedReference) Set the unattached TokenReference
-
Constructor Details
-
TokenRenewerResponse
public TokenRenewerResponse()
-
-
Method Details
-
setToken
Set the token- Parameters:
token- the token to set
-
getToken
Get the token- Returns:
- the token to set
-
setTokenId
Set the token Id- Parameters:
tokenId- the token Id
-
getTokenId
Get the token Id- Returns:
- the token Id
-
setAttachedReference
Set the attached TokenReference- Parameters:
attachedReference- the attached TokenReference
-
getAttachedReference
Get the attached TokenReference- Returns:
- the attached TokenReference
-
setUnattachedReference
Set the unattached TokenReference- Parameters:
unattachedReference- Set the unattached TokenReference
-
getUnAttachedReference
Get the unattached TokenReference- Returns:
- the unattached TokenReference
-
getCreated
Get the Instant that this Token was Created- Returns:
- the Instant that this Token was Created
-
setCreated
Set the Instant that this Token was Created- Parameters:
created- the Instant that this Token was Created
-
getExpires
Get the Instant that this Token expires- Returns:
- the Instant that this Token expires
-
setExpires
Set the Instant that this Token expires- Parameters:
expires- the Instant that this Token expires
-