Package org.joinfaces.test
Class SecurityConfiguration
- java.lang.Object
-
- org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
-
- org.joinfaces.test.SecurityConfiguration
-
- All Implemented Interfaces:
SecurityConfigurer<Filter,WebSecurity>
,WebSecurityConfigurer<WebSecurity>
@Configuration public class SecurityConfiguration extends WebSecurityConfigurerAdapter
-
-
Constructor Summary
Constructors Constructor Description SecurityConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure(AuthenticationManagerBuilder auth)
protected void
configure(HttpSecurity http)
RoleHierarchy
roleHierarchy()
-
Methods inherited from class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
authenticationManager, authenticationManagerBean, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBean
-
-
-
-
Method Detail
-
configure
protected void configure(HttpSecurity http) throws Exception
- Overrides:
configure
in classWebSecurityConfigurerAdapter
- Throws:
Exception
-
configure
protected void configure(AuthenticationManagerBuilder auth) throws Exception
- Overrides:
configure
in classWebSecurityConfigurerAdapter
- Throws:
Exception
-
roleHierarchy
@Bean public RoleHierarchy roleHierarchy()
-
-