Interface TokenValidator
- All Known Implementing Classes:
JWTTokenValidator,SAMLTokenValidator,SCTValidator,UsernameTokenValidator,X509TokenValidator
public interface TokenValidator
An interface that can validate a security token.
-
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 in the given realm.validateToken(TokenValidatorParameters tokenParameters) Validate a Token using the given TokenValidatorParameters.
-
Method Details
-
canHandleToken
Return true if this TokenValidator implementation is capable of validating the ReceivedToken argument. -
canHandleToken
Return true if this TokenValidator implementation is capable of validating the ReceivedToken argument in the given realm. -
validateToken
Validate a Token using the given TokenValidatorParameters.
-