@ConditionalOnProperty(prefix="security.basic",
name="enabled",
havingValue="true")
@Configuration
@EnableWebSecurity
@Order(value=2147483640)
public class ApplicationWebSecurityConfigurerAdapter
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
Constructor and Description |
---|
ApplicationWebSecurityConfigurerAdapter() |
Modifier and Type | Method and Description |
---|---|
ApplicationConfigSecurity |
applicationConfigSecurity() |
protected void |
configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth) |
protected void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) |
void |
init(org.springframework.security.config.annotation.web.builders.WebSecurity web) |
PrivilegedUserProperties |
privilegedUserProperties() |
GitFileConfigUserDetailsService |
userDetailsService() |
authenticationManager, authenticationManagerBean, configure, getApplicationContext, getHttp, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsServiceBean
public ApplicationWebSecurityConfigurerAdapter()
public void init(org.springframework.security.config.annotation.web.builders.WebSecurity web) throws Exception
init
in interface org.springframework.security.config.annotation.SecurityConfigurer<javax.servlet.Filter,org.springframework.security.config.annotation.web.builders.WebSecurity>
init
in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
Exception
protected void configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth) throws Exception
configure
in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
Exception
protected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
configure
in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
Exception
@Bean public ApplicationConfigSecurity applicationConfigSecurity()
@Bean public PrivilegedUserProperties privilegedUserProperties()
@Bean public GitFileConfigUserDetailsService userDetailsService()
userDetailsService
in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
Copyright © 2018. All rights reserved.