As stated, RoleVoter only votes when the secured resource has configuration
attributes that are prefixed with ROLE_. However, the ROLE_ prefix is only a default.
You may choose to override the default prefix by setting the rolePrefix property:
But what if I want any prefix, so user with role XXX or YYY could be authenticate (undependent of role prefix). I try * but it didn't work.Code:<bean id="roleVoter" class="net.sf.acegisecurity.vote.RoleVoter"> <property name="rolePrefix"> <value>GROUP_</value> </property> </bean>
Can you help me?


