@EnableWebSecurity
@Configuration
@EnableConfigurationProperties(value=org.springframework.boot.autoconfigure.security.SecurityProperties.class)
@EnableGlobalMethodSecurity(prePostEnabled=true)
public class WebSecurityConfiguration
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
| Modifier and Type | Field and Description |
|---|---|
static String |
ADMIN_GRANT |
static String |
ANONYMOUS_GRANT |
static String |
AUTHENTICATED_GRANT |
| Constructor and Description |
|---|
WebSecurityConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
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 |
configure(org.springframework.security.config.annotation.web.builders.WebSecurity webSecurity) |
authenticationManager, authenticationManagerBean, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBeanpublic static final String ADMIN_GRANT
public static final String AUTHENTICATED_GRANT
public static final String ANONYMOUS_GRANT
public void configure(org.springframework.security.config.annotation.web.builders.WebSecurity webSecurity)
throws Exception
configure in interface org.springframework.security.config.annotation.SecurityConfigurer<javax.servlet.Filter,org.springframework.security.config.annotation.web.builders.WebSecurity>configure in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterExceptionprotected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
throws Exception
configure in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterExceptionCopyright © 2019 DuraSpace. All rights reserved.