1 Reply Latest reply on Sep 3, 2005 11:39 PM by Scott Stark

    Getting all logged-in users of a server

    Michael Boeni Newbie

      Hi all

      I would like to write a little method (in a session bean) that returns all currently logged in users. How do I do that?

      I use the following login mechanism:

      UsernamePasswordHandler loginHandler = new UsernamePasswordHandler("theuser", "somepassword");
      LoginContext lc = new LoginContext("connect", loginHandler);

      Thanks & Cheers,