Class AuthorizationServerAutoConfiguration.AuthorizationServerSecurityConfiguration
java.lang.Object
io.jmix.autoconfigure.authorizationserver.AuthorizationServerAutoConfiguration.AuthorizationServerSecurityConfiguration
- Enclosing class:
- AuthorizationServerAutoConfiguration
@Configuration(proxyBeanMethods=false)
public static class AuthorizationServerAutoConfiguration.AuthorizationServerSecurityConfiguration
extends Object
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.web.SecurityFilterChain
authorizationServerSecurityFilterChain
(org.springframework.security.config.annotation.web.builders.HttpSecurity http) defaultRegisteredClientProvider
(DefaultRegisteredClientProperties defaultClientProperties) org.springframework.security.web.SecurityFilterChain
loginFormSecurityFilterChain
(org.springframework.security.config.annotation.web.builders.HttpSecurity http) org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService
org.springframework.security.oauth2.server.authorization.config.ProviderSettings
org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository
registeredClientRepository
(Collection<RegisteredClientProvider> clientProviders)
-
Field Details
-
SECURITY_CONFIGURER_QUALIFIER
- See Also:
-
LOGIN_FORM_SECURITY_CONFIGURER_QUALIFIER
- See Also:
-
-
Constructor Details
-
AuthorizationServerSecurityConfiguration
public AuthorizationServerSecurityConfiguration()
-
-
Method Details
-
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
-
loginFormSecurityFilterChain
@Bean("authsr_LoginFormSecurityFilterChain") @Order(210) public org.springframework.security.web.SecurityFilterChain loginFormSecurityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception - Throws:
Exception
-
defaultRegisteredClientProvider
@Bean public DefaultRegisteredClientProvider defaultRegisteredClientProvider(DefaultRegisteredClientProperties defaultClientProperties) -
registeredClientRepository
@Bean @ConditionalOnMissingBean public org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository(Collection<RegisteredClientProvider> clientProviders) -
oAuth2AuthorizationService
@Bean public org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService oAuth2AuthorizationService() -
providerSettings
@Bean public org.springframework.security.oauth2.server.authorization.config.ProviderSettings providerSettings()
-