Hi all,
I am in the process of setting up JAAS security on our MQTT channels but I am having trouble getting MQ to recognize the sample login module.
Following the procedure in
Knowledge Center
- I created a separate folder that will contain the login modules /var/mqm/jaas
- Copied the examples from /opt/mqm/mqxr/samples/samples/ to that folder
- Added the folder to the /var/mqm/service.env file as CLASSPATH=/var/mqm/jaas/
- Added the JAAS parameter on the MQTT channel
- Restarted the telemetry service
In the mqxr error logs I find this error:
Login failed for ClientIdentifier MQTT_FX_Client with exception javax.security.auth.login.LoginException: unable to find LoginModule class: samples.JAASLoginModule.
I tried adding the sample classes to a .jar file but this didn't change anything.
Any help is appreciated.
Regards
Jeroen
------------------------------
Jeroen Cornelis
System Engineer @ Colruyt Group
------------------------------