Class SecurityConfiguration
- java.lang.Object
-
- org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
-
- net.oneandone.stool.dashboard.config.SecurityConfiguration
-
- All Implemented Interfaces:
org.springframework.security.config.annotation.SecurityConfigurer<javax.servlet.Filter,org.springframework.security.config.annotation.web.builders.WebSecurity>,org.springframework.security.config.annotation.web.WebSecurityConfigurer<org.springframework.security.config.annotation.web.builders.WebSecurity>
@EnableWebSecurity @Configuration public class SecurityConfiguration extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
-
-
Constructor Summary
Constructors Constructor Description SecurityConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth)protected voidconfigure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)voidconfigure(org.springframework.security.config.annotation.web.builders.WebSecurity web)org.springframework.security.ldap.DefaultSpringSecurityContextSourcecontextSource()org.springframework.security.cas.ServicePropertiesserviceProperties()org.springframework.security.core.userdetails.UserDetailsServiceuserDetailsService()-
Methods inherited from class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
authenticationManager, authenticationManagerBean, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsServiceBean
-
-
-
-
Method Detail
-
configure
protected void configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth) throws java.lang.Exception- Overrides:
configurein classorg.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter- Throws:
java.lang.Exception
-
configure
public void configure(org.springframework.security.config.annotation.web.builders.WebSecurity web)
- Specified by:
configurein interfaceorg.springframework.security.config.annotation.SecurityConfigurer<javax.servlet.Filter,org.springframework.security.config.annotation.web.builders.WebSecurity>- Overrides:
configurein classorg.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
-
configure
protected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws java.lang.Exception- Overrides:
configurein classorg.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter- Throws:
java.lang.Exception
-
serviceProperties
@Bean public org.springframework.security.cas.ServiceProperties serviceProperties() throws java.io.IOException- Throws:
java.io.IOException
-
contextSource
@Bean public org.springframework.security.ldap.DefaultSpringSecurityContextSource contextSource()
-
userDetailsService
public org.springframework.security.core.userdetails.UserDetailsService userDetailsService()
- Overrides:
userDetailsServicein classorg.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
-
-