Interface TokenValidator
-
- All Known Implementing Classes:
JWTTokenValidator,SAMLTokenValidator,SCTValidator,UsernameTokenValidator,X509TokenValidator
public interface TokenValidatorAn interface that can validate a security token.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanHandleToken(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.TokenValidatorResponsevalidateToken(TokenValidatorParameters tokenParameters)Validate a Token using the given TokenValidatorParameters.
-
-
-
Method Detail
-
canHandleToken
boolean canHandleToken(ReceivedToken validateTarget)
Return true if this TokenValidator implementation is capable of validating the ReceivedToken argument.
-
canHandleToken
boolean canHandleToken(ReceivedToken validateTarget, String realm)
Return true if this TokenValidator implementation is capable of validating the ReceivedToken argument in the given realm.
-
validateToken
TokenValidatorResponse validateToken(TokenValidatorParameters tokenParameters)
Validate a Token using the given TokenValidatorParameters.
-
-