Uses of Class
com.sap.cloud.security.token.validation.validators.JwtValidatorBuilder
Packages that use JwtValidatorBuilder
-
Uses of JwtValidatorBuilder in com.sap.cloud.security.token.validation.validators
Methods in com.sap.cloud.security.token.validation.validators that return JwtValidatorBuilderModifier and TypeMethodDescriptionJwtValidatorBuilder.configureAnotherServiceInstance(OAuth2ServiceConfiguration otherConfiguration) Allows to provide another service configuration, e.g.JwtValidatorBuilder.disableTenantIdCheck()Disables tenant id check for JwtSignatureValidator.static JwtValidatorBuilderJwtValidatorBuilder.getInstance(OAuth2ServiceConfiguration configuration) Creates a builder instance that can be configured further.Adds a custom validator to the validation chain.JwtValidatorBuilder.withAudienceValidator(Validator<Token> audienceValidator) Sets / overwrites the default audience validator.JwtValidatorBuilder.withCacheConfiguration(CacheConfiguration tokenKeyCacheConfiguration) Use to configure the token key cache.JwtValidatorBuilder.withHttpClient(org.apache.http.impl.client.CloseableHttpClient httpClient) In case you want to configure theOidcConfigurationServiceand theOAuth2TokenKeyServicewith your own Rest client.JwtValidatorBuilder.withOAuth2TokenKeyService(OAuth2TokenKeyService tokenKeyService) Deprecated.for internal use onlyJwtValidatorBuilder.withOidcConfigurationService(OidcConfigurationService oidcConfigurationService) Deprecated.for internal use onlyJwtValidatorBuilder.withValidatorListener(ValidationListener validationListener) Adds the validation listener to the jwt validator that is being built.