来恩 周 opened 8 years ago
|
|
Hi, Andrzej Wójcik, Wojciech Kapcia, when I add 'autoCreateUser=true' at the connection string I solved the problem. configure init.propertites file like so: --user-db-uri=jdbc:mysql://127.0.0.1:3306/db_tigase_im?user=root&password=123456&useUnicode=true&characterEncoding=UTF-8&autoCreateUser=true When I flow the source code at eclipse, I find must auto create a user, if auth the a user by external system, such as me custom sasl auth by resful service of third system. You are very enthusiasm. Thank you all. |
|
For the reference: Custom Authentication Connectors - you need to use it if you use external authentication mechanism. |
Type |
Bug
|
Priority |
Minor
|
Assignee | |
RedmineID |
4947
|
Version |
tigase-server-7.1.1
|
Estimation |
1h
|
Issue Votes (0)
Watchers (0)
Hi Wojciech Kapcia,
when I custom sasl auth by resful service of third system, I login success, but get the roster, sometime success, somtime fail.
2017-02-22 17:52:09.433 [jabber:iq:roster Queue Worker 1] JabberIqRoster.process() WARNING: Received roster request but user session is not authorized yet: from=b
osh@localhost/548650e0-b798-475d-a864-76e5319673de, to=sess-man@localhost, DATA=<iq id="1:sendIQ" xmlns="jabber:client" type="get" from="demo.51qqt.com/120460
7085-tigase-53">, SIZE=138, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=get
2017-02-22 18:18:59.932 [Thread-637] SessionManager$StaleConnectionCloser.closeConnections() INFO: Trying to find and remove stale XMPPResourceConnections
roster-error.jpeg