title: How to add a new authenticated user in Mosquitto using Java
body: <p>I configurated my local Mosquitto so it only accepts on port 8883 authenticated users using TLS protocol.</p>
  <p>Currently I created some users with their passwords in a &quot;passwd&quot; file which I linked do mosquitto.conf file so it can recognize the authenticated users.</p>
  <p>Can I write some code in Java which allows me to modify runtime the &quot;passwd&quot; file so I can automatically add a new user with his password so he can start to use Mosquitto without force an administrator to modify manually the passwd file?</p>