Daniel Washusen wrote:
Hi All, I've been mucking around Acegi for a few days now and I'm curious the the "ROLE_" prefix, that, as far as I can tell is mandatory. Can anyone confirm this?
If I make my role deffinitions look like "/secure/**=ROLE_BLOGGER" it seems to work fine, but if I specifiy a role of "/secure/**=BLOGGER" I get an error when my webapp launches...
Hi Daniel
Each AccessDecisionVoter needs to know whether or not it will vote on a particular configuration attribute. The RoleVoter looks for a prefix on each configuration attribute, by default ROLE_. You can customise this to whatever prefix you like, or remove it entirely - see the RoleVoter class JavaDocs for a more detailed discussion.
Best regards Ben
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Acegisecurity-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer