ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexIBM MQ Securitysetmqaut authorities for JMS MQI SVRCONN application channel

Post new topicReply to topic
setmqaut authorities for JMS MQI SVRCONN application channel View previous topic :: View next topic
Author Message
rickwatsonb
PostPosted: Fri Mar 04, 2011 6:35 am Post subject: setmqaut authorities for JMS MQI SVRCONN application channel Reply with quote

Voyager

Joined: 15 Aug 2006
Posts: 87
Location: USA: Mid-West

Hi,

As stated in a previous post: “We have a JMS application running in WAS on a UNIX server that connects to a UNIX MQ server via client mode on a SVRCONN channel with a MCAUSER(userapp1).”

This is my first time ever trying to add security and set up the proper OAM authorities for the SVRCONN application MQI channel. In my research I came across T. Rob Wyatt’s OAM templates at “A blog about securing and using WebSphere MQ”.

I am wondering if I am miss-understanding the purpose of the authorities (or the intended usage of the script) set in the OAM template for the MQI channel. Here are my questions regarding the script:

(1) In general, can the OAM authorities shown in the MQI template be applied to the WAS/JMS/SVRCONN scenario that we have implemented? In other words, is the intended usage of the script for a MQI SVRCONN channel connecting in client mode?

(2) The authorities set for the queues in the MQI template do NOT contain +put or +get. How can this “not otherwise restrict application users” as T. Rob states in the script description if +put and +get are omitted?

Here is the code excerpt from the MQI OAM template:

# Default allow-all to all queues
setmqaut -m QMNAME -g mqmmqi -n '**' -t queue -all +inq +browse +dsp

The above line of code differs from what was shown in the article “Websphere MQ security heats up” by T.Rob which he references in the link for the OAM templates.

Excerpt from the T. Rob “…security heats up” article for MQI channels:

#Default allow-all to all queues
setmqaut –m QMGR –g mqmmqi –n ‘**’ –t queue –all +allmqi +dsp

The above line of code includes +put and +get via the +allmqi. In T. Rob's examples why do the given authorities differ so much for the queues? Is it due to a difference in intended usage?

Thank you for your time and help.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Mar 04, 2011 6:51 am Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7716

Can you provide links to the articles you are referring to, so we can look at the context of the permissions being suggested?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
rickwatsonb
PostPosted: Fri Mar 04, 2011 7:07 am Post subject: Reply with quote

Voyager

Joined: 15 Aug 2006
Posts: 87
Location: USA: Mid-West

(A) OAM Templates:

A blog about securing and using WebSphere MQ

https://t-rob.net/wmq/

Link:

The latest version of the OAM templates from the WMQ Security Heats Up article.

(B) Article:

Comment lines: T.Rob Wyatt: WebSphere MQ security heats up

http://www.ibm.com/developerworks/websphere/techjournal/0711_col_wyatt/0711_col_wyatt.html

Thank you Peter.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Mar 04, 2011 7:29 am Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9399
Location: US: west coast, almost. Otherwise, enroute.

Quote:
(1) In general, can the OAM authorities shown in the MQI template be applied to the WAS/JMS/SVRCONN scenario that we have implemented? In other words, is the intended usage of the script for a MQI SVRCONN channel connecting in client mode?


Briefly, WMQ is unaware (doesn't care) of the source of the connection. WMQ is WAS- and JMS-neutral - which means that WAS and JMS are just other applications that attempt to connect.

Quote:
#Default allow-all to all queues
setmqaut –m QMGR –g mqmmqi –n ‘**’ –t queue –all +allmqi +dsp

The above line of code includes +put and +get via the +allmqi. In T. Rob's examples why do the given authorities differ so much for the queues? Is it due to a difference in intended usage?


+allmqi grants +put and +get, and all other MQI calls. +dsp grants admin authority (which are not MQI calls).
_________________
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
View user's profile Send private message
fjb_saper
PostPosted: Fri Mar 04, 2011 7:50 pm Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

bruce2359 wrote:

+allmqi grants +put and +get, and all other MQI calls. +dsp grants admin authority (which are not MQI calls).


Not quite. +alladmin or something like that grants admin authority.
+dsp grants display authority for pcf/admin commands issued against the objects, like display queue, display queue status, display ql curdepth etc...
You still cannot create or delete the queue which would also be part of admin...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Fri Mar 04, 2011 8:02 pm Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9399
Location: US: west coast, almost. Otherwise, enroute.

Sorry. I meant to distinguish between MQI auth and admin. +dsp is a display auth, an admin auth.
_________________
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
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexIBM MQ Securitysetmqaut authorities for JMS MQI SVRCONN application channel
Jump to:



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
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.