Hello.
I'm using Apache DS 1.5.4 and I need to add custom SASL authentification
to the server.
I've created class extended from AbstractMechanismHandler and class
extended from AbstractSaslServer.
Then I add it to server.xml the list of <saslMechanismHandlers>.
When I try to connect to the server as a client I receive error that sasl
method not supported.
Also I tried to add new mechanism handler in Apache DS in embedded mode.
Llike:
Map<String, MechanismHandler> mechanismHandlerMap = new
HashMap<String,MechanismHandler>();
mechanismHandlerMap.put( "CUSTOM", new
CustomSASLMechanismHandler() );
ldapService.setSaslMechanismHandlers( mechanismHandlerMap );
The same error that mechanism not supported.
Did I miss something?
Is it possible to add custom authentificator?
Best regards
Dmitry