public interface FilterChainResolver
FilterChainResolvercan resolve an appropriate
FilterChainto execute during a
ServletRequest. It allows resolution of arbitrary filter chains which can be executed for any given request or URI/URL. This mechanism allows for a much more flexible FilterChain resolution than normal
web.xmlservlet filter definitions: it allows arbitrary filter chains to be defined per URL in a much more concise and easy to read manner, and even allows filter chains to be dynamically resolved or constructed at runtime if the underlying implementation supports it.
FilterChain getChain(ServletRequest request, ServletResponse response, FilterChain originalChain)
nullif the original chain should be used. This method allows a implementation to define arbitrary security
Filterchains for any given request or URL pattern.
request- the incoming ServletRequest
response- the outgoing ServletResponse
originalChain- the original
FilterChainintercepted by the ShiroFilter implementation.
nullif the original chain should be used.
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.