Class ZeusSecurityConfig

java.lang.Object
com.brihaspathee.zeus.config.ZeusSecurityConfig

@Configuration @EnableWebSecurity @EnableMethodSecurity(securedEnabled=true, prePostEnabled=true) public class ZeusSecurityConfig extends Object
Created in Intellij IDEA User: Balaji Varadharajan Date: 23, May 2022 Time: 5:41 AM Project: Zeus Package Name: com.brihaspathee.zeus.config To change this template use File | Settings | File and Code Template
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.springframework.security.authentication.AuthenticationManager
    authenticationManager(org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration authenticationConfiguration)
     
    protected org.springframework.security.web.SecurityFilterChain
    filterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity httpSecurity)
     
    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

    • ZeusSecurityConfig

      public ZeusSecurityConfig()
  • Method Details

    • passwordEncoder

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

      @Bean protected org.springframework.security.web.SecurityFilterChain filterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity httpSecurity) throws Exception
      Throws:
      Exception
    • authenticationManager

      @Bean protected org.springframework.security.authentication.AuthenticationManager authenticationManager(org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration authenticationConfiguration) throws Exception
      Throws:
      Exception