Package de.hybris.platform.ldap.jalo
Class AbstractRemoteLDAPTest
- java.lang.Object
-
- de.hybris.platform.ldap.jalo.AbstractLDAPTest
-
- de.hybris.platform.ldap.jalo.AbstractRemoteLDAPTest
-
- Direct Known Subclasses:
RemoteLDAPLoginCaseTest
public abstract class AbstractRemoteLDAPTest extends AbstractLDAPTest
Base remote ldap test class for hybris hymail as LDAP server
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringHYMAIL_HYBRIS_DEprotected static intREMOTE_LDAP_PORT-
Fields inherited from class de.hybris.platform.ldap.jalo.AbstractLDAPTest
directoryService, ldapServer, rootDSE, schemaRoot, sysRoot
-
-
Constructor Summary
Constructors Constructor Description AbstractRemoteLDAPTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigureLdapData()configure here test specific data ,load LDIF filesprotected org.apache.directory.server.core.partition.PartitionconfigurePartition()prepare partition , be aware at this methodDirectoryServiceis not started yet so no session will be availableprotected java.lang.StringgetLDAPHost()ldap host domain name/IPprotected intgetLDAPPort()port to listen ldap for either embedded or externalprotected booleanisEmbeddedLdap()voidsetUp()Get's the initial context factory for the provider's ou=system context root.-
Methods inherited from class de.hybris.platform.ldap.jalo.AbstractLDAPTest
addIndex, configureLdapServer, createPartition, doDelete, getAuthenticationType, getLDAPCredenetial, getLDAPPassword, getWiredContext, getWiredContext, getWorkingDirectory, importLdif, injectEntries, isDeleteLDAPServer, loadLdif, loadTestLdif, setContexts, setContexts, tearDown, tearDownLogger, verify
-
-
-
-
Field Detail
-
HYMAIL_HYBRIS_DE
protected static final java.lang.String HYMAIL_HYBRIS_DE
- See Also:
- Constant Field Values
-
REMOTE_LDAP_PORT
protected static final int REMOTE_LDAP_PORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
isEmbeddedLdap
protected boolean isEmbeddedLdap()
- Overrides:
isEmbeddedLdapin classAbstractLDAPTest
-
getLDAPPort
protected int getLDAPPort()
Description copied from class:AbstractLDAPTestport to listen ldap for either embedded or external- Specified by:
getLDAPPortin classAbstractLDAPTest
-
getLDAPHost
protected java.lang.String getLDAPHost()
Description copied from class:AbstractLDAPTestldap host domain name/IP- Specified by:
getLDAPHostin classAbstractLDAPTest
-
configureLdapData
protected void configureLdapData() throws java.lang.ExceptionDescription copied from class:AbstractLDAPTestconfigure here test specific data ,load LDIF files- Overrides:
configureLdapDatain classAbstractLDAPTest- Throws:
java.lang.Exception
-
configurePartition
protected org.apache.directory.server.core.partition.Partition configurePartition() throws java.lang.ExceptionDescription copied from class:AbstractLDAPTestprepare partition , be aware at this methodDirectoryServiceis not started yet so no session will be available- Specified by:
configurePartitionin classAbstractLDAPTest- Throws:
java.lang.Exception
-
setUp
public void setUp() throws java.lang.ExceptionDescription copied from class:AbstractLDAPTestGet's the initial context factory for the provider's ou=system context root.- Overrides:
setUpin classAbstractLDAPTest- Throws:
java.lang.Exception- See Also:
TestCase.setUp()
-
-