Class AbstractWebSecurityConfigurer

  • All Implemented Interfaces:
    org.springframework.core.Ordered, 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:
    AbstractApiSecurityConfigurer, WebUISecurityConfigurer

    public abstract class AbstractWebSecurityConfigurer
    extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
    implements org.springframework.core.Ordered
    • Method Detail

      • configure

        protected void configure​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
                          throws Exception
        Overrides:
        configure in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
        Throws:
        Exception
      • configureAuthenticationManager

        protected org.springframework.security.config.annotation.web.builders.HttpSecurity configureAuthenticationManager​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
      • configure

        protected void configure​(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth)
                          throws Exception
        Overrides:
        configure in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
        Throws:
        Exception
      • configurePermissions

        protected abstract org.springframework.security.config.annotation.web.builders.HttpSecurity configurePermissions​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
                                                                                                                  throws Exception
        Throws:
        Exception
      • requestMatcher

        protected org.springframework.security.web.util.matcher.RequestMatcher requestMatcher()
      • configureMDCPrincipalFilter

        protected org.springframework.security.config.annotation.web.builders.HttpSecurity configureMDCPrincipalFilter​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
                                                                                                                throws Exception
        Throws:
        Exception
      • configureRequestParameterTenantScopeFilter

        protected org.springframework.security.config.annotation.web.builders.HttpSecurity configureRequestParameterTenantScopeFilter​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
      • configureCsrf

        protected org.springframework.security.config.annotation.web.builders.HttpSecurity configureCsrf​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
                                                                                                  throws Exception
        Throws:
        Exception
      • configureCors

        protected org.springframework.security.config.annotation.web.builders.HttpSecurity configureCors​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
                                                                                                  throws Exception
        Throws:
        Exception
      • configureAuthentication

        protected org.springframework.security.config.annotation.web.builders.HttpSecurity configureAuthentication​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
                                                                                                            throws Exception
        Throws:
        Exception
      • configureFrameOptions

        protected org.springframework.security.config.annotation.web.builders.HttpSecurity configureFrameOptions​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
                                                                                                          throws Exception
        Throws:
        Exception
      • configureLogout

        protected org.springframework.security.config.annotation.web.builders.HttpSecurity configureLogout​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
                                                                                                    throws Exception
        Throws:
        Exception
      • getContextPath

        protected final String getContextPath()
      • getOrder

        public int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered
      • getTenantRequiredMatcher

        @NonNull
        protected org.springframework.security.web.util.matcher.RequestMatcher getTenantRequiredMatcher()