Re: [Acegisecurity-developer] Is the "ROLE_" prefix required for all roles?

2004-07-13 Thread Daniel Washusen
Thanks guys, yeah, I ended up adding the "ROLE_" to my roles in the AuthenticationDAO implementation. It might be worth making the error message that gets thrown a little more informative. "Unsupported configuration attributes: [BLOGGER]" had me scratching my head. Cheers and thanks for the hel

Re: [Acegisecurity-developer] Is the "ROLE_" prefix required for all roles?

2004-07-13 Thread Andy Depue
I'm doing something similar in my AuthenticationDao implementation. Since all the roles are stored in the DB without the "ROLE_" prefix (and usually in lower case), I simply convert them in my Dao before returning to Acegi: --- public User loadUserByUsername(final String username) throws User

Re: [Acegisecurity-developer] Is the "ROLE_" prefix required for all roles?

2004-07-13 Thread Karel Miarka
;Daniel Washusen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 13, 2004 12:21 PM Subject: [Acegisecurity-developer] Is the "ROLE_" prefix required for all roles? > Hi All, > I've been mucking around Acegi for a few days now and I'm c

Re: [Acegisecurity-developer] Is the "ROLE_" prefix required for all roles?

2004-07-13 Thread Ben Alex
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 r

[Acegisecurity-developer] Is the "ROLE_" prefix required for all roles?

2004-07-13 Thread Daniel Washusen
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/**=BLO