List of usage examples for org.springframework.security.web SecurityFilterChain matches
boolean matches(HttpServletRequest request);
From source file:grails.plugin.springsecurity.web.filter.DebugFilter.java
protected List<Filter> getFilters(HttpServletRequest request) { for (SecurityFilterChain chain : filterChainProxy.getFilterChains()) { if (chain.matches(request)) { return chain.getFilters(); }//from w w w . j a va 2 s .com } return null; }
From source file:org.springframework.security.config.annotation.web.builders.DebugFilter.java
private List<Filter> getFilters(HttpServletRequest request) { for (SecurityFilterChain chain : fcp.getFilterChains()) { if (chain.matches(request)) { return chain.getFilters(); }/*from w ww .j a v a2 s . c o m*/ } return null; }
From source file:org.springframework.security.web.FilterChainProxy.java
/** * Returns the first filter chain matching the supplied URL. * * @param request the request to match//from w w w. j a v a 2s . co m * @return an ordered array of Filters defining the filter chain */ private List<Filter> getFilters(HttpServletRequest request) { for (SecurityFilterChain chain : filterChains) { if (chain.matches(request)) { return chain.getFilters(); } } return null; }