acegi securtiy 中如何设置拦截一个带参数的Url呀
acegi配置url filter
拦截一般的URL没有问题,比如:/manage/admin_login.jsp或者/users/userMngAction.do
配置文件相关内容如下:
<bean id="filterInvocationInterceptor" class="net.sf.acegisecurity.intercept.web.FilterSecurityInterceptor">
<property name="authenticationManager">
<ref bean="authenticationManager"/>
</property>
<property name="accessDecisionManager">
<ref bean="accessDecisionManager"/>
</property>
<property name="objectDefinitionSource">
<value>
\A/manage/admin_login.jsp\Z=ROLE_USER
\A/users/userMngAction.do\Z=ROLE_SUPERVISOR
</value>
</property>
</bean>
可是,如果我要拦截带参数的URL呢,该怎么配置
比如:/users/userMngAciton.do?method=listAll
我试着这样写
\A/users/userMngAction.do?method=listAll\Z=ROLE_SUPERVISOR
但是不起作用,谁知道该怎样配置呢