Greetings, I am writing a basic web page to be accessible alongside the current guacamole application that can be used to allow users to reset their passwords. I am writing a custom one as I have custom scripts that need to be ran along with updating data in places outside of the mysql database the application is using for authentication and connection control. I am having a hard time writing the authentication part of the web page as it seems the database stores the hex form of the password hash and the salt. I know the method that is used to create the password hash and store it along with the salt but I can't seem to grab the salt and hash from the database and duplicate the steps in Java in order to see if the provided password they entered is the correct password which is required in order to allow them to reset their password.
Any help anyone can provide on how to properly do this in Java would be much appreciated. Thank you
