public class KerberosEmbeddedServer extends LDAPEmbeddedServer
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_KERBEROS_REALM |
static String |
DEFAULT_KERBEROS_REALM_2 |
static String |
PROPERTY_KDC_ENCTYPES |
static String |
PROPERTY_KDC_PORT |
static String |
PROPERTY_KERBEROS_REALM |
baseDN, bindHost, bindLdapsPort, bindPort, certPassword, DEFAULT_DSF, defaultProperties, directoryService, directoryServiceFactory, DSF_FILE, DSF_INMEMORY, enableSSL, keystoreFile, ldapSaslPrincipal, ldapServer, ldifFile, PROPERTY_BASE_DN, PROPERTY_BIND_HOST, PROPERTY_BIND_LDAPS_PORT, PROPERTY_BIND_PORT, PROPERTY_DSF, PROPERTY_LDIF_FILE, PROPERTY_SASL_PRINCIPAL
Constructor and Description |
---|
KerberosEmbeddedServer(Properties defaultProperties) |
Modifier and Type | Method and Description |
---|---|
static void |
configureDefaultPropertiesForRealm(String kerberosRealm,
Properties properties) |
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, stopLdapServer
public static final String PROPERTY_KERBEROS_REALM
public static final String PROPERTY_KDC_PORT
public static final String PROPERTY_KDC_ENCTYPES
public static final String DEFAULT_KERBEROS_REALM
public static final String DEFAULT_KERBEROS_REALM_2
public KerberosEmbeddedServer(Properties defaultProperties)
public static void configureDefaultPropertiesForRealm(String kerberosRealm, Properties properties)
public static void execute(String[] args, Properties defaultProperties) throws Exception
Exception
public void init() throws Exception
init
in class LDAPEmbeddedServer
Exception
protected org.apache.directory.server.core.api.DirectoryService createDirectoryService() throws Exception
createDirectoryService
in class LDAPEmbeddedServer
Exception
protected org.apache.directory.server.ldap.LdapServer createLdapServer()
createLdapServer
in class LDAPEmbeddedServer
protected org.apache.directory.server.kerberos.kdc.KdcServer createAndStartKdcServer() throws Exception
Exception
public void stop() throws Exception
stop
in class LDAPEmbeddedServer
Exception
protected void stopKerberosServer()
Copyright © 2021 JBoss by Red Hat. All rights reserved.