Interface 'tigase.auth.MechanismSelector'
is used for selecting mechanisms available in a stream. Method 'filterMechanisms()'
should return a collection with mechanisms available based on:
- all registered SASL factories
- XMPP session data (from
'XMPPResourceConnection'
class)
The default selector returns mechanisms from the default Tigase’s factory ('TigaseSaslServerFactory')
only.
It is possible to use a custom selector by specifying it’s class int the init.properties
file:
sess-man/plugins-conf/urn\:ietf\:params\:xml\:ns\:xmpp-sasl/mechanism-selector=com.example.OwnSelector