Class AbstractSecurityConfiguration

  • All Implemented Interfaces:
    org.springframework.security.config.annotation.SecurityConfigurer<javax.servlet.Filter,​org.springframework.security.config.annotation.web.builders.WebSecurity>, org.springframework.security.config.annotation.web.WebSecurityConfigurer<org.springframework.security.config.annotation.web.builders.WebSecurity>
    Direct Known Subclasses:
    SecurityConfiguration, SecurityConfigurationLdap, SecurityConfigurationStaticEnabled

    public abstract class AbstractSecurityConfiguration
    extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected void configureFilters​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)  
      protected void configureSession​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)  
      protected abstract org.springframework.core.env.Environment getEnvironment()  
      protected java.lang.String[] getPatterns()  
      protected abstract java.lang.String[] getServerPatterns()  
      protected abstract java.lang.String[] getStaticPatterns()  
      protected abstract boolean isCsrfEnabled()  
      protected abstract boolean isOpenRegistration()  
      protected void setCsrf​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)  
      • Methods inherited from class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter

        authenticationManager, authenticationManagerBean, configure, configure, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBean
      • Methods inherited from class java.lang.Object

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

      • AbstractSecurityConfiguration

        public AbstractSecurityConfiguration()
    • Method Detail

      • setCsrf

        protected void setCsrf​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getPatterns

        protected java.lang.String[] getPatterns()
      • configureSession

        protected void configureSession​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • configureFilters

        protected void configureFilters​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
      • isOpenRegistration

        protected abstract boolean isOpenRegistration()
      • isCsrfEnabled

        protected abstract boolean isCsrfEnabled()
      • getStaticPatterns

        protected abstract java.lang.String[] getStaticPatterns()
      • getServerPatterns

        protected abstract java.lang.String[] getServerPatterns()
      • getEnvironment

        protected abstract org.springframework.core.env.Environment getEnvironment()