RE: question on JMS binding - how to set username/pw to create a secure queue connection?
"Sandip Prashar" <[email protected]> Wed, 23 Aug 2006 16:30:22 -0400
| Newsgroups | gmane.comp.apache.webservices.wsif.user |
|---|---|
| Message-ID | <[email protected]> |
set the Authentication at Container level. don't know much about JBOSS, but in Websphere, you can run $AdminTask to create authentication for JMS items. ---------- From: Shantanu Sen <ssen-yBeKhBN/[email protected]> Reply-To: Shantanu Sen <ssen-yBeKhBN/[email protected]> To: [email protected] Subject: question on JMS binding - how to set username/pw to create a secure queue connection? Date: Wed, 23 Aug 2006 13:19:22 -0700 (PDT) >If we secure a queue on an appserver (JBoss) so that a specific role is allowed to do pub/sub on it. In order to publish on the queue the queue connection needs to be created with the username/pw (a user that belongs to the specified role) - e.g. queueConnectionFactory.createQueueConnection(username, pw). > >How can I specify the username/pw so that WSIF JMS provider creates the connection with this? The WSIFJMSDestination is responsible for creating the queue connection, but I do not see any code that creates a secure connection. > >Thanks for any help. >Shantanu Sen > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] >