t Tag panelGroup
visibleOnUserRole false false java.lang.String 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. Shawn -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig McClanahan Sent: Monday, December 05, 2005 3:50 PM To: Struts Users Mailing List Subject: Re: [shale][tomahawk] user-role On 12/5/05, Garner, Shawn <[EMAIL PROTECTED]> wrote: > > I saw that some of the tags in the tomahawk use a user-role property. > > I was wondering how you would set this user-role field for a person in a > java class when they log in? > > I couldn't find any documentation on this field. Are you talking about the "visibleOnUserRole" attribute on many of the tags? The best place to ask questions about them would be on the MyFaces user list, but my understanding is that these tags assume you are using the standard container managed security facilities of your servlet container (or an add-on package that fakes it, like securityfilter from SourceForge). You can google for "container managed security" to get more information on this general topic, which is part of the Servlet Specification (and therefore able to be used by JSF based applications as well). Shawn Craig **************************************************************************** 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. ****************************************************************************