Project

General

Profile

How to use our member table to replace tig_users table?

Yu Tsai
Added over 3 years ago

I am a tigase beginner

How to use our member table to replace tig_users table?

I have a member table, it's has many members

please ~~ how to use this table to login tigase?? (tig_users table)


Replies (1)

Added by Wojciech Kapcia TigaseTeam over 3 years ago

Custom Authentication Connectors explains two main approaches to solving this:

  • simpler solution (may not be possible) - configure appropriate database URI (if needed/different than main tigase database) and change queries used to authenticate users, as described in the guide:
basic-conf/auth-repo-params/user-login-query={ call TigUserLoginPlainPw(?, ?) }
  • implement tigase.db.jdbc.TigaseAuth with all needed methods.

    (1-1/1)