List of usage examples for org.apache.shiro.web.servlet ProxiedFilterChain ProxiedFilterChain
public ProxiedFilterChain(FilterChain orig, List<Filter> filters)
From source file:com.stormpath.shiro.servlet.filter.ShiroPrioritizedFilterChainResolver.java
License:Apache License
@Override public FilterChain getChain(ServletRequest request, ServletResponse response, FilterChain chain) { FilterChain target = delegate.getChain(request, response, chain); if (target == null) { target = chain;/*from w w w . jav a2 s . c om*/ } if (CollectionUtils.isEmpty(priorityFilters)) { return target; } return new ProxiedFilterChain(target, priorityFilters); }