Class SpringSecurityConf

java.lang.Object
sk.iway.iwcm.system.spring.SpringSecurityConf

@Configuration @EnableWebSecurity @EnableMethodSecurity(securedEnabled=true, prePostEnabled=true) public class SpringSecurityConf extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    configureSecurity(org.springframework.security.config.annotation.web.builders.HttpSecurity http, String className)
     
    org.springframework.security.web.SecurityFilterChain
    filterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
     
    static boolean
    Returns true if Basic Auth is enabled, it is initilized on startup, so tests can't rely on springSecurityAllowedAuths conf value
    org.springframework.security.web.firewall.HttpFirewall
     

    Methods inherited from class java.lang.Object

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

    • SpringSecurityConf

      public SpringSecurityConf()
  • Method Details

    • filterChain

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

      @Bean public org.springframework.security.web.firewall.HttpFirewall webjetHttpFirewall()
    • configureSecurity

      protected void configureSecurity(org.springframework.security.config.annotation.web.builders.HttpSecurity http, String className)
    • isBasicAuthEnabled

      public static boolean isBasicAuthEnabled()
      Returns true if Basic Auth is enabled, it is initilized on startup, so tests can't rely on springSecurityAllowedAuths conf value
      Returns: