Package io.jmix.autoconfigure.oidc
Class OidcAutoConfiguration.OAuth2LoginSecurityConfiguration
java.lang.Object
io.jmix.autoconfigure.oidc.OidcAutoConfiguration.OAuth2LoginSecurityConfiguration
- Enclosing class:
- OidcAutoConfiguration
@EnableWebSecurity
@ConditionalOnProperty(value="jmix.oidc.use-default-ui-configuration",
havingValue="true",
matchIfMissing=true)
public static class OidcAutoConfiguration.OAuth2LoginSecurityConfiguration
extends Object
Configures UI endpoint protection
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.security.oauth2.client.oidc.web.logout.OidcClientInitiatedLogoutSuccessHandler
oidcLogoutSuccessHandler
(org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrationRepository, String postLogoutRedirectUri) org.springframework.security.web.SecurityFilterChain
securityFilterChain
(org.springframework.security.config.annotation.web.builders.HttpSecurity http, JmixOidcUserService jmixOidcUserService, org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrationRepository, OidcProperties oidcProperties)
-
Field Details
-
SECURITY_CONFIGURER_QUALIFIER
- See Also:
-
-
Constructor Details
-
OAuth2LoginSecurityConfiguration
public OAuth2LoginSecurityConfiguration()
-
-
Method Details
-
securityFilterChain
@Bean("oidc_OAuthLoginSecurityFilterChain") @Order(300) public org.springframework.security.web.SecurityFilterChain securityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http, JmixOidcUserService jmixOidcUserService, org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrationRepository, OidcProperties oidcProperties) throws Exception - Throws:
Exception
-
oidcLogoutSuccessHandler
protected org.springframework.security.oauth2.client.oidc.web.logout.OidcClientInitiatedLogoutSuccessHandler oidcLogoutSuccessHandler(org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrationRepository, String postLogoutRedirectUri)
-