Package co.mastermindcms.client.security
Class WebSecurityConfiguration
- java.lang.Object
-
- co.mastermindcms.client.security.WebSecurityConfiguration
-
@Configuration @EnableWebSecurity @EnableGlobalMethodSecurity(prePostEnabled=true) class WebSecurityConfiguration extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WebSecurityConfiguration.AdminSecurityConfiguration
static class
WebSecurityConfiguration.MainSecurityConfiguration
static class
WebSecurityConfiguration.UserSecurityConfiguration
-
Constructor Summary
Constructors Constructor Description WebSecurityConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.springframework.security.crypto.password.PasswordEncoder
encoder()
static org.springframework.security.web.authentication.AuthenticationFailureHandler
failureHandler()
org.springframework.security.authentication.AuthenticationTrustResolver
trustResolver()
-
-
-
Method Detail
-
failureHandler
@Bean public static org.springframework.security.web.authentication.AuthenticationFailureHandler failureHandler()
-
encoder
@Bean public static org.springframework.security.crypto.password.PasswordEncoder encoder()
-
trustResolver
@Bean public org.springframework.security.authentication.AuthenticationTrustResolver trustResolver()
-
-