Class RemoteLDAPLoginCaseTest
java.lang.Object
de.hybris.platform.ldap.jalo.AbstractLDAPTest
de.hybris.platform.ldap.jalo.AbstractRemoteLDAPTest
de.hybris.platform.ldap.jalo.impl.RemoteLDAPLoginCaseTest
test against the apache internal LDAP server, ask Hendrik or mariusz about it
-
Field Summary
Fields inherited from class de.hybris.platform.ldap.jalo.AbstractRemoteLDAPTest
HYMAIL_HYBRIS_DE, REMOTE_LDAP_PORTFields inherited from class de.hybris.platform.ldap.jalo.AbstractLDAPTest
directoryService, ldapServer, rootDSE, schemaRoot, sysRoot -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected Stringprotected voidsetContexts(String user, String passwd) Sets the contexts for this base class.voidvoidvoidMethods inherited from class de.hybris.platform.ldap.jalo.AbstractRemoteLDAPTest
configureLdapData, configurePartition, getLDAPHost, getLDAPPort, isEmbeddedLdap, setUpMethods inherited from class de.hybris.platform.ldap.jalo.AbstractLDAPTest
addIndex, configureLdapServer, createPartition, doDelete, getAuthenticationType, getWiredContext, getWiredContext, getWorkingDirectory, importLdif, injectEntries, isDeleteLDAPServer, loadLdif, loadTestLdif, setContexts, tearDown, tearDownLogger, verify
-
Constructor Details
-
RemoteLDAPLoginCaseTest
public RemoteLDAPLoginCaseTest()
-
-
Method Details
-
getLDAPCredenetial
- Overrides:
getLDAPCredenetialin classAbstractLDAPTest- Returns:
- the ldapCredenetial
-
getLDAPPassword
- Overrides:
getLDAPPasswordin classAbstractLDAPTest- Returns:
- the ldapPassword
-
testSimpleLogin
- Throws:
Exception
-
testSimpleIncorrectLogin
- Throws:
Exception
-
testSimpleFetchLogin
- Throws:
Exception
-
setContexts
Description copied from class:AbstractLDAPTestSets the contexts for this base class. Values of user and password used to set the respective JNDI properties. These values can be overriden by the overrides properties.- Overrides:
setContextsin classAbstractLDAPTest- Parameters:
user- the username for authenticating as this userpasswd- the password of the user- Throws:
NamingException- if there is a failure of any kindException
-