-
I've fixed issue with usage of custom SASL mechanisms, providers and callback handlers. As SASL settings are reused by
JabberIqAuth
processor, I created separatesasl-provider
which will be used to configure SASL related settings.In your case SASL configuration would look like this:
'sess-man' () { 'sasl-provider' () { 'mechanism-selector' (class: tigase.auth.CustomMechanismSelector) {} 'callback-handler-factory' (class: tigase.auth.impl.ThirdAuthCallbackHandlerFactory) {} 'customSaslServerFactory' (class: tigase.auth.mechanisms.CustomSaslServerFactory) {} 'tigaseSaslServerFactory' (active: false) {} } }
+Note:+ In my example I used @ tigase.auth.impl.ThirdAuthCallbackHandlerFactory@ which is implementation of @CallbackHandlerFactory@, so you need to implement callback handler factory - not only provide callback handler class, as in your example.
Type |
Bug
|
Priority |
Major
|
Assignee | |
RedmineID |
5042
|
Version |
tigase-server-8.0.0
|
Spent time |
0
|
Issue Votes (0)
Watchers (0)
Hi, all
When I configure sasl in init.properties, the TigaseSaslProvider settings is empty, not contains any key and value.
I configure the init.properties sess-man like:
'sess-man' (class: tigase.server.xmppsession.SessionManager) {
}