Back to Testcontainers Java

LDAP

docs/modules/ldap.md

2.0.5837 B
Original Source

LDAP

Testcontainers module for LLDAP.

LLdapContainer's usage examples

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

<!--codeinclude-->

LLDAP container inside_block:container

<!--/codeinclude-->

Adding this module to your project dependencies

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

=== "Gradle" groovy testImplementation "org.testcontainers:testcontainers-ldap:{{latest_version}}"

=== "Maven" xml <dependency> <groupId>org.testcontainers</groupId> <artifactId>testcontainers-ldap</artifactId> <version>{{latest_version}}</version> <scope>test</scope> </dependency>