> I want secure method invocations with Acegi.

You need to use the "proxyAcegi" proxy object, so that the
MethodSecurityInterceptor gets a chance to be used.

The class being secured appears to be an MVC controller. Generally we
don't recommend securing Controller instances in this manner. Instead use
FilterSecurityInterceptor to protect particular URL patterns from being
invoked unless specific GrantedAuthority[]s are held. See the Contacts
Sample.

Best regards
Ben



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to