Author |
Message
|
koushikt |
Posted: Mon Feb 23, 2015 3:25 pm Post subject: Client Authorization in MQ 7.5 |
|
|
Novice
Joined: 26 Jan 2015 Posts: 14
|
I have Webshpere application and I post messages to a few topics and queues. How do I prevent any client app which is authorized for the queue manager and has the topic/queue name to read all the messages? |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Feb 23, 2015 7:37 pm Post subject: Re: Client Authorization in MQ 7.5 |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
koushikt wrote: |
I have Webshpere application and I post messages to a few topics and queues. How do I prevent any client app which is authorized for the queue manager and has the topic/queue name to read all the messages? |
Please be precise.
Do you mean that you want the client app to consume some, but not all messages? Or do you mean that you want to prevent the app from consuming any messages? _________________ 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 |
|
 |
fjb_saper |
Posted: Mon Feb 23, 2015 8:05 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
In the subscription have the app specify a delivery queue for the subscription... Do not use common setup.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Mo |
Posted: Mon Feb 23, 2015 8:27 pm Post subject: Re: Client Authorization in MQ 7.5 |
|
|
Novice
Joined: 02 Apr 2010 Posts: 17 Location: IL USA
|
koushikt wrote: |
I have Webshpere application and I post messages to a few topics and queues. How do I prevent any client app which is authorized for the queue manager and has the topic/queue name to read all the messages? |
If I understand your question correctly, you want to prevent applications other than yours from consuming the messages on the queue. If that is what you are looking for, cant you use channel auth? Assuming your application is not sharing the client channel with other apps. |
|
Back to top |
|
 |
koushikt |
Posted: Wed Feb 25, 2015 1:58 pm Post subject: |
|
|
Novice
Joined: 26 Jan 2015 Posts: 14
|
I have queue as topic model. My publisher writes to a topic. A bunch of queues are hooked to the topic and I give every client the name of the queue they are supposed to listen on.
I need to make sure that someone doesn't run another client on one of the same machines and start listening another clients message. |
|
Back to top |
|
 |
JosephGramig |
Posted: Thu Feb 26, 2015 5:32 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
Many times recently this has been addressed.
1st read this article from Morag.
Then understand and implement OAM rules.
Use the CHLAUTH rules to establish identity.
Use OAM rules to in force authorization. |
|
Back to top |
|
 |
|