Class DefaultSecurityFilterChain

java.lang.Object
org.craftercms.engine.util.spring.security.DefaultSecurityFilterChain
All Implemented Interfaces:
org.springframework.security.web.SecurityFilterChain

public class DefaultSecurityFilterChain extends Object implements org.springframework.security.web.SecurityFilterChain
Implementation of SecurityFilterChain that handles excluded urls
Since:
3.1.5
Author:
joseross
  • Field Details

    • securityEnabled

      protected boolean securityEnabled
    • urlsToExclude

      protected List<org.springframework.security.web.util.matcher.AntPathRequestMatcher> urlsToExclude
    • filters

      protected List<javax.servlet.Filter> filters
  • Constructor Details

    • DefaultSecurityFilterChain

      @ConstructorProperties({"securityEnabled","urlsToExclude","filters"}) public DefaultSecurityFilterChain(boolean securityEnabled, String[] urlsToExclude, List<javax.servlet.Filter> filters)
  • Method Details

    • matches

      public boolean matches(javax.servlet.http.HttpServletRequest request)
      Specified by:
      matches in interface org.springframework.security.web.SecurityFilterChain
    • getFilters

      public List<javax.servlet.Filter> getFilters()
      Specified by:
      getFilters in interface org.springframework.security.web.SecurityFilterChain