Package org.joinfaces.test
Class SecurityConfiguration
- java.lang.Object
-
- org.joinfaces.test.SecurityConfiguration
-
@Configuration public class SecurityConfiguration extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SecurityConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.access.hierarchicalroles.RoleHierarchy
roleHierarchy()
org.springframework.security.web.SecurityFilterChain
securityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
org.springframework.security.core.userdetails.UserDetailsService
userDetailsService()
-
-
-
Method Detail
-
securityFilterChain
@Bean public org.springframework.security.web.SecurityFilterChain securityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws java.lang.Exception
- Throws:
java.lang.Exception
-
userDetailsService
@Bean public org.springframework.security.core.userdetails.UserDetailsService userDetailsService()
-
roleHierarchy
@Bean public org.springframework.security.access.hierarchicalroles.RoleHierarchy roleHierarchy()
-
-