On Sat, 25 Sep 2004 22:24:36 +0200, Adam Hardy <[EMAIL PROTECTED]> wrote:[snip] The suggested solution is to wrap all form controls in a Spring-based role-manager taglib. The JSPs are ugly enough as it is so I find that idea bad.
Isn't that pretty much the same thing that you would do if you were using container managed security? Something like this:
<logic:present role="manager"> ... stuff only a manager should see ... </logic:present>
I don't see anything wrong with this (the standard Struts tag doesn't deal with Spring's security, but you could easily extend it to do so).
No, I was going to use the role attribute on the tile definition in the tiles-defs.xml. I guess I'm being too anal trying to keep my JSPs clean of taglibs.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]