<logic:present role="your-role" > your display code here </logic:present>
> > Hi Dan, > > Thanks for your response, I was wondering if there is any wayout to know > the role of the logged in user at the JSP level so that I can include or > NOT include a particular section of the page. > > Regards > Sreekant G > @ 98404-65630 > > > > "Dan Tran" > <[EMAIL PROTECTED] To: "Struts Users Mailing List" > .com> <[EMAIL PROTECTED]> > cc: > 08/19/2003 06:02 Subject: Re: Security and Roles related > PM > Please respond to > "Struts Users > Mailing List" > > > > > > > You can assign a role attribute with multiple role names in the action > configuration. > > Underneath, struts uses isUserInRole to check against the list you > provided. > > However, checking security is better off to let container do it for you. > > -D > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, August 19, 2003 4:07 AM > Subject: Security and Roles related > > > > Does STRUTS provide integration with any security framework independent > of > > the underlying application server. Basically I am looking at services > like > > isUserInRole(), getRole() and the sort. > > > > Regards > > Sreekant G > > @ 98404-65630 > > > > > > > > > -------------------------------------------------------------------------- -- > > ---- > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]