powered by Jive Software

How do I add SASL Authorization mechanisms to the Openfire server?

How do I add additional authorization mechanisms to openfire? I added my own customer Authentication method and don’t see the other ones available:

> 1:09:36 RECV (0): <stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
>    <mechanism>JWT</mechanism>
> </mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><ver xmlns="urn:xmpp:features:rosterver"/><register xmlns="http://jabber.org/features/iq-register"/></stream:features>

I also added other implementation as system properties in 'sasl.mechs.00001 - 00009 (i.e. SCRAM-SHA-1, DIGEST-MD5, etc.). I also know that there is support for these in the openfire core libraries because I can look at the classes in my IDE.

What am I missing?

Ok! I figured out what was going on: basically I had to do a full system reboot. That way the SASL mechanisms that I entered system properties in Openfire were loaded. Still wonder why they were not there as defaults like in my desktop instance of Openfire but at least it is working now: )

I am using a 3rd party hosted deployment of Openfire via Bitnami AWS.