<bean id="filterInvocationInterceptor"
class="org.acegisecurity.intercept.web.FilterSecurityInterceptor">
<property name="authenticationManager" ref="authenticationManager" />
<property name="accessDecisionManager" ref="accessDecisionManager" />
<property name="objectDefinitionSource">
<value>
CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
PATTERN_TYPE_APACHE_ANT
/protect/**=SUPERADMIN
/admin/**=SUPERADMIN
/**=IS_AUTHENTICATED_ANONYMOUSLY
</value>
</property>
</bean>在上面中我把角色写成了SUPERADMIN,结果tomcat启动失败,请问必须以ROle_开头吗,我数据库中都是不以ROLE开头的,没法更改了已经。
class="org.acegisecurity.intercept.web.FilterSecurityInterceptor">
<property name="authenticationManager" ref="authenticationManager" />
<property name="accessDecisionManager" ref="accessDecisionManager" />
<property name="objectDefinitionSource">
<value>
CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
PATTERN_TYPE_APACHE_ANT
/protect/**=SUPERADMIN
/admin/**=SUPERADMIN
/**=IS_AUTHENTICATED_ANONYMOUSLY
</value>
</property>
</bean>在上面中我把角色写成了SUPERADMIN,结果tomcat启动失败,请问必须以ROle_开头吗,我数据库中都是不以ROLE开头的,没法更改了已经。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货