Class DefaultJwtClaimsValidator

java.lang.Object
com.broadleafcommerce.oauth2.resource.security.token.validator.DefaultJwtClaimsValidator
All Implemented Interfaces:
org.springframework.security.oauth2.core.OAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt>

public class DefaultJwtClaimsValidator extends Object implements org.springframework.security.oauth2.core.OAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt>
A OAuth2TokenValidator implementation that validates the JWT access token includes a valid issuer, audiences, and timestamp.
Author:
Nick Crum (ncrum)
  • Constructor Details

  • Method Details

    • validate

      public org.springframework.security.oauth2.core.OAuth2TokenValidatorResult validate(org.springframework.security.oauth2.jwt.Jwt jwt)
      Specified by:
      validate in interface org.springframework.security.oauth2.core.OAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt>
    • getProperties

      protected OAuth2ResourceSecurityProperties getProperties()
    • getClockSkew

      protected Duration getClockSkew()
    • setClockSkew

      public void setClockSkew(Duration clockSkew)
    • setClock

      public void setClock(Clock clock)