Skip to content
This repository has been archived by the owner on Aug 10, 2020. It is now read-only.

Latest commit

 

History

History
26 lines (21 loc) · 642 Bytes

File metadata and controls

26 lines (21 loc) · 642 Bytes

configure ldap plugin

sample configuration

jenkins:

  securityRealm:
    ldap:
      configurations:
        - server: ldap.acme.com
          rootDN: dc=acme,dc=fr
          managerPasswordSecret: ${LDAP_PASSWORD}
      cache:
        size: 100
        ttl: 10
      userIdStrategy: CaseSensitive
      groupIdStrategy: CaseSensitive

implementation note

hudson.security.LDAPSecurityRealm can be configure using it's @DataBoundConstructor parameters without any dedicated adapter code. It is identified as ldap as it implements SecurityRealm extension point, so we can define a "natural" Symbol name for it.