Struts-menu + roles
Ben <[email protected]>
| Newsgroups | gmane.comp.java.struts-menu.user |
|---|---|
| Message-ID | <[email protected]> |
Hi My system has two roles: user and admin. The user role has restricted menu and the admin role has full menu. When I start up Tomcat and login as admin, I can see the full menu. I logout and login as user, I can see the restricted menu. I logout and login as admin again and this time I can only see the restricted menu. It seems the repository is not reloaded. I am using Struts-menu as the plug-in for my Struts-based app. When and how does the repository get refresh? I curiously use MenuRepository.reload() in my code and it works as I would expected. Please help and thanks. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click