public interface TokenRenewer
Modifier and Type | Method and Description |
---|---|
boolean |
canHandleToken(ReceivedToken renewTarget)
Return true if this TokenRenewer implementation is able to renew a token.
|
boolean |
canHandleToken(ReceivedToken renewTarget,
String realm)
Return true if this TokenRenewer implementation is able to renew a token in the given realm.
|
TokenRenewerResponse |
renewToken(TokenRenewerParameters tokenParameters)
Renew a token given a TokenRenewerParameters
|
void |
setAllowRenewalAfterExpiry(boolean allowRenewalAfterExpiry)
boolean for enabling/disabling renewal after expiry.
|
void |
setVerifyProofOfPossession(boolean verifyProofOfPossession)
boolean for enabling/disabling verification of proof of possession.
|
void setVerifyProofOfPossession(boolean verifyProofOfPossession)
void setAllowRenewalAfterExpiry(boolean allowRenewalAfterExpiry)
boolean canHandleToken(ReceivedToken renewTarget)
boolean canHandleToken(ReceivedToken renewTarget, String realm)
TokenRenewerResponse renewToken(TokenRenewerParameters tokenParameters)
Copyright © 2016 JBoss by Red Hat. All rights reserved.