Skip to content

LDAP

Testcontainers module for LLDAP.

LLdapContainer's usage examples

You can start a LLDAP container instance from any Java application by using:

LLdapContainer lldap = new LLdapContainer("lldap/lldap:v0.6.1-alpine")

Adding this module to your project dependencies

Add the following dependency to your pom.xml/build.gradle file:

testImplementation "org.testcontainers:ldap:1.20.5"
<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>ldap</artifactId>
    <version>1.20.5</version>
    <scope>test</scope>
</dependency>