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 void
configureConfluence(com.atlassian.confluence.test.jwebunit.usermanagement.Forms form)
void
createPartition()
void
createPartition(String ldif)
static String
getDefaultLdif()
static LdapService
getInstance()
LdapUserManagementHelper
getUserManagementHelper(ConfluenceRpc rpc)
void
removePartition()
void
start()
Tries to start an LDAP server on any free port in the port range between#PORT_RANGE_START
and#PORT_RANGE_END
.void
stop()
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_START
and#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)
-
-