I see how the Filter and Wrapper work roughly but how do I apply them to my requests?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wendy Smoak Sent: Monday, December 05, 2005 4:11 PM To: Garner, Shawn Subject: Re: [shale][tomahawk] user-role [offlist] On 12/5/05, Garner, Shawn <[EMAIL PROTECTED]> wrote: > If user is in given role, this component will be rendered normally. If not, > nothing is rendered and the body of this tag will be skipped. > > I'm not familiar with container managed security. We have our own home > brewed security methods. Can you provide me with a link on it? We're using > JRun. Google should turn up plenty on "Container Managed Security". I'm also using a non-standard auth mechanism, but I'm able to take advantage of the "user roles" feature of CMS by using a Filter and a RequestWrapper. (I haven't quite gotten it to work in front of a Shale app, but I'm close and I don't see any reason why it won't eventually work.) If that sounds like it might work for you as well, take a look at these notes: http://wiki.wsmoak.net/cgi-bin/wiki.pl?TomcatRequestWrapper Let me know if you have any questions. :) -- Wendy **************************************************************************** This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. **************************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]