public class JwtRevocationValidator extends Object implements org.springframework.security.oauth2.core.OAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt>
| Modifier and Type | Field and Description |
|---|---|
private static org.springframework.security.oauth2.core.OAuth2TokenValidatorResult |
FAILURE_RESULT |
private JwtRevocationService |
jwtRevocationService |
private static org.springframework.security.oauth2.server.resource.BearerTokenError |
REVOKED_ERROR |
| Constructor and Description |
|---|
JwtRevocationValidator(JwtRevocationService jwtRevocationService) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.oauth2.core.OAuth2TokenValidatorResult |
validate(org.springframework.security.oauth2.jwt.Jwt jwt)
Validate checks JSON Web Token Identifier against Revocation Service
|
private static final org.springframework.security.oauth2.server.resource.BearerTokenError REVOKED_ERROR
private static final org.springframework.security.oauth2.core.OAuth2TokenValidatorResult FAILURE_RESULT
private final JwtRevocationService jwtRevocationService
public JwtRevocationValidator(JwtRevocationService jwtRevocationService)
public org.springframework.security.oauth2.core.OAuth2TokenValidatorResult validate(org.springframework.security.oauth2.jwt.Jwt jwt)
validate in interface org.springframework.security.oauth2.core.OAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt>jwt - JSON Web Token IdentifierCopyright © 2023 Apache NiFi Project. All rights reserved.