Class 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 Detail

      • LdapContainer

        public LdapContainer()
    • Method Detail

      • getHost

        public String getHost()
      • getPort

        public int getPort()
      • getRootDn

        public String getRootDn()
      • getManagerDn

        public String getManagerDn()
      • getManagerPassword

        public String getManagerPassword()
      • createDefault

        public LdapDetails createDefault()
        Returns:
        default ldap connection details from current running docker LdapContainer.