Class LdapContainer
java.lang.Object
org.jenkinsci.test.acceptance.docker.DockerContainer
org.jenkinsci.test.acceptance.docker.fixtures.LdapContainer
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class LdapContainer
extends org.jenkinsci.test.acceptance.docker.DockerContainer
openLDAP (slapd) Container with a small user directory. The configuration of
this ldap is located next to its Dockerfile. To edit/add users or groups just
add them to config/base.ldif and rebuild the image.
- Author:
- Michael Prankl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
addBracketsIfNeeded
(String host) getHost()
int
getPort()
Methods inherited from class org.jenkinsci.test.acceptance.docker.DockerContainer
assertRunning, close, cp, getCid, getIpAddress, getLogfile, getPid, inspect, ipBound, ipUdpBound, ipv6Enabled, port, resource, sharingHostDockerService, toString, udpPort
-
Constructor Details
-
LdapContainer
public LdapContainer()
-
-
Method Details
-
getHost
-
getPort
public int getPort() -
getRootDn
-
getManagerDn
-
getManagerPassword
-
createDefault
- Returns:
- default ldap connection details from current running docker LdapContainer.
- Throws:
MalformedURLException
-
addBracketsIfNeeded
- Throws:
MalformedURLException
-