This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes TopicConnection authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "TopicConnection authentication" Watch "TopicConnection authentication" New topic
Author

TopicConnection authentication

Massimo Pascale
Greenhorn

Joined: Jun 29, 2001
Posts: 8
Hello,
I would like to permit connection to my JMS service only to authenticated users.
I know that there is a method
TopicConnectionFactory.createTopicConnection(username, password);
that allow the user to create TopicConnection only if he has a username and password.
But where do I must to store those credentials?
I' m using J2ee.
Help me.
Thank you.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: TopicConnection authentication