Allowlisting in WebSphere Application Server
How you use IBM® MQ classes for JMS allowlisting in WebSphere® Application Server.
Wherever possible, the term allowlist has
replaced the term whitelist.
For IBM MQ 9.0 and later releases, this includes the Java system property names mentioned in this topic
(com.ibm.mq.jms.*). You do not have to change any existing configuration.
The previous system property names also continue to work.
You must ensure that your WebSphere Application Server installation includes a version of the IBM MQ resource adapter that supports allowlisting.
See Using IBM MQ and WebSphere Application Server together for further information on using the two products.
IBM MQ 9.0.0 Fix Pack 1 onwards include the appropriate functionality.
-Dcom.ibm.mq.jms.allowlist-Dcom.ibm.mq.jms.allowlist.discover
See the section on Generic JVM arguments in Java virtual machine settings for more information.
To set the properties, go to the Java virtual machine window in Process definitions and enter the appropriate argument.
-Dcom.ibm.mq.jms.allowlist=<youruserId>_MyObjectcauses
the application server to use the allowlist youruserId_MyObject. Only objects of
the type are processed by the application server.-Dcom.ibm.mq.jms.allowlist.discover=true
-Dcom.ibm.mq.jms.allowlist=file:C/:allowlist.txt
configure the application server to use Discover mode, and record details of the
JMS ObjectMessages, that the application server
processes, to the file C:\allowlist.txt-Dcom.ibm.mq.jms.allowlist=file:C/:allowlist.txtcauses the
application server to load the file C:/allowlist.txt, and use the information
in that file to determine the allowlist.