Class IssuerJwtClaimsValidator<T>
java.lang.Object
io.micronaut.security.token.jwt.validator.IssuerJwtClaimsValidator<T>
- Type Parameters:
T
- Request
- All Implemented Interfaces:
GenericJwtClaimsValidator<T>
,JwtClaimsValidator<T>
@Singleton
@Requires(property="micronaut.security.token.jwt.claims-validators.issuer")
public class IssuerJwtClaimsValidator<T>
extends Object
implements GenericJwtClaimsValidator<T>
Validates JWT issuer claim matches a configured value.
- Since:
- 2.4.0
- Author:
- Jason Schindler, Sergio del Amo
-
Field Summary
-
Constructor Summary
ConstructorDescriptionIssuerJwtClaimsValidator
(JwtClaimsValidatorConfiguration jwtClaimsValidatorConfiguration) -
Method Summary
-
Field Details
-
ISSUER_PROP
- See Also:
-
-
Constructor Details
-
IssuerJwtClaimsValidator
- Parameters:
jwtClaimsValidatorConfiguration
- JWT Claims Validator Configuration
-
-
Method Details
-
validate
- Specified by:
validate
in interfaceJwtClaimsValidator<T>
- Parameters:
claims
- JWT Claimsrequest
- HTTP request- Returns:
- whether the JWT claims pass validation.
-