I'm doing the exact same thing this way:
Override the afterInvocationCollectionFilteringProvider's decide
package nl.graphit.npe.logic.security;
import org.acegisecurity.Authentication;...
Type: Posts; User: jteb; Keyword(s):
I'm doing the exact same thing this way:
Override the afterInvocationCollectionFilteringProvider's decide
package nl.graphit.npe.logic.security;
import org.acegisecurity.Authentication;...
Hmm, did a Thread.dumpStack() and figured out my method wasn't called from proxy. It seems JACN indeed didn't set the manager nicely. Weird. I moved my beandefinition to my spring context...
I'm trying to use AFTER_ACL_COLLECTION_READ, but to no avail. As far as I can see, things get set up ok. Just my interceptor doesn't get fired. This is my config file (partly):
<bean...
Would you please provide the rest of your configuration files as well? Prefferably in code blocks?
Works really well, except you have to copy some methods since they are private.
For anyone interested, here's what i did:
public class SecurityContextAwareRequestFilter
extends...
Yeah, sounds fair. I was thinking the other way around. Thinking that the filter "weaves" in the acegi roles with the request.
'll try, thanks!
Hi,
I know this might not be the right place to ask this, but I hope someone can help. I find the people here really helpful and my question is somewhat Acegi related.
I'm using Acegi to great...
Here's what I did. This should probably also work for you.
I have a User object configured using Hibernate Synchronizer (Eclipse). I altered it to implement UserDetails. The UserDAO needs to...