0 Replies Latest reply on Jun 27, 2004 9:02 PM by Brian Wallis

    JAAS Client login and JMS authentication

    Brian Wallis Master

      I have a client application that accesses an EJB and also receives messages from a JMS topic. As far as I can tell I have to supply login credentials twice, once using JAAS for authentication to access the EJB and again in the createTopicConnection() call when creating the connection to receive messages from the topic. It would be real nice if the JAAS login info were used for the createTopicConnection() call when called with no parameters. (This is running in a separate client JVM, so it is all remote to the JBoss server)

      I've stepped through the client side code and cannot see how the JAAS authentication details could be used in the JMS createTopicConnection. I have configured the client to use the org.jboss.security.ClientLoginModule

      I've asked this question before in the JBossMQ forum so sorry for asking again here but I still don't know how to get this to work (or even if it can work).
      http://jboss.org/index.html?module=bb&op=viewtopic&t=50866

      thanks,
      brian wallis...