Class EmbeddedApacheDS
- java.lang.Object
-
- com.atlassian.confluence.test.apacheds.EmbeddedApacheDS
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EmbeddedApacheDS.LdapServerBindException
-
Constructor Summary
Constructors Constructor Description EmbeddedApacheDS()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createPartition(String ldif)
URI
getLdapUriForConfluence()
URI
getLdapUriForTests()
boolean
isRunning()
void
removePartition()
void
start()
EmbeddedApacheDS
start(int port)
void
stop()
-
-
-
Method Detail
-
start
public void start()
- Specified by:
start
in interfaceorg.springframework.context.Lifecycle
-
start
public EmbeddedApacheDS start(int port) throws Exception
- Throws:
Exception
-
createPartition
public void createPartition(String ldif) throws Exception
- Specified by:
createPartition
in interfaceApacheDS
- Throws:
Exception
-
removePartition
public void removePartition() throws org.apache.directory.api.ldap.model.exception.LdapException
- Specified by:
removePartition
in interfaceApacheDS
- Throws:
org.apache.directory.api.ldap.model.exception.LdapException
-
stop
public void stop()
- Specified by:
stop
in interfaceorg.springframework.context.Lifecycle
-
isRunning
public boolean isRunning()
- Specified by:
isRunning
in interfaceorg.springframework.context.Lifecycle
-
getLdapUriForTests
public URI getLdapUriForTests()
- Specified by:
getLdapUriForTests
in interfaceApacheDS
-
getLdapUriForConfluence
public URI getLdapUriForConfluence()
- Specified by:
getLdapUriForConfluence
in interfaceApacheDS
-
-