2 Replies Latest reply on Dec 2, 2002 5:37 PM by Eric

    Accessing roles programatically

    Eric Newbie

      Hi,

      I've written by own JAAS database login module which I'm using to create a set of special roles for my users.

      I'd like to get access to these roles (after authentication) in code, so I can authorize users to see certain subsets of data. My question is, how do I go about getting a handle (in my bean code) to the roles that I created / set in my LoginModule?

      Thanks,
      Eric Lindauer