<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 被加載,FilterChainProxy 將會通過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 來實現配置的,每個可能的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
    主站蜘蛛池模板: 国产成A人亚洲精V品无码性色 | 国产啪精品视频网免费| 8x8×在线永久免费视频| 在线看片韩国免费人成视频| 成人毛片18女人毛片免费视频未| 国产成人aaa在线视频免费观看| 亚洲AV无码专区日韩| 国产亚洲综合一区柠檬导航| 亚洲国产成人无码av在线播放| 亚洲国产欧美一区二区三区| 免费看又黄又爽又猛的视频软件| 中文字幕在线免费播放| 亚洲第一网站免费视频| 亚洲免费在线观看| 78成人精品电影在线播放日韩精品电影一区亚洲 | 国产一级一片免费播放i| 亚洲Av熟妇高潮30p| 亚洲熟妇自偷自拍另欧美| 国产精品美女久久久免费| 国产免费女女脚奴视频网| 亚洲综合久久一本伊伊区| 91在线免费视频| 国产嫩草影院精品免费网址| 曰批全过程免费视频免费看 | 免费在线精品视频| 亚洲精品久久无码| 免费在线观看污网站| 大妹子影视剧在线观看全集免费| 亚洲韩国精品无码一区二区三区| 日本免费一区二区三区 | 性xxxxx免费视频播放 | 亚洲日本久久一区二区va| 免费无码又爽又刺激高潮的视频| 亚洲国产高清人在线| a级毛片在线免费看| 亚洲国产精品成人精品软件| 99久久久国产精品免费牛牛 | 天天干在线免费视频| 亚洲国产日韩在线人成下载| 日本黄色免费观看| 亚洲中文字幕无码中文|