Package io.jmix.autoconfigure.oidc
Class OidcAutoConfiguration.OAuth2LoginSecurityConfiguration
java.lang.Object
org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
io.jmix.autoconfigure.oidc.OidcAutoConfiguration.OAuth2LoginSecurityConfiguration
- All Implemented Interfaces:
org.springframework.security.config.annotation.SecurityConfigurer<javax.servlet.Filter,
,org.springframework.security.config.annotation.web.builders.WebSecurity> org.springframework.security.config.annotation.web.WebSecurityConfigurer<org.springframework.security.config.annotation.web.builders.WebSecurity>
- Enclosing class:
- OidcAutoConfiguration
@EnableWebSecurity
@ConditionalOnProperty(value="jmix.oidc.use-default-ui-configuration",
havingValue="true",
matchIfMissing=true)
@Order(200)
public static class OidcAutoConfiguration.OAuth2LoginSecurityConfiguration
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
Configures UI endpoint protection
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
configure
(org.springframework.security.config.annotation.web.builders.HttpSecurity http) protected org.springframework.security.oauth2.client.oidc.web.logout.OidcClientInitiatedLogoutSuccessHandler
Methods inherited from class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
authenticationManager, authenticationManagerBean, configure, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBean
-
Constructor Details
-
OAuth2LoginSecurityConfiguration
public OAuth2LoginSecurityConfiguration()
-
-
Method Details
-
configure
protected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception - Overrides:
configure
in classorg.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
- Throws:
Exception
-
oidcLogoutSuccessHandler
protected org.springframework.security.oauth2.client.oidc.web.logout.OidcClientInitiatedLogoutSuccessHandler oidcLogoutSuccessHandler()
-