0 Replies Latest reply on Jul 11, 2007 9:25 AM by mike lane

    how to make information on all user sessions available to a

    mike lane Newbie

      Hello
      I am trying to find a way to restrict an application user to only being logged-in once. My idea is to have a map with the user names and session ids. My main problem is how do I create this object and make it available to a custom login module.
      My idea is to create an MBean and to access this from the login class to see if a user is already logged in. I would also need to access the map from a SessionListener class as well to update the data in the map.
      Does anyone have any better suggestions or pointers on how to go about this.
      thanks
      mike