因为这是一个“And”过滤器,如果第一条规则的计算结果为false,就没有必要在执行过滤器的第二部分。
Because this is an "And" filter, if the first rule evaluates to false, there is no need to execute the second part of the filter.
每个过滤器和缓存分别执行。
采用Shiro的方法,可以很容易就准确知道针对给定匹配路径执行的过滤器链。
Using Shiro's approach, it is much easier to see exactly the filter chain that is executed for a given matching path.
应用推荐