Author |
Message
|
Priya |
Posted: Tue Mar 26, 2002 2:46 pm Post subject: |
|
|
Apprentice
Joined: 20 Mar 2002 Posts: 26
|
Should I need to set up security in MQClient for AIX? How? |
|
Back to top |
|
 |
mqonnet |
Posted: Tue Mar 26, 2002 2:59 pm Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Need more info on this one. Do you mean security for apps/users to access the QMGR on server???
Just to let you know you dont need to do anything, unless the user is in the mqm group, he/she is not allowed to perform anything on the QMGR on the server.
Cheers.
Kumar
_________________ IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator |
|
Back to top |
|
 |
Priya |
Posted: Wed Mar 27, 2002 6:06 am Post subject: |
|
|
Apprentice
Joined: 20 Mar 2002 Posts: 26
|
Kumar,
Whether I have to send the UserId and password in my message for authentication or how will the server know that I am an authorised client.
Need more info on this from you.
Thanks
Priya. |
|
Back to top |
|
 |
mqonnet |
Posted: Wed Mar 27, 2002 6:16 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Whether I have to send the UserId and password in my message for authentication or how will the server know that I am an authorised client.
---You dont need to do this explicitly as the userid would be sent automatically for you. This would be the same userid as you are logged onto your system. Say you logged on as "jack" on your aix, and run your client app, the userid that would be sent for authorization on the other end is always "jack". Now you could change it programatically if you want. But that is how it works. As for how it is authorized. "Jack" needs to have appropriate authority at the other end. It all starts with the Svrconn channel and it's mcauserid. Once this is approved, the next level is the Qmgr level, then the next one would be the object level.
Cheers.
Kumar
_________________ IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator |
|
Back to top |
|
 |
Priya |
Posted: Wed Mar 27, 2002 8:05 am Post subject: |
|
|
Apprentice
Joined: 20 Mar 2002 Posts: 26
|
When will the situation comes to change the user id programatically?
If I want to change it programatically can I do that using context information in the message? |
|
Back to top |
|
 |
mqonnet |
Posted: Wed Mar 27, 2002 8:19 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Usually you might want to change the userid programatically only when you want to use a specific userid rather than the logged in id.
As for changing it, you have to use "useridentifier" within the md to do so.
Take a look at "Programming guide" and "reference" for more info.
Cheers.
Kumar
_________________ IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator |
|
Back to top |
|
 |
|