Hi there!
I’m trying to register a new custom authentication mechanism.
For instance for available mechanisms request I get:
PLAIN
Mechanisms being a list it allows multiple mechanisms.
I want a custom one (let’s call it CUSTOM) with a higher priority.
I see there is a SASLAuthentication.registerSASLMechanism(new CustomMechanism()); method.
How and when should I call it in order to add it in an elegant manner.