public class LDAPEmbeddedServer extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
baseDN |
protected String |
bindHost |
protected int |
bindPort |
protected org.apache.directory.server.core.api.DirectoryService |
directoryService |
protected String |
ldapSaslPrincipal |
protected org.apache.directory.server.ldap.LdapServer |
ldapServer |
protected String |
ldifFile |
Constructor and Description |
---|
LDAPEmbeddedServer(String baseDN,
String bindHost,
int bindPort,
String ldifFile,
String ldapSaslPrincipal) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.directory.server.core.api.DirectoryService |
createDirectoryService() |
protected org.apache.directory.server.ldap.LdapServer |
createLdapServer() |
void |
init() |
static void |
main(String[] args) |
protected void |
shutdownDirectoryService() |
void |
start() |
void |
stop() |
protected void |
stopLdapServer() |
protected final String baseDN
protected final String bindHost
protected final int bindPort
protected final String ldifFile
protected final String ldapSaslPrincipal
protected org.apache.directory.server.core.api.DirectoryService directoryService
protected org.apache.directory.server.ldap.LdapServer ldapServer
Copyright © 2015. All rights reserved.