Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I map the MCAUserIdentifier ? #212

Open
KoljaKrueckmeyer opened this issue Sep 19, 2024 · 4 comments
Open

How can I map the MCAUserIdentifier ? #212

KoljaKrueckmeyer opened this issue Sep 19, 2024 · 4 comments

Comments

@KoljaKrueckmeyer
Copy link

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?
image

@ibmmqmet
Copy link
Collaborator

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.

@KoljaKrueckmeyer
Copy link
Author

I tried this way but the user id of the container is being used
image
image

What I am doing wrong?

@ibmmqmet
Copy link
Collaborator

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.

@KoljaKrueckmeyer
Copy link
Author

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants