Class WebSecurityConfiguration


  • @Configuration
    @EnableWebSecurity
    @EnableGlobalMethodSecurity(prePostEnabled=true)
    class WebSecurityConfiguration
    extends java.lang.Object
    • Constructor Detail

      • WebSecurityConfiguration

        WebSecurityConfiguration()
    • 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()