Class RemoteLDAPLoginCaseTest
- java.lang.Object
-
- de.hybris.platform.ldap.jalo.AbstractLDAPTest
-
- de.hybris.platform.ldap.jalo.AbstractRemoteLDAPTest
-
- de.hybris.platform.ldap.jalo.impl.RemoteLDAPLoginCaseTest
-
@ManualTest public class RemoteLDAPLoginCaseTest extends AbstractRemoteLDAPTest
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_PORT
-
Fields inherited from class de.hybris.platform.ldap.jalo.AbstractLDAPTest
directoryService, ldapServer, rootDSE, schemaRoot, sysRoot
-
-
Constructor Summary
Constructors Constructor Description RemoteLDAPLoginCaseTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetLDAPCredenetial()protected java.lang.StringgetLDAPPassword()protected voidsetContexts(java.lang.String user, java.lang.String passwd)Sets the contexts for this base class.voidtestSimpleFetchLogin()voidtestSimpleIncorrectLogin()voidtestSimpleLogin()-
Methods inherited from class de.hybris.platform.ldap.jalo.AbstractRemoteLDAPTest
configureLdapData, configurePartition, getLDAPHost, getLDAPPort, isEmbeddedLdap, setUp
-
Methods 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
-
-
-
-
Method Detail
-
getLDAPCredenetial
protected java.lang.String getLDAPCredenetial()
- Overrides:
getLDAPCredenetialin classAbstractLDAPTest- Returns:
- the ldapCredenetial
-
getLDAPPassword
protected java.lang.String getLDAPPassword()
- Overrides:
getLDAPPasswordin classAbstractLDAPTest- Returns:
- the ldapPassword
-
testSimpleLogin
public void testSimpleLogin() throws java.lang.Exception- Throws:
java.lang.Exception
-
testSimpleIncorrectLogin
public void testSimpleIncorrectLogin() throws java.lang.Exception- Throws:
java.lang.Exception
-
testSimpleFetchLogin
public void testSimpleFetchLogin() throws java.lang.Exception- Throws:
java.lang.Exception
-
setContexts
protected void setContexts(java.lang.String user, java.lang.String passwd) throws java.lang.ExceptionDescription 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:
javax.naming.NamingException- if there is a failure of any kindjava.lang.Exception
-
-