Author |
Message
|
yrspatel |
Posted: Thu Jan 08, 2009 6:13 am Post subject: How to set ApplIdentityData in Windows |
|
|
Novice
Joined: 10 Jul 2008 Posts: 22
|
Hi,
I need to set the "set_identity_context" and also need to pass user id and password for each message. Please let me know is there any interface or do i need to code in .net or C++.
If yes. please help me for coding  |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jan 08, 2009 6:17 am Post subject: Re: How to set ApplIdentityData in Windows |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
yrspatel wrote: |
I need to set the "set_identity_context" and also need to pass user id and password for each message. |
Be aware these are 2 separate things: the ApplId in the MQMD is not part of the authentication process.
yrspatel wrote: |
Please let me know is there any interface or do i need to code in .net or C++. |
What do you mean by "interface"? Message identity context is specific for each message, and has to be set up by the putting application in language specific ways.
yrspatel wrote: |
If yes. please help me for coding  |
You'll find sample code on your install media, at the top of this page, and all the usual places. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
yrspatel |
Posted: Thu Jan 08, 2009 7:15 am Post subject: |
|
|
Novice
Joined: 10 Jul 2008 Posts: 22
|
interface means IBM websphere Explorer. And another problem i am facing as my Sender is running but my receiver is in binding stage. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jan 08, 2009 7:40 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
yrspatel wrote: |
interface means IBM websphere Explorer. |
You're going to set identity context manually for each message via Explorer? Gosh you've got low throughput! Most of us use the putting application
yrspatel wrote: |
And another problem i am facing as my Sender is running but my receiver is in binding stage. |
Check the logs. Start another thread if you can't fix it _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
yrspatel |
Posted: Thu Jan 08, 2009 8:00 am Post subject: |
|
|
Novice
Joined: 10 Jul 2008 Posts: 22
|
what about user id and password for each message  |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jan 08, 2009 8:17 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
yrspatel wrote: |
what about user id and password for each message  |
I said before that you need to separate the identity data (which doesn't contain a password) from the authentication used to identify the message putter.
You could set the identity infomation by editing the message on the queue. AFAIK Explorer won't but you could do it with q or something, but the information would need to be set for each message and would be impractical.
This doesn't have anything to do with the user id/password used to put the message in the first place.
Perhaps if you explained your requirement a little, rather than asking for advice on a given scenario, we could offer better advice. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Jan 08, 2009 1:32 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
I need to set the "set_identity_context" and also need to pass user id and password... |
May I ask what business requirement you are attempting to meet here?
Are your messages leaving one security domain and arriving at another? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|