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. Ben ------------------------------------------------------- This Newsletter Sponsored by: Macrovision For reliable Linux application installations, use the industry's leading setup authoring tool, InstallShield X. Learn more and evaluate today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/