Hi,
I am trying to add a new role, ROLE_DEMO to the exisiting contacts example
here is my security.xml
This seems not working.Code:<bean id="filterInvocationInterceptor" class="org.acegisecurity.intercept.web.FilterSecurityInterceptor"> <property name="authenticationManager"><ref bean="authenticationManager"/></property> <property name="accessDecisionManager"><ref local="httpRequestAccessDecisionManager"/></property> <property name="objectDefinitionSource"> <value> CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON PATTERN_TYPE_APACHE_ANT /index.jsp=ROLE_ANONYMOUS,ROLE_USER,ROLE_DEMO /hello.htm=ROLE_ANONYMOUS,ROLE_USER,ROLE_DEMO /logoff.jsp=ROLE_ANONYMOUS,ROLE_USER,ROLE_DEMO /switchuser.jsp=ROLE_SUPERVISOR /j_acegi_switch_user=ROLE_SUPERVISOR /acegilogin.jsp*=ROLE_ANONYMOUS,ROLE_USER,ROLE_DEMO /**=ROLE_USER,ROLE_DEMO </value> </property> </bean>
Do I need to override any other classes for this?
Is it mandatory to have ROLE_ prefixed for all the roels?
Thanks



