public class ChannelProcessingFilter extends SpringSecurityFilter implements org.springframework.beans.factory.InitializingBean
Internally uses a FilterInvocation
to represent the request, so that the
FilterInvocation
-related property editors and lookup classes can be used.
Delegates the actual channel security decisions and necessary actions to the configured
ChannelDecisionManager
. If a response is committed by the ChannelDecisionManager
,
the filter chain will not proceed.
logger
Constructor and Description |
---|
ChannelProcessingFilter() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
doFilterHttp(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain) |
ChannelDecisionManager |
getChannelDecisionManager() |
FilterInvocationDefinitionSource |
getFilterInvocationDefinitionSource() |
int |
getOrder() |
void |
setChannelDecisionManager(ChannelDecisionManager channelDecisionManager) |
void |
setFilterInvocationDefinitionSource(FilterInvocationDefinitionSource filterInvocationDefinitionSource) |
destroy, doFilter, init, toString
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
public void doFilterHttp(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain) throws java.io.IOException, javax.servlet.ServletException
doFilterHttp
in class SpringSecurityFilter
java.io.IOException
javax.servlet.ServletException
public ChannelDecisionManager getChannelDecisionManager()
public FilterInvocationDefinitionSource getFilterInvocationDefinitionSource()
public void setChannelDecisionManager(ChannelDecisionManager channelDecisionManager)
public void setFilterInvocationDefinitionSource(FilterInvocationDefinitionSource filterInvocationDefinitionSource)
public int getOrder()
getOrder
in interface org.springframework.core.Ordered