@Configuration
@EnableWebSecurity
public class SecurityConfiguration
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
Modifier and Type | Class and Description |
---|---|
static class |
SecurityConfiguration.AuthorizationConfig
Holds configuration for the authorization aspects of security.
|
Modifier and Type | Field and Description |
---|---|
static java.util.regex.Pattern |
AUTHORIZATION_RULE |
Constructor and Description |
---|
SecurityConfiguration() |
Modifier and Type | Method and Description |
---|---|
SecurityConfiguration.AuthorizationConfig |
config() |
protected void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) |
org.springframework.session.SessionRepository<org.springframework.session.ExpiringSession> |
sessionRepository() |
authenticationManager, authenticationManagerBean, configure, configure, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBean
@Bean public org.springframework.session.SessionRepository<org.springframework.session.ExpiringSession> sessionRepository()
@Bean public SecurityConfiguration.AuthorizationConfig config()
protected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws java.lang.Exception
configure
in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
java.lang.Exception