Package io.jmix.autoconfigure.oidc
Class OidcAutoConfiguration.OidcResourceServerJwtDecoderConfiguration
java.lang.Object
io.jmix.autoconfigure.oidc.OidcAutoConfiguration.OidcResourceServerJwtDecoderConfiguration
- Enclosing class:
OidcAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(name="org.springframework.boot.security.oauth2.server.resource.autoconfigure.JwkSetUriJwtDecoderBuilderCustomizer")
public static class OidcAutoConfiguration.OidcResourceServerJwtDecoderConfiguration
extends Object
Customizes the
JwtDecoder auto-configured by Spring Boot for the OAuth2 resource server:
the JWK Set is loaded with timeouts taken from jmix.oidc.jwks.* properties instead of the
non-configurable 500 ms Spring Security defaults.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.security.oauth2.server.resource.autoconfigure.JwkSetUriJwtDecoderBuilderCustomizeroidcJwkSetUriJwtDecoderBuilderCustomizer(OidcProperties oidcProperties) Ordered early, so that customizers defined by the application run later and can override the settings applied here.
-
Constructor Details
-
OidcResourceServerJwtDecoderConfiguration
public OidcResourceServerJwtDecoderConfiguration()
-
-
Method Details
-
oidcJwkSetUriJwtDecoderBuilderCustomizer
@Bean @Order(100) public org.springframework.boot.security.oauth2.server.resource.autoconfigure.JwkSetUriJwtDecoderBuilderCustomizer oidcJwkSetUriJwtDecoderBuilderCustomizer(OidcProperties oidcProperties) Ordered early, so that customizers defined by the application run later and can override the settings applied here.
-