Frans Thamura wrote:
hi there
I want to filter any .action in my cimande project
and i want to give several database security to the action
i just think this will become ACL for Struts2
but...
I am also using Spring,
anyone can help me
is this better create my own interceptor (how to develop interceptor that
can access my POJO like action did) or using acegy security
any opinion welcome
If you anticipate having the complexity of a full ACL implementation,
I'd just go ahead and use AceGI; why re-invent all that machinery? If
you decide to roll your own, though, then the interceptor can access the
action through the ActionInvocation object and, through the action, can
access your POJO via whatever mechanism you want -- via ModelDriven's
getModel() method, through an interceptor-specific interface you design,
or whatever.
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]