Class SCTValidator

    • Field Detail

      • SCT_VALIDATOR_SECRET

        public static final String SCT_VALIDATOR_SECRET
        This tag refers to the secret key (byte[]) associated with a SecurityContextToken that has been validated. It is inserted into the additional properties map of the response, so that it can be retrieved and inserted into a generated token by a TokenProvider instance.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SCTValidator

        public SCTValidator()
    • Method Detail

      • canHandleToken

        public boolean canHandleToken​(ReceivedToken validateTarget)
        Return true if this TokenValidator implementation is capable of validating the ReceivedToken argument. The realm is ignored in this token Validator.
        Specified by:
        canHandleToken in interface TokenValidator
      • canHandleToken

        public boolean canHandleToken​(ReceivedToken validateTarget,
                                      String realm)
        Return true if this TokenValidator implementation is capable of validating the ReceivedToken argument. The realm is ignored in this token Validator.
        Specified by:
        canHandleToken in interface TokenValidator