0 Replies Latest reply on Feb 13, 2007 3:40 AM by zzcvbgfbgsg dfgdggf

    how to show the menu by role

    zzcvbgfbgsg dfgdggf Newbie

      I config the file in jboss " login-config.xml" and config then WEB-INF/web.xml for example:
      <web-resource-name>systemAdmin</web-resource-name> systemAdmin

      <web-resource-name>orderOperation</web-resource-name> orderAdmin

      I can login and access role by the different user name,but I want to show the different menu by different user logined.
      for example :
      When system administrator login ,the application shows the index1.html , index2.html and hiddens index3.html , index4.html.
      When order administrator login ,the application shows the index3.html ,index4.html and hiddens index3.html , index4.html.

      How can I do ? thanks:)