|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
IIB9 integration API - Authentication |
« View previous topic :: View next topic » |
Author |
Message
|
nikyspike |
Posted: Thu Nov 19, 2015 10:16 am Post subject: IIB9 integration API - Authentication |
|
|
Newbie
Joined: 19 Nov 2015 Posts: 2
|
Hi, Im new to this forum. Hoping to find answers to my questions that i have no other place to ask.
I'm a Java developer and working on developing rest services that utilize IIB9 integration API(CMP) to connect to the Broker and automate stuff. I'm pretty new to this area so please bear with me if im asking something silly or doesnt make any sense to you.
I have developed java class that could connect to the Broker/EG/MF succesfully,.. but my program is implicitly taking my credentials(from the Virtual Desktop im logging in) to login to the host. Instead i want to use a different ID how would i do that. I see there are classes in the API like WebUserProxy which let us pass user creds but I think that is supposed for storing the user calling my webservice?
Am i understanding it correct?
How do I use different credentials to login to the host? |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Nov 19, 2015 11:36 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
If you look at the cmp the helper classes that will allow you to connect to the brokerproxy take a user , password argument...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
nikyspike |
Posted: Thu Nov 19, 2015 3:12 pm Post subject: |
|
|
Newbie
Joined: 19 Nov 2015 Posts: 2
|
fjb_saper wrote: |
If you look at the cmp the helper classes that will allow you to connect to the brokerproxy take a user , password argument...  |
This is what something close I have found since I have posted the qn. Where i can pass the Channel name but still i would need send credentials.
setAdvancedConnectionParameters(java.lang.String channelName, java.lang.String requestQueueName, java.lang.String responseQueueName, int maxRetries, int retryWaitMillis, java.lang.String deployID, byte[] sessionID)
I'm sure someone would have come across this before I wonder how they would have handled,.. any help would be greatly appreciated.
 |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Nov 19, 2015 8:34 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
nikyspike wrote: |
fjb_saper wrote: |
If you look at the cmp the helper classes that will allow you to connect to the brokerproxy take a user , password argument...  |
This is what something close I have found since I have posted the qn. Where i can pass the Channel name but still i would need send credentials.
setAdvancedConnectionParameters(java.lang.String channelName, java.lang.String requestQueueName, java.lang.String responseQueueName, int maxRetries, int retryWaitMillis, java.lang.String deployID, byte[] sessionID)
I'm sure someone would have come across this before I wonder how they would have handled,.. any help would be greatly appreciated.
 |
You're looking in the wrong place. There are specific helper classes for the connection parameters, depending as well on the version of the broker. (V7,8,9 vs V10).
Let us know when you have found them. Look at the examples...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|