[Acegisecurity-developer] incorporating Acegi from JSTL/Struts Tags

2005-04-26 Thread Greg Akins
I would like to use Acegi to display a value in a JSP page conditionally. Preferably using logic:present/ There is probably a pretty obvious answer to this; and I'm going to go looking for it now. However, I'm on a tight deadline. So if anyone can point me to a FAQ, Wiki entry... Or anything

Re: [Acegisecurity-developer] incorporating Acegi from JSTL/Struts Tags

2005-04-26 Thread Matt Raible
You should be able to use the roles attribute of logic:present if you enable Acegi's ContextHolderAwareRequestFilter (http://tinyurl.com/8knk9). Matt On Apr 26, 2005, at 8:45 AM, Greg Akins wrote: I would like to use Acegi to display a value in a JSP page conditionally. Preferably using

Re: [Acegisecurity-developer] incorporating Acegi from JSTL/Struts Tags

2005-04-26 Thread Greg Akins
Thanks! While I was checking into this I also ran into the authz:authorize tag. Any thoughts on whether it's better to call the roles attribute using logic:present vs relying on the Acegi tag libraries? --- Matt Raible [EMAIL PROTECTED] wrote: You should be able to use the roles attribute of

Re: [Acegisecurity-developer] incorporating Acegi from JSTL/Struts Tags

2005-04-26 Thread Matt Raible
You could certainly use either if you've enabled the filter I mentioned below. I suppose it depends on how much you want your code to be tied to Acegi. If there's a possibility you'll revert back to CMA someday, I'd use logic:present. Matt On Apr 26, 2005, at 9:44 AM, Greg Akins wrote:

[Acegisecurity-developer] Securing methods to the parameter level

2005-04-26 Thread Doody, John
Title: Message I'm new to Acegi Security and I'm evaluating how it works and at the moment I'm not finding a way to declare method-level security with differing parameters. Is this possible with Acegi Security? To attempt to make my question clearer, here is an XML snippet of what I'm