Class LdapService
- java.lang.Object
-
- com.atlassian.confluence.it.usermanagement.LdapService
-
public class LdapService extends Object
Starts an LDAP server on the first available port within the range.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigureConfluence(com.atlassian.confluence.test.jwebunit.usermanagement.Forms form)voidcreatePartition()voidcreatePartition(String ldif)static StringgetDefaultLdif()static LdapServicegetInstance()LdapUserManagementHelpergetUserManagementHelper(ConfluenceRpc rpc)voidremovePartition()voidstart()Tries to start an LDAP server on any free port in the port range between#PORT_RANGE_STARTand#PORT_RANGE_END.voidstop()Stops the LDAP server.
-
-
-
Method Detail
-
getInstance
public static LdapService getInstance()
-
start
public void start()
Tries to start an LDAP server on any free port in the port range between#PORT_RANGE_STARTand#PORT_RANGE_END.
-
getDefaultLdif
public static String getDefaultLdif()
-
stop
public void stop()
Stops the LDAP server.
-
getUserManagementHelper
public LdapUserManagementHelper getUserManagementHelper(ConfluenceRpc rpc)
-
configureConfluence
public void configureConfluence(com.atlassian.confluence.test.jwebunit.usermanagement.Forms form)
-
-