2 Replies Latest reply on May 12, 2004 6:46 AM by Janardhan Burugupalli

    Single-client, multiple-servers

    brettw Newbie

      The company I work for has developed a server application with a rich UI client. I was in the process of integrating jboss security into the client (which performed EJB calls), when I ran up against a mismatch between our requirements and the jboss usage model.

      Our client needs to be able to connect to multiple jboss servers simultaneously, using different logins on each. From what I have seen, when the the client logs in using the LoginContext, the authentication information is cached and transparently passed to the server during EJB invocations. How can I switch security contexts, or preferably have a security context associated with an InitialContext?

      Is this possible? I've found some similar posts asking about this, one of them going back to 2001, but no answers.

      Can someone please help?!