extending RolesPermissionsAdapter to support Role based menu items ?
lixin chu <lixin_chu-/[email protected]>
| Newsgroups | gmane.comp.java.struts-menu.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, new to Struts menu (it is really cool). question on supporting role based menu items. it seems that RolesPermissionsAdapter is the one I should work on. So trying to understand if I should extend it so I can get user/role info from a database instead of using container managed role configuration. is it ok ? how do i config menu so that it will use my own RolesPermissionsAdatper ? The menu definition only allows me to put the Role name in, not my own Adapter. thanks for your input. lixin chu __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285