How can I map the MCAUserIdentifier ?
I am running this lib in a openshift container envvironment (with a random user id) and I need to set the MCAUserIdentifier programmatically. Unfortunaltely this is not allowed by the API.
How can I achieve or overcome this issue?
Getting a connection assoociated with a userid would normally be done with the MQCSP userid/password authentication. And then have the qmgr appropriately configured.
Or using a CHLAUTH rule to map inbound userids/certificates.
I tried this way but the user id of the container is being used
What I am doing wrong?
Probably the AUTHINFO rule in place on the qmgr needs ADOPTCTX(yes). But that's all outside the sope of this package - there are a number of considerations for setting up authorisation and authentication on the qmgr, which can also be different between regular and container environments.
Got it. It worked after setting up an OS user for this. This cannot be used in conjunction with a Client Autentication Record to map this Client User Id to another OS user, right ?