Skip to content

HiveMQ - File Authentication Plugin - Available on GitHub

by HiveMQ Team
2 min read

The File Authentication Plugin is the first security plugin available as open source on GitHub.

It can be used to equip HiveMQ with the ability to allow only clients, which provide a correct username/password to connect. The credentials are read from a simple properties file.

We also open sourced the corresponding utility, which helps to manage your credential file contents. It does extract the settings from fileAuthConfiguration.properties delivered with the plugin and generates, updates or deletes users accordingly. This eases usage of the plugin dramatically.

The plugin is also a perfect starting point for any other authentication plugins, because it shows the necessary callbacks and serves as good example.

Tell us if you use the file authentication plugin or if you have any suggestion for another authentication plugin, which you would like to see in the HiveMQ plugin directory.

HiveMQ Team

The HiveMQ team loves writing about MQTT, Sparkplug, Industrial IoT, protocols, how to deploy our platform, and more. We focus on industries ranging from energy, to transportation and logistics, to automotive manufacturing. Our experts are here to help, contact us with any questions.

HiveMQ logo
Review HiveMQ on G2