Class JwtIssuerValidator
java.lang.Object
org.springframework.security.oauth2.jwt.JwtIssuerValidator
- All Implemented Interfaces:
- OAuth2TokenValidator<Jwt>
Validates the "iss" claim in a 
Jwt, that is matches a configured value- Since:
- 5.1
- 
Constructor SummaryConstructorsConstructorDescriptionJwtIssuerValidator(String issuer) Constructs aJwtIssuerValidatorusing the provided parameters
- 
Method SummaryModifier and TypeMethodDescriptionVerify the validity and/or constraints of the provided OAuth 2.0 Token.
- 
Constructor Details- 
JwtIssuerValidatorConstructs aJwtIssuerValidatorusing the provided parameters- Parameters:
- issuer- - The issuer that each- Jwtshould have.
 
 
- 
- 
Method Details- 
validateDescription copied from interface:OAuth2TokenValidatorVerify the validity and/or constraints of the provided OAuth 2.0 Token.- Specified by:
- validatein interface- OAuth2TokenValidator<Jwt>
- Parameters:
- token- an OAuth 2.0 token
- Returns:
- OAuth2TokenValidationResult the success or failure detail of the validation
 
 
-