<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    隨筆-295  評論-26  文章-1  trackbacks-0
    Class FilterChainProxy
    java.lang.Objectextended by org.acegisecurity.util.FilterChainProxy
    All Implemented Interfaces:
    Filter, InitializingBean, ApplicationContextAware

    public class FilterChainProxy
    extends Object
    implements Filter, InitializingBean, ApplicationContextAware

    Delegates Filter requests to a list of Spring-managed beans.

    通過一系列的由spring托管的beans ,代理過濾請求。
    FilterChainProxy 通過在web.xml中定義的FilterToBeanProxy 被加載,F(xiàn)ilterChainProxy 將會通過init(FilterConfig), destroy() and doFilter(ServletRequest, ServletResponse, FilterChain)調用,調用每一個在其中定義的過濾器。

    The FilterChainProxy is loaded via a standard FilterToBeanProxy declaration in web.xml. FilterChainProxy will then pass init(FilterConfig), destroy() and doFilter(ServletRequest, ServletResponse, FilterChain) invocations through to each Filter defined against FilterChainProxy.

    ?
    ??? FilterChainProxy? 是通過一個標準的FilterInvocationDefinitionSource 來實現(xiàn)配置的,每個可能的FilterChainProxy應該服務的URI模式都必須進入
    ??????????? 第一個搭配的URI模式將會被用來定義處理請求的所有的過濾器,就是說只適配第一組過濾器,后面的其他過濾器將無效。
    FilterChainProxy
    is configured using a standard FilterInvocationDefinitionSource. Each possible URI pattern that FilterChainProxy should service must be entered. The first matching URI pattern located by FilterInvocationDefinitionSource for a given request will be used to define all of the Filters that apply to that request. NB: This means you must put most specific URI patterns at the top of the list, and ensure all Filters that should apply for a given URI pattern are entered against the respective entry. The FilterChainProxy will not iterate the remainder of the URI patterns to locate additional Filters. The FilterInvocationDefinitionSource described the applicable URI pattern to fire the filter chain, followed by a list of configuration attributes. Each configuration attribute's ConfigAttribute.getAttribute() corresponds to a bean name that is available from the application context.

    FilterChainProxy respects normal handling of Filters that elect not to call Filter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain), in that the remainder of the origial or FilterChainProxy-declared filter chain will not be called.

    It is particularly noted the Filter lifecycle mismatch between the servlet container and IoC container. As per FilterToBeanProxy JavaDocs, we recommend you allow the IoC container to manage lifecycle instead of the servlet container. By default the FilterToBeanProxy will never call this class' init(FilterConfig) and destroy() methods, meaning each of the filters defined against FilterInvocationDefinitionSource will not be called. If you do need your filters to be initialized and destroyed, please set the lifecycle initialization parameter against the FilterToBeanProxy to specify servlet container lifecycle management.

    If a filter name of TOKEN_NONE is used, this allows specification of a filter pattern which should never cause any filters to fire.



    大盤預測 國富論
    posted on 2007-09-12 16:20 華夢行 閱讀(1941) 評論(0)  編輯  收藏 所屬分類: Spring
    主站蜘蛛池模板: 免费无码毛片一区二区APP| 美女视频免费看一区二区| APP在线免费观看视频| 久久精品国产精品亚洲艾草网美妙| 亚洲中文字幕乱码熟女在线| 久久久久久久免费视频| 亚洲午夜电影在线观看高清 | 中文字幕一精品亚洲无线一区| 免费的黄网站男人的天堂| 亚洲AV无码一区二区三区在线观看 | 豆国产96在线|亚洲| 免费播放特黄特色毛片| 日日摸夜夜添夜夜免费视频| 亚洲真人日本在线| 抽搐一进一出gif免费视频| 亚洲精品无码乱码成人| 老司机69精品成免费视频| 亚洲国产成人久久综合碰碰动漫3d| 鲁丝片一区二区三区免费| 亚洲福利电影在线观看| 两性刺激生活片免费视频| 最新亚洲人成网站在线观看| 亚洲精品和日本精品| 久久青草国产免费观看| 亚洲av专区无码观看精品天堂| 妞干网免费视频在线观看| 九九九精品视频免费| 久久亚洲一区二区| 毛片A级毛片免费播放| 一级特黄录像免费播放中文版| 国产成人精品日本亚洲| 免费人成在线视频| 一级毛片视频免费观看| 亚洲麻豆精品果冻传媒| 国产色爽免费视频| 美女视频黄a视频全免费网站色窝| 亚洲人成在久久综合网站| 亚洲国产精品无码久久九九| 中文字幕在线免费观看| 美女视频黄a视频全免费网站色| 久久精品国产亚洲av水果派|