Class WebSecurityConfiguration

java.lang.Object
io.meeds.spring.web.security.WebSecurityConfiguration
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.web.context.ServletContextAware

@Configuration @EnableWebSecurity @EnableMethodSecurity(prePostEnabled=true, securedEnabled=true, jsr250Enabled=true) public class WebSecurityConfiguration extends Object implements org.springframework.web.context.ServletContextAware
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.security.web.access.AccessDeniedHandler
     
    org.springframework.security.web.SecurityFilterChain
    filterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http, PortalAuthenticationManager authenticationProvider, org.springframework.security.web.util.matcher.RequestMatcher restRequestMatcher, org.springframework.security.web.util.matcher.RequestMatcher staticResourcesRequestMatcher, org.springframework.security.web.access.AccessDeniedHandler accessDeniedHandler, org.springframework.security.authorization.AuthorizationManager<org.springframework.security.web.access.intercept.RequestAuthorizationContext> requestAuthorizationManager)
     
     
    org.springframework.security.authorization.AuthorizationManager<org.springframework.security.web.access.intercept.RequestAuthorizationContext>
     
    org.springframework.security.web.util.matcher.RequestMatcher
     
    org.springframework.security.web.util.matcher.RequestMatcher
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.web.context.ServletContextAware

    setServletContext
  • Constructor Details

    • WebSecurityConfiguration

      public WebSecurityConfiguration()
  • Method Details

    • grantedAuthorityDefaults

      @Bean public static GrantedAuthorityDefaults grantedAuthorityDefaults()
    • filterChain

      @Bean public org.springframework.security.web.SecurityFilterChain filterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http, PortalAuthenticationManager authenticationProvider, @Qualifier("restRequestMatcher") org.springframework.security.web.util.matcher.RequestMatcher restRequestMatcher, @Qualifier("staticResourcesRequestMatcher") org.springframework.security.web.util.matcher.RequestMatcher staticResourcesRequestMatcher, @Qualifier("accessDeniedHandler") org.springframework.security.web.access.AccessDeniedHandler accessDeniedHandler, @Qualifier("requestAuthorizationManager") org.springframework.security.authorization.AuthorizationManager<org.springframework.security.web.access.intercept.RequestAuthorizationContext> requestAuthorizationManager) throws Exception
      Throws:
      Exception
    • restRequestMatcher

      @Bean("restRequestMatcher") public org.springframework.security.web.util.matcher.RequestMatcher restRequestMatcher()
    • staticResourcesRequestMatcher

      @Bean("staticResourcesRequestMatcher") public org.springframework.security.web.util.matcher.RequestMatcher staticResourcesRequestMatcher()
    • accessDeniedHandler

      @Bean("accessDeniedHandler") public org.springframework.security.web.access.AccessDeniedHandler accessDeniedHandler()
    • requestAuthorizationManager

      @Bean("requestAuthorizationManager") public org.springframework.security.authorization.AuthorizationManager<org.springframework.security.web.access.intercept.RequestAuthorizationContext> requestAuthorizationManager()