This is an example plugin that show how you can easily implement custom authentication logic in HiveMQ. The plugin has 2 different callback, which demonstrate how to obtain username/password and a X.509 certificate for authentication.
If you want to contribute to HiveMQ Authentication Example, see the contribution guidelines.
HiveMQ Authentication Example is licensed under the APACHE LICENSE, VERSION 2.0
. A copy of the license can be found here.