Package io.jmix.autoconfigure.authserver
Class AuthServerAutoConfiguration.AuthorizationServerConfiguration
java.lang.Object
io.jmix.autoconfigure.authserver.AuthServerAutoConfiguration.AuthorizationServerConfiguration
- Enclosing class:
- AuthServerAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnProperty(name="jmix.authserver.use-default-authorization-server-configuration",
matchIfMissing=true)
public static class AuthServerAutoConfiguration.AuthorizationServerConfiguration
extends Object
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.web.SecurityFilterChain
authorizationServerCorsSecurityFilterChain
(org.springframework.security.config.annotation.web.builders.HttpSecurity http) Enables CORS for pre-flight requests to OAuth2 endpointsorg.springframework.security.web.SecurityFilterChain
authorizationServerSecurityFilterChain
(org.springframework.security.config.annotation.web.builders.HttpSecurity http) org.springframework.security.oauth2.server.authorization.settings.AuthorizationServerSettings
org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService
-
Field Details
-
SECURITY_CONFIGURER_QUALIFIER
- See Also:
-
-
Constructor Details
-
AuthorizationServerConfiguration
-
-
Method Details
-
authorizationServerCorsSecurityFilterChain
@Bean("authsr_AuthorizationServerCorsSecurityFilterChain") @Order(205) public org.springframework.security.web.SecurityFilterChain authorizationServerCorsSecurityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception Enables CORS for pre-flight requests to OAuth2 endpoints- Throws:
Exception
-
authorizationServerSecurityFilterChain
@Bean("authsr_AuthorizationServerSecurityFilterChain") @Order(200) public org.springframework.security.web.SecurityFilterChain authorizationServerSecurityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception - Throws:
Exception
-
oAuth2AuthorizationService
@Bean @ConditionalOnMissingBean public org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService oAuth2AuthorizationService() -
authorizationServerSettings
@Bean public org.springframework.security.oauth2.server.authorization.settings.AuthorizationServerSettings authorizationServerSettings() -
inMemoryRegisteredClientRoleAssignmentRepository
@Bean @ConditionalOnMissingBean(RegisteredClientRoleAssignmentRepository.class) public InMemoryRegisteredClientRoleAssignmentRepository inMemoryRegisteredClientRoleAssignmentRepository()
-