在右边会出现一个空的过滤器配置。
An empty filter configuration will appear on the right. Fill in the following values, as shown in Figure 8.
文件过滤器配置XML文件。
打开文件后,会发现很多bean配置类似于acegi的过滤器配置。
When you open the file, you see a number of bean configurations similar to Acegi's filter configuration.
这些选择器字符串使用的类似于XPath的语法与过滤器配置中的语法相同。
These selector strings use the same XPath-like syntax as the filter configuration.
HelloWorldJSP的web . xml文件包含下面的servlet过滤器配置。
The web.xml file for the HelloWorld JSP contains the following servlet filter configuration.
可重用的:归功于过滤器实现类的模块化设计,以及声明式的过滤器配置方式,过滤器可以容易地跨越不同的项目和应用程序使用。
Reusable: Thanks to the modular design of a filter's implementation class, and the declarative way that a filter is configured, filters can easily be used across projects and applications.
你可以建立几个方法配置,它们在RMC的整体方法库上定义过滤器。
You can create several method configurations defining filters on the overall method library in RMC.
您可以根据应用程序的需要使用和配置不同类型的过滤器。
You can use and configure various types of filters according to your application requirements.
根据安全过滤器的讨论中的示例,您应该很熟悉这些配置。
The configuration should be familiar to you based on the examples in the discussion of security filters.
下一节将说明如何在文件中定义任意数量的用户及其用户角色,然后配置拦截过滤器以使用这些文件。
The next section explains how you can define any number of users and their roles in a file and then configure an Acegi Interceptor filter to use the file.
通道还能被配置成过滤器,它定义了通道希望接收的事件集合。
A channel may be configured with filters, which define the set of events that the channel accepts.
清单5显示了DVI过滤器的两个配置文件。
Listing 5 shows the two configuration files for the DVI filter.
幸运的是,我研究的大多数过滤器都带有相当出色的文档,里面讲述了如何配置它们以与各种MTA协同工作。
Fortunately, most of the filters I look at come with pretty good documentation covering how to configure them with various MTAs.
您对每一个转换配置所做的过滤器设置会得到保存。
Your filter settings for each transformation configuration are saved.
您也可以为与过程配置相关的主题类型(例如:任务、工作产品、指导、工具指导、检查列表、样例等等)创建过滤器。
You can also create filters for the types of topics that you are relevant to your process configuration (for example: tasks, work products, guidance, Tool Mentors, checklists, examples, and so on).
拦截过滤器使用三个组件来做出授权决策,我在清单7中对其进行了配置。
Interceptor filters use three components to make authorization decisions, which I have configured in Listing 7.
应用程序配置——DSAPI过滤器如何用于提供较强的身份验证和授权控制?
Application configuration a "how a DSAPI filter was used to provide stronger authentication and authorization controls."
出于这个目的,Acegi保存了一个过滤器链对象,它封装了为保护应用程序而配置了的所有过滤器。
For this purpose, Acegi maintains a filter chain object, which wraps all the filters you have configured to secure your application.
下一节将进一步介绍 Acegi的身份验证处理过滤器,了解新配置的bean是如何管理身份验证过程的。
The next section digs deeper into Acegi's Authentication Processing Filter to see how its newly configured beans manage the process of authentication.
要向Sametime服务器配置中添加正确的DSAPI过滤器文件名,请执行下列操作。
To add the correct DSAPI filter file name to the Sametime server configuration, do the following.
下一节将展示如何在XML配置文件中配置Acegi过滤器。
The next section shows you how to configure Acegi filters in an XML configuration file.
这些消息表示已经安装了SiteMinderWeb代理,并且已经在服务器上进行了正确的配置,而且SiteMinderDSAPI过滤器也已经成功加载。
These messages indicate that the SiteMinder Web agent has been installed and configured correctly on your server and that the SiteMinder DSAPI filter is loading successfully.
所以Servlet过滤器是通过一个配置文件来灵活声明的模块化可重用组件。
So, Servlet filters are modular, reusable components that are flexibly declared via a configuration file.
servlet容器检查web.xml文件中任何配置的过滤器。
The servlet container checks the web.xml file for any filters configured.
修改web . xml文件来配置servlet过滤器。
您要做的只是在web. xml文件中配置过滤器参数。
All you have to do is to configure the filter parameters in the web.xml file.
清单3展示了如何在web . xml中配置browseridfilter类,以便过滤器能够截获每个HTTP请求。
Listing 3 shows how to configure the BrowserIdFilter class in web.xml so the filter can intercept every HTTP request.
回忆一下,您在本系列第 1部分的配置身份验证处理过滤器 中曾对 authenticationManager属性进行了配置。
Recall that you configured the authenticationManager property while configuring the authentication processing filter in the first article of this series.
这个过滤器可以读取上述shiro . ini配置,这样不论什么开发环境,你都拥有了一致的配置体验。
This filter can read the aforementioned shiro.ini config so you have a consistent configuration experience regardless of deployment environment.
在接下来的几小节中,我们将进一步考察servlet过滤器机制的总体设计,以及实现、配置和部署过滤器所涉及的步骤。
In the sections that follow, we will take a closer look at the overall design of the Servlet filter mechanism and the steps involved in implementing, configuring, and deploying filters.
应用推荐