Class HeimdalSecurityConfig

java.lang.Object
org.xbricks.heimdall.config.HeimdalSecurityConfig

@Configuration @EnableWebSecurity @ComponentScan("org.xbricks") public class HeimdalSecurityConfig extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    HeimdalSecurityConfig(org.springframework.security.core.userdetails.UserDetailsService userDetailsService, org.springframework.security.web.access.AccessDeniedHandler accessDeniedHandler, org.springframework.security.web.authentication.AuthenticationSuccessHandler xbAuthenticationSuccessHandler, org.springframework.security.web.authentication.logout.LogoutSuccessHandler xbLogoutSuccessHandler, org.springframework.security.web.authentication.AuthenticationFailureHandler authenticationFailureHandler)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.security.authentication.AuthenticationManager
    authManager(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
     
    org.springframework.security.authentication.dao.DaoAuthenticationProvider
    daoAuthenticationProvider(org.springframework.security.crypto.password.PasswordEncoder passwordEncoder, org.springframework.security.core.userdetails.UserDetailsService userDetailsService)
     
    org.springframework.security.web.SecurityFilterChain
    filterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
     
    org.springframework.security.crypto.password.PasswordEncoder
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HeimdalSecurityConfig

      public HeimdalSecurityConfig(org.springframework.security.core.userdetails.UserDetailsService userDetailsService, org.springframework.security.web.access.AccessDeniedHandler accessDeniedHandler, org.springframework.security.web.authentication.AuthenticationSuccessHandler xbAuthenticationSuccessHandler, org.springframework.security.web.authentication.logout.LogoutSuccessHandler xbLogoutSuccessHandler, org.springframework.security.web.authentication.AuthenticationFailureHandler authenticationFailureHandler)
  • Method Details

    • passwordEncoder

      @Bean public org.springframework.security.crypto.password.PasswordEncoder passwordEncoder()
    • daoAuthenticationProvider

      @Bean public org.springframework.security.authentication.dao.DaoAuthenticationProvider daoAuthenticationProvider(org.springframework.security.crypto.password.PasswordEncoder passwordEncoder, org.springframework.security.core.userdetails.UserDetailsService userDetailsService)
    • authManager

      @Bean public org.springframework.security.authentication.AuthenticationManager authManager(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      Throws:
      Exception
    • filterChain

      @Bean public org.springframework.security.web.SecurityFilterChain filterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      Throws:
      Exception