Package io.jmix.autoconfigure.authserver
Class AuthServerAutoConfiguration.ResourceServerSecurityConfiguration
java.lang.Object
io.jmix.autoconfigure.authserver.AuthServerAutoConfiguration.ResourceServerSecurityConfiguration
- Enclosing class:
- AuthServerAutoConfiguration
@Configuration(proxyBeanMethods=false)
public static class AuthServerAutoConfiguration.ResourceServerSecurityConfiguration
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)
-
Field Details
-
SECURITY_CONFIGURER_QUALIFIER
- See Also:
-
-
Constructor Details
-
ResourceServerSecurityConfiguration
public ResourceServerSecurityConfiguration()
-
-
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) 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)
-