Re: [T5] Is there a working Acegi example available?

2007-07-17 Thread Thomas Beckmann
Hi, Am Montag, 2. Juli 2007 20:21 schrieb Daniel Jue: > Dear List, > > I'm sorry, I think I found my problem, and it was a stupid one. It > took a 3rd cup of coffee to make it appear. > > I wasn't prefixing my Authority strings with "ROLE_" > > i.e. my DB had "ADMIN" stored in a field instead of

Re: [T5] Is there a working Acegi example available?

2007-07-03 Thread Daniel Jue
Thanks Petros, your example is one of a few I've been working with. My main issue now is where to assign the principal to an ASO, so I don't have to look it up in the security context all the time. This is a normal/proper thing to do, right? In my previous non-Acegi applications where a user log

Re: [T5] Is there a working Acegi example available?

2007-07-02 Thread petros
/> >> >> > ref="authenticationManager" /> >> > ref="rememberMeServices" /> >> >> >> > class="org.acegisecurity.ui.webapp.AuthenticationProcessingFilterE

Re: [T5] Is there a working Acegi example available?

2007-07-02 Thread Daniel Jue
Dear List, I'm sorry, I think I found my problem, and it was a stupid one. It took a 3rd cup of coffee to make it appear. I wasn't prefixing my Authority strings with "ROLE_" i.e. my DB had "ADMIN" stored in a field instead of "ROLE_ADMIN" This still doesn't explain why I wasn't redirected pr

[T5] Is there a working Acegi example available?

2007-07-02 Thread Daniel Jue
I am beating my head against a brick wall. I am trying to get Acegi working (using Spring to configure it). I have it working to the point where a secured page (secured in the xml files, not using any annotations for securing classes) redirects me to a login page. If I type in a login/password t