Class SCTValidator
java.lang.Object
org.apache.cxf.sts.token.validator.SCTValidator
- All Implemented Interfaces:
TokenValidator
This class validates a SecurityContextToken.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThis tag refers to the secret key (byte[]) associated with a SecurityContextToken that has been validated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanHandleToken(ReceivedToken validateTarget) Return true if this TokenValidator implementation is capable of validating the ReceivedToken argument.booleancanHandleToken(ReceivedToken validateTarget, String realm) Return true if this TokenValidator implementation is capable of validating the ReceivedToken argument.validateToken(TokenValidatorParameters tokenParameters) Validate a Token using the given TokenValidatorParameters.
-
Field Details
-
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:
-
-
Constructor Details
-
SCTValidator
public SCTValidator()
-
-
Method Details
-
canHandleToken
Return true if this TokenValidator implementation is capable of validating the ReceivedToken argument. The realm is ignored in this token Validator.- Specified by:
canHandleTokenin interfaceTokenValidator
-
canHandleToken
Return true if this TokenValidator implementation is capable of validating the ReceivedToken argument. The realm is ignored in this token Validator.- Specified by:
canHandleTokenin interfaceTokenValidator
-
validateToken
Validate a Token using the given TokenValidatorParameters.- Specified by:
validateTokenin interfaceTokenValidator
-