Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-62171

Can't handle class jenkins.security.plugins.ldap.FromGroupSearchLDAPGroupMembershipStrategy#authoritiesPopulator

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: ldap-plugin
    • Environment:
      Jenkins 2.222.3 on RHEL7 and openJdk 1.8
      LDAP plugin v1.24
      JCasc plugin v1.39
    • Similar Issues:

      Description

      During startup when JCasC loads configuration (se below) the following is logged:

      May 05, 2020 3:17:51 PM WARNING io.jenkins.plugins.casc.BaseConfigurator createAttribute
      Can't handle class jenkins.security.plugins.ldap.FromGroupSearchLDAPGroupMembershipStrategy#authoritiesPopulator: type is abstract but not Describable.

      Here's the JCasC yaml (sensitive data replaced with dummy):

      jenkins:
        securityRealm:
          ldap:
            configurations:
            - server: "ldap.acme.org"
              rootDN: "dc=utv,dc=acme,dc=org"
              userSearchBase: "ou=people"
              userSearch: "uid={0}"
              groupSearchBase: "ou=group"
              groupSearchFilter: "(& (cn={0}) (objectclass=posixGroup))"
              groupMembershipStrategy:
                fromGroupSearch:
                  filter: ""
              displayNameAttributeName: "cn"
              mailAddressAttributeName: "mail"
              inhibitInferRootDN: false
            userIdStrategy: "caseInsensitive"
            groupIdStrategy: "caseInsensitive"
            disableMailAddressResolver: false
            disableRolePrefixing: true
            cache:
              size: 20
              ttl: 300
      

      However, JCasC seems to apply the configure so not sure what the warning message really indicates.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              ahammar Anders Hammar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: