public abstract class AbstractRemoteLDAPTest extends AbstractLDAPTest
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
HYMAIL_HYBRIS_DE |
protected static int |
REMOTE_LDAP_PORT |
directoryService, ldapServer, rootDSE, schemaRoot, sysRoot| Constructor and Description |
|---|
AbstractRemoteLDAPTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureLdapData()
configure here test specific data ,load LDIF files
|
protected Partition |
configurePartition()
prepare partition , be aware at this method
DirectoryService is not started yet so no session will be
available |
protected java.lang.String |
getLDAPHost()
ldap host domain name/IP
|
protected int |
getLDAPPort()
port to listen ldap for either embedded or external
|
protected boolean |
isEmbeddedLdap() |
void |
setUp()
Get's the initial context factory for the provider's ou=system context root.
|
addIndex, configureLdapServer, createPartition, doDelete, getAuthenticationType, getLDAPCredenetial, getLDAPPassword, getWiredContext, getWiredContext, getWorkingDirectory, importLdif, injectEntries, isDeleteLDAPServer, loadLdif, loadTestLdif, setContexts, setContexts, tearDown, tearDownLogger, verifyprotected static final java.lang.String HYMAIL_HYBRIS_DE
protected static final int REMOTE_LDAP_PORT
protected boolean isEmbeddedLdap()
isEmbeddedLdap in class AbstractLDAPTestprotected int getLDAPPort()
AbstractLDAPTestgetLDAPPort in class AbstractLDAPTestprotected java.lang.String getLDAPHost()
AbstractLDAPTestgetLDAPHost in class AbstractLDAPTestprotected void configureLdapData()
throws java.lang.Exception
AbstractLDAPTestconfigureLdapData in class AbstractLDAPTestjava.lang.Exceptionprotected Partition configurePartition()
throws java.lang.Exception
AbstractLDAPTestDirectoryService is not started yet so no session will be
availableconfigurePartition in class AbstractLDAPTestjava.lang.Exceptionpublic void setUp()
throws java.lang.Exception
AbstractLDAPTestsetUp in class AbstractLDAPTestjava.lang.Exceptionjunit.framework.TestCase#setUp()Copyright © 2018 SAP SE. All Rights Reserved.