directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject SASL authentificator
Date Thu, 12 Feb 2009 13:09:43 GMT

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.
        Map<String, MechanismHandler> mechanismHandlerMap = new 
        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
View raw message