Problem with custom SASL mechanism

Hi all!

I’ve tried to integrate a custom SASL mechanism in Openfire but something prevents it from working. The new mechanism is not added to the supported mechamisns list in

java.org.jivesoftware.openfire.net.SASLAuthentication() line: 727

In my tests I’ ve found no other issue to make a custom SASL mechanism work.

So I suggest that IF statement should be removed from the trunk. This point is even in the comments.

Regards.

Rafael.