Package org.apache.cxf.sts.token.renewer
Interface TokenRenewer
-
- All Known Implementing Classes:
SAMLTokenRenewer
public interface TokenRenewerAn interface that can renew a security token.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanHandleToken(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.TokenRenewerResponserenewToken(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 Detail
-
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
boolean canHandleToken(ReceivedToken renewTarget)
Return true if this TokenRenewer implementation is able to renew a token.
-
canHandleToken
boolean canHandleToken(ReceivedToken renewTarget, String realm)
Return true if this TokenRenewer implementation is able to renew a token in the given realm.
-
renewToken
TokenRenewerResponse renewToken(TokenRenewerParameters tokenParameters)
Renew a token given a TokenRenewerParameters
-
-