2 Replies Latest reply on Oct 25, 2007 9:21 PM by changemylife

    Get some informations from Container !

    changemylife

      Hi everyone!

      I have used jboss-4.0.5.GA and EJB3.0. My client is standard alone.

      I use DatabaseLoginModule to authenticate a particular client.

      When multi clients login success, I can get some informations as username and role from container.

      Subject subject = (Subject) PolicyContext.getContext("javax.security.auth.Subject.container");

      My problem is:
      How I can get a list of clients currently connect to server?


      Have some ideas about my problem !

        • 1. Re: Get some informations from Container !
          changemylife

          I have seen some questions about this problem but no any answers.

          I use JAAS and DatabaseServerLoginModule to authenticate clients.
          When the client login success. And suddenly, he can't connect to server (maybe is network or some reasons!).

          How server recognize he not online! (such as how I can get the list of clients have connected to server!)

          Has the Jboss server support about this problem. I also tried get this list from Container server but not success!

          Have any ideas about this problem!

          Thanks.

          Catania.

          • 2. Re: Get some informations from Container !
            changemylife

            No some ideas for my problem!

            When the client connect to server, can I get IP's client ? If the client app is web app is easy! But my client is standard alone.

            have some ideas !