1

According to the Online IBM doc for WMQ 7 it's possible to write channel security exits in the Java language, so I don't need to remember C programming and no worry about compiling for different operating systems.

My purpose is to write a security exit, which extracts the distinguished names (DN) on my QueueManager from a client certificate and forward its values as a JMS-usr property.

My problem: I even couldn't setup the provided example for my Server-connection channel. I tried to put the .class file of the IBM-example to the \exit folder, but my QM is throwing following error:

The dynamic loadable file  C:\Program Files\IBM\WebSphere
MQ\exits\MyMQExits.dll wasn't found.

Does this mean that I can't write security exits for Java for my QM-side (just in C / dll), only for client-applications??

4

2 回答 2

1

信息中心链接可能不清楚,但队列管理器端出口必须仅用 C 语言开发。在客户端,您可以使用 Java/C 开发客户端出口。

于 2013-03-01T12:25:17.147 回答
1

我的目的是编写一个安全出口,它从客户端证书中提取我的 QueueManager 上的专有名称 (DN),并将其值作为 JMS-usr 属性转发。

仅对 MQCONN/X 和 MQDISC MQ API 调用调用安全出口。这意味着安全出口无法访问任何其他 MQ API 调用,因此,您无法将消息属性添加到消息。

于 2013-03-01T22:35:31.287 回答