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
Base remote ldap test class for hybris hymail as LDAP server
-
Field Summary
FieldsFields inherited from class de.hybris.platform.ldap.jalo.AbstractLDAPTest
directoryService, ldapServer, rootDSE, schemaRoot, sysRoot -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigure here test specific data ,load LDIF filesprotected org.apache.directory.server.core.partition.Partitionprepare partition , be aware at this methodDirectoryServiceis not started yet so no session will be availableprotected Stringldap host domain name/IPprotected intport to listen ldap for either embedded or externalprotected booleanvoidsetUp()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 Details
-
HYMAIL_HYBRIS_DE
- See Also:
-
REMOTE_LDAP_PORT
protected static final int REMOTE_LDAP_PORT- See Also:
-
-
Constructor Details
-
AbstractRemoteLDAPTest
public AbstractRemoteLDAPTest()
-
-
Method Details
-
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
Description copied from class:AbstractLDAPTestldap host domain name/IP- Specified by:
getLDAPHostin classAbstractLDAPTest
-
configureLdapData
Description copied from class:AbstractLDAPTestconfigure here test specific data ,load LDIF files- Overrides:
configureLdapDatain classAbstractLDAPTest- Throws:
Exception
-
configurePartition
protected org.apache.directory.server.core.partition.Partition configurePartition() throws 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:
Exception
-
setUp
Description copied from class:AbstractLDAPTestGet's the initial context factory for the provider's ou=system context root.- Overrides:
setUpin classAbstractLDAPTest- Throws:
Exception- See Also:
-
TestCase.setUp()
-