The way passwords are stored in the DB is controlled by Tigase database schema property. Properties in the database schema
can be set by a stored procedure called: TigPutDBProperty(key, value)
. Properties from the DB schema can be retrieved using another stored function called: TigGetDBProperty(key)
.
The simplest way to call them is via command-line interface to the database.
For the purpose of this guide let’s say we have a MySQL database and a test account: test@example.com
with password test77
.
By default, most of DB actions for Tigase, are performed using stored procedures including user authentication. So, the first thing to do is to make sure the stored procedures are working correctly.