1 Reply Latest reply on Aug 16, 2002 2:27 PM by Jonathan Leech

    Accessing Method Permissions

    Bill Alexander Newbie

      I want to do permission checking prior to making an EJB request. The goal here is to set up the GUI so that only the options that the user has access to can be displayed.

      EJBContext provides getCallerPrincipal to get the user, and isCallerInRole to provide info on which roles the user can take on. But there is no obvious way to get to the method permissions - the last piece of the puzzle.

      Any suggestions?

      Bill Alexander