Class JwtClaimValidator<T>
java.lang.Object
org.springframework.security.oauth2.jwt.JwtClaimValidator<T>
- All Implemented Interfaces:
org.springframework.security.oauth2.core.OAuth2TokenValidator<Jwt>
-
Constructor Summary
ConstructorsConstructorDescriptionJwtClaimValidator(String claim, Predicate<T> test) Constructs aJwtClaimValidatorusing the provided parameters -
Method Summary
-
Constructor Details
-
JwtClaimValidator
Constructs aJwtClaimValidatorusing the provided parameters- Parameters:
claim- - is the name of the claim inJwtto validate.test- - is the predicate function for the claim to test against.
-
-
Method Details
-
validate
-