Betty,

Feel free to use a Filter which wraps the HttpServletRequest (see
HttpServletRequestWrapper) and provides the implementation for isUserInRole
for your custom role model.

Thanks,
Paul

-----Original Message-----
From: Betty Koon [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 10, 2005 12:50 PM
To: 'Struts Users Mailing List'
Subject: User Delegation with struts


> Hi all,
> 
> Anyone has any good strategy or pointers for doing
> user/role delegation with struts.  We are not using
> J2EE container authentication.  We will have our own
> role model.  I will like more fine grain control on
> turning on and off visual elements with different
> role
> information.  Thanks.
> 
> -Betty

 



------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments, contains 
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New 
Jersey, USA 08889), and/or its affiliates (which may be known outside the 
United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as 
Banyu) that may be confidential, proprietary copyrighted and/or legally 
privileged. It is intended solely for the use of the individual or entity named 
on this message.  If you are not the intended recipient, and have received this 
message in error, please notify us immediately by reply e-mail and then delete 
it from your system.
------------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to