Class EmbeddedApacheDS
- java.lang.Object
-
- com.atlassian.confluence.test.apacheds.EmbeddedApacheDS
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEmbeddedApacheDS.LdapServerBindException
-
Constructor Summary
Constructors Constructor Description EmbeddedApacheDS()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreatePartition(String ldif)URIgetLdapUriForConfluence()URIgetLdapUriForTests()booleanisRunning()voidremovePartition()voidstart()EmbeddedApacheDSstart(int port)voidstop()
-
-
-
Method Detail
-
start
public void start()
- Specified by:
startin interfaceorg.springframework.context.Lifecycle
-
start
public EmbeddedApacheDS start(int port) throws Exception
- Throws:
Exception
-
createPartition
public void createPartition(String ldif) throws Exception
- Specified by:
createPartitionin interfaceApacheDS- Throws:
Exception
-
removePartition
public void removePartition() throws org.apache.directory.api.ldap.model.exception.LdapException- Specified by:
removePartitionin interfaceApacheDS- Throws:
org.apache.directory.api.ldap.model.exception.LdapException
-
stop
public void stop()
- Specified by:
stopin interfaceorg.springframework.context.Lifecycle
-
isRunning
public boolean isRunning()
- Specified by:
isRunningin interfaceorg.springframework.context.Lifecycle
-
getLdapUriForTests
public URI getLdapUriForTests()
- Specified by:
getLdapUriForTestsin interfaceApacheDS
-
getLdapUriForConfluence
public URI getLdapUriForConfluence()
- Specified by:
getLdapUriForConfluencein interfaceApacheDS
-
-