使用拦截策略(参阅图1),您使用speak方法在目标对象前创建了一个代理。
Using the interceptor strategy (see Figure 1), you create a proxy in front of the target object with the speak method.
现在,只需了解拦截器可以拦截用户并在用户访问bean之前实现访问控制策略。
For the moment, just note that an interceptor can intercept a user's request and implement an access control policy before allowing the user to access the bean.
根据策略配置Acegi的拦截过滤器。
Configuring Acegi's interceptor filter according to the policy.
应用推荐