@Configuration
@EnableWebSecurity
@EnableGlobalMethodSecurity(jsr250Enabled=true,
securedEnabled=true,
prePostEnabled=true)
public class SecurityConfiguration
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
| Constructor | Description |
|---|---|
SecurityConfiguration() |
| Modifier and Type | Method | Description |
|---|---|---|
org.ligoj.bootstrap.http.security.RedirectAuthenticationEntryPoint |
ajaxFormLoginEntryPoint() |
A 403 JSON management.
|
org.springframework.security.web.firewall.HttpFirewall |
allowUrlEncodedSlashHttpFirewall() |
|
AbstractAuthenticationProvider |
authenticationProvider() |
Pre-Authentication provider.
|
org.springframework.security.web.session.ConcurrentSessionFilter |
concurrentSessionFilter() |
|
protected void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) |
|
void |
configure(org.springframework.security.config.annotation.web.builders.WebSecurity web) |
|
void |
configureGlobal(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth) |
Configure
AuthenticationProvider |
DigestAuthenticationFilter |
digestAuthenticationFilter() |
|
org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler |
getFailureHandler() |
|
org.ligoj.bootstrap.http.security.RestRedirectStrategy |
getRestFailureStrategy() |
|
org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler |
getSuccessHandler() |
|
org.springframework.security.web.authentication.session.CompositeSessionAuthenticationStrategy |
sessionAuth() |
Maximum ONE concurrent session.
|
org.springframework.security.core.session.SessionRegistry |
sessionRegistry() |
|
SimpleUserDetailsService |
userDetailsServiceBean() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticationManager, authenticationManagerBean, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsServiceprotected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
throws Exception
configure in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterException@Bean public org.springframework.security.web.session.ConcurrentSessionFilter concurrentSessionFilter()
@Bean public DigestAuthenticationFilter digestAuthenticationFilter()
@Bean public org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler getFailureHandler()
@Bean public org.ligoj.bootstrap.http.security.RestRedirectStrategy getRestFailureStrategy()
@Bean public org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler getSuccessHandler()
@Bean public org.springframework.security.web.authentication.session.CompositeSessionAuthenticationStrategy sessionAuth()
@Bean public org.springframework.security.core.session.SessionRegistry sessionRegistry()
@Autowired
public void configureGlobal(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth)
throws Exception
AuthenticationProviderauth - The builder.Exception - Unable to build the authentication provider@Bean public org.ligoj.bootstrap.http.security.RedirectAuthenticationEntryPoint ajaxFormLoginEntryPoint()
@Bean public AbstractAuthenticationProvider authenticationProvider() throws Exception
Exception - Unable to build the authentication provider@Bean public SimpleUserDetailsService userDetailsServiceBean()
userDetailsServiceBean in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter@Bean public org.springframework.security.web.firewall.HttpFirewall allowUrlEncodedSlashHttpFirewall()
Copyright © 2017–2018 Gfi Informatique. All rights reserved.