public class KerberosEmbeddedServer extends LDAPEmbeddedServer
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_KDC_ENCTYPES |
static String |
PROPERTY_KDC_PORT |
static String |
PROPERTY_KERBEROS_REALM |
baseDN, bindHost, bindPort, certPassword, DEFAULT_DSF, defaultProperties, directoryService, directoryServiceFactory, DSF_FILE, DSF_INMEMORY, enableSSL, keystoreFile, ldapSaslPrincipal, ldapServer, ldifFile, PROPERTY_BASE_DN, PROPERTY_BIND_HOST, PROPERTY_BIND_PORT, PROPERTY_DSF, PROPERTY_LDIF_FILE, PROPERTY_SASL_PRINCIPAL| Constructor and Description |
|---|
KerberosEmbeddedServer(Properties defaultProperties) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.directory.server.kerberos.kdc.KdcServer |
createAndStartKdcServer() |
protected org.apache.directory.server.core.api.DirectoryService |
createDirectoryService() |
protected org.apache.directory.server.ldap.LdapServer |
createLdapServer() |
static void |
execute(String[] args,
Properties defaultProperties) |
void |
init() |
static void |
main(String[] args) |
void |
stop() |
protected void |
stopKerberosServer() |
readProperty, shutdownDirectoryService, start, stopLdapServerpublic static final String PROPERTY_KERBEROS_REALM
public static final String PROPERTY_KDC_PORT
public static final String PROPERTY_KDC_ENCTYPES
public KerberosEmbeddedServer(Properties defaultProperties)
public static void execute(String[] args, Properties defaultProperties) throws Exception
Exceptionpublic void init()
throws Exception
init in class LDAPEmbeddedServerExceptionprotected org.apache.directory.server.core.api.DirectoryService createDirectoryService()
throws Exception
createDirectoryService in class LDAPEmbeddedServerExceptionprotected org.apache.directory.server.ldap.LdapServer createLdapServer()
createLdapServer in class LDAPEmbeddedServerprotected org.apache.directory.server.kerberos.kdc.KdcServer createAndStartKdcServer()
throws Exception
Exceptionpublic void stop()
throws Exception
stop in class LDAPEmbeddedServerExceptionprotected void stopKerberosServer()
Copyright © 2018 JBoss by Red Hat. All rights reserved.