org.acegisecurity.securechannel
Class ChannelProcessingFilter
java.lang.Object
org.acegisecurity.securechannel.ChannelProcessingFilter
- All Implemented Interfaces:
- Filter, InitializingBean
public class ChannelProcessingFilter
- extends Object
- implements InitializingBean, Filter
Ensures a web request is delivered over the required channel.
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.
Do not use this class directly. Instead configure web.xml to use the FilterToBeanProxy.
- Version:
- $Id: ChannelProcessingFilter.java 1496 2006-05-23 13:38:33Z benalex $
- Author:
- Ben Alex
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChannelProcessingFilter
public ChannelProcessingFilter()
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface InitializingBean
- Throws:
Exception
destroy
public void destroy()
- Specified by:
destroy in interface Filter
doFilter
public void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws IOException,
ServletException
- Specified by:
doFilter in interface Filter
- Throws:
IOException
ServletException
getChannelDecisionManager
public ChannelDecisionManager getChannelDecisionManager()
getFilterInvocationDefinitionSource
public FilterInvocationDefinitionSource getFilterInvocationDefinitionSource()
init
public void init(FilterConfig filterConfig)
throws ServletException
- Specified by:
init in interface Filter
- Throws:
ServletException
setChannelDecisionManager
public void setChannelDecisionManager(ChannelDecisionManager channelDecisionManager)
setFilterInvocationDefinitionSource
public void setFilterInvocationDefinitionSource(FilterInvocationDefinitionSource filterInvocationDefinitionSource)
Copyright © 2004-2006 Acegi Technology Pty Limited. All Rights Reserved.