Class WebSecurityConfiguration

java.lang.Object
org.exoplatform.documents.webdav.configuration.WebSecurityConfiguration
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.web.context.ServletContextAware

@Configuration @EnableWebSecurity 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
     
    io.meeds.spring.web.security.PortalAuthenticationManager
     
    org.springframework.security.web.SecurityFilterChain
    filterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http, io.meeds.spring.web.security.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)
     
    static io.meeds.spring.web.security.GrantedAuthorityDefaults
     
    org.springframework.security.web.firewall.StrictHttpFirewall
     
    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 io.meeds.spring.web.security.GrantedAuthorityDefaults grantedAuthorityDefaults()
    • filterChain

      @Bean public org.springframework.security.web.SecurityFilterChain filterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http, io.meeds.spring.web.security.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()
    • httpFirewall

      @Bean public org.springframework.security.web.firewall.StrictHttpFirewall httpFirewall()
      Returns:
      StrictHttpFirewall which customizes the Allowed HTTP Methods
    • authenticationManager

      @Bean public io.meeds.spring.web.security.PortalAuthenticationManager authenticationManager()