public class LdapDockerTestHelper
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LdapDockerTestHelper.DeleteTreeException |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LDAP_LOGIN_DN |
static java.lang.String |
LDAP_LOGIN_PWD |
static java.lang.String |
LDAP_ROOT_DN |
Constructor and Description |
---|
LdapDockerTestHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
deleteTree(org.apache.directory.ldap.client.api.LdapConnection ldapCon,
java.lang.String dn) |
static org.apache.directory.ldap.client.api.LdapNetworkConnection |
getLdapCon() |
static void |
initLdapServer() |
static void |
initLdapServer(boolean memberOfOverlay) |
static void |
initLdapServer(java.io.InputStream serverConfig,
boolean memberOfOverlay) |
static void |
initLdapTree(java.lang.Class<? extends java.lang.Object> classObject,
java.lang.String resourceName) |
static void |
initLdapTree(java.lang.Class<? extends java.lang.Object> classObject,
org.junit.rules.TestName testName) |
public static final java.lang.String LDAP_ROOT_DN
public static final java.lang.String LDAP_LOGIN_DN
public static final java.lang.String LDAP_LOGIN_PWD
public static void initLdapTree(java.lang.Class<? extends java.lang.Object> classObject, org.junit.rules.TestName testName) throws org.apache.directory.api.ldap.model.exception.LdapException, LdapDockerTestHelper.DeleteTreeException, java.io.IOException
org.apache.directory.api.ldap.model.exception.LdapException
LdapDockerTestHelper.DeleteTreeException
java.io.IOException
public static void initLdapTree(java.lang.Class<? extends java.lang.Object> classObject, java.lang.String resourceName) throws org.apache.directory.api.ldap.model.exception.LdapInvalidDnException, org.apache.directory.api.ldap.model.exception.LdapException, LdapDockerTestHelper.DeleteTreeException, java.io.IOException
org.apache.directory.api.ldap.model.exception.LdapInvalidDnException
org.apache.directory.api.ldap.model.exception.LdapException
LdapDockerTestHelper.DeleteTreeException
java.io.IOException
public static org.apache.directory.ldap.client.api.LdapNetworkConnection getLdapCon() throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapException
public static void deleteTree(org.apache.directory.ldap.client.api.LdapConnection ldapCon, java.lang.String dn) throws LdapDockerTestHelper.DeleteTreeException
public static void initLdapServer()
public static void initLdapServer(boolean memberOfOverlay)
public static void initLdapServer(java.io.InputStream serverConfig, boolean memberOfOverlay)
Copyright © 2021. All Rights Reserved.