Package org.apache.cxf.sts.token.renewer
Interface TokenRenewer
- All Known Implementing Classes:
SAMLTokenRenewer
public interface TokenRenewer
An interface that can renew a security token.
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanHandleToken(ReceivedToken renewTarget) Return true if this TokenRenewer implementation is able to renew a token.booleancanHandleToken(ReceivedToken renewTarget, String realm) Return true if this TokenRenewer implementation is able to renew a token in the given realm.renewToken(TokenRenewerParameters tokenParameters) Renew a token given a TokenRenewerParametersvoidsetAllowRenewalAfterExpiry(boolean allowRenewalAfterExpiry) boolean for enabling/disabling renewal after expiry.voidsetVerifyProofOfPossession(boolean verifyProofOfPossession) boolean for enabling/disabling verification of proof of possession.
-
Method Details
-
setVerifyProofOfPossession
void setVerifyProofOfPossession(boolean verifyProofOfPossession) boolean for enabling/disabling verification of proof of possession. -
setAllowRenewalAfterExpiry
void setAllowRenewalAfterExpiry(boolean allowRenewalAfterExpiry) boolean for enabling/disabling renewal after expiry. -
canHandleToken
Return true if this TokenRenewer implementation is able to renew a token. -
canHandleToken
Return true if this TokenRenewer implementation is able to renew a token in the given realm. -
renewToken
Renew a token given a TokenRenewerParameters
-