270271272273274275276277278279280281
setAddHandler( new AddHandler() ); } if ( getBindHandler() == null ) { BindHandler handler = new BindHandler(); handler.setSaslMechanismHandlers( saslMechanismHandlers ); setBindHandler( handler ); } if ( getCompareHandler() == null ) {
263264265266267268269270271272273274
264265266267268269270271272273274275
281282283284285286287288289290291
* @throws Exception */ public void startServer() throws Exception { server = new LdapServer(); server.setBindHandler(new BindHandler()); server.setTransports( new TcpTransport( LDAP_PORT ) ); server.setDirectoryService( service ); server.start();