Interface TokenRenewer

  • All Known Implementing Classes:
    SAMLTokenRenewer

    public interface TokenRenewer
    An interface that can renew a security token.
    • 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.