Class JwtIssuerValidator

java.lang.Object
org.springframework.security.oauth2.jwt.JwtIssuerValidator
All Implemented Interfaces:
OAuth2TokenValidator<Jwt>

public final class JwtIssuerValidator extends Object implements OAuth2TokenValidator<Jwt>
Validates the "iss" claim in a Jwt, that is matches a configured value
Since:
5.1
  • Constructor Details

    • JwtIssuerValidator

      public JwtIssuerValidator(String issuer)
      Constructs a JwtIssuerValidator using the provided parameters
      Parameters:
      issuer - - The issuer that each Jwt should have.
  • Method Details