public class JwtX5tValidator extends Object implements Validator<Token>
Validates whether there 'cnf' thumbprint value matches with the X509 certificate from the request. Validator is by default disabled. It can be activated by setting environment variable 'X5T_VALIDATOR_ENABLED' to true.
| Constructor and Description |
|---|
JwtX5tValidator(OAuth2ServiceConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
validate(Token token)
Validates the cnf thumbprint of X509 certificate against trusted
certificate's thumbprint.
|
public JwtX5tValidator(OAuth2ServiceConfiguration config)
public ValidationResult validate(Token token)
JwtAudienceValidatorCopyright © 2024. All rights reserved.