Search in sources :

Example 1 with StartTlsHandler

use of org.apache.directory.server.ldap.handlers.extended.StartTlsHandler in project jackrabbit-oak by apache.

the class AbstractServer method setupLdapServer.

protected void setupLdapServer() throws Exception {
    ldapServer.setTransports(new TcpTransport(port));
    ldapServer.setDirectoryService(directoryService);
    ldapServer.addExtendedOperationHandler(new StartTlsHandler());
    ldapServer.addExtendedOperationHandler(new StoredProcedureExtendedOperationHandler());
}
Also used : StoredProcedureExtendedOperationHandler(org.apache.directory.server.ldap.handlers.extended.StoredProcedureExtendedOperationHandler) StartTlsHandler(org.apache.directory.server.ldap.handlers.extended.StartTlsHandler) TcpTransport(org.apache.directory.server.protocol.shared.transport.TcpTransport)

Aggregations

StartTlsHandler (org.apache.directory.server.ldap.handlers.extended.StartTlsHandler)1 StoredProcedureExtendedOperationHandler (org.apache.directory.server.ldap.handlers.extended.StoredProcedureExtendedOperationHandler)1 TcpTransport (org.apache.directory.server.protocol.shared.transport.TcpTransport)1