Package io.jmix.autoconfigure.authserver
Class AuthServerAutoConfiguration.ResourceServerConfiguration
java.lang.Object
io.jmix.autoconfigure.authserver.AuthServerAutoConfiguration.ResourceServerConfiguration
- Enclosing class:
- AuthServerAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnProperty(name="jmix.authserver.use-default-resource-server-configuration",
matchIfMissing=true)
public static class AuthServerAutoConfiguration.ResourceServerConfiguration
extends Object
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.oauth2.server.resource.introspection.OpaqueTokenIntrospector
opaqueTokenIntrospector
(org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService, TokenIntrospectorRolesHelper tokenIntrospectorRolesHelper) org.springframework.security.web.SecurityFilterChain
resourceServerSecurityFilterChain
(org.springframework.security.config.annotation.web.builders.HttpSecurity http, org.springframework.security.oauth2.server.resource.introspection.OpaqueTokenIntrospector opaqueTokenIntrospector, org.springframework.context.ApplicationEventPublisher applicationEventPublisher, CompositeResourceServerRequestMatcherProvider securityMatcherProvider)
-
Field Details
-
SECURITY_CONFIGURER_QUALIFIER
- See Also:
-
-
Constructor Details
-
ResourceServerConfiguration
public ResourceServerConfiguration()
-
-
Method Details
-
resourceServerSecurityFilterChain
@Bean("authsr_ResourceServerSecurityFilterChain") @Order(250) public org.springframework.security.web.SecurityFilterChain resourceServerSecurityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http, org.springframework.security.oauth2.server.resource.introspection.OpaqueTokenIntrospector opaqueTokenIntrospector, org.springframework.context.ApplicationEventPublisher applicationEventPublisher, CompositeResourceServerRequestMatcherProvider securityMatcherProvider) throws Exception - Throws:
Exception
-
opaqueTokenIntrospector
@ConditionalOnMissingBean @Bean("authsr_OpaqueTokenIntrospector") public org.springframework.security.oauth2.server.resource.introspection.OpaqueTokenIntrospector opaqueTokenIntrospector(org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService, TokenIntrospectorRolesHelper tokenIntrospectorRolesHelper)
-