[JIRA] (JENKINS-62171) Can't handle class jenkins.security.plugins.ldap.FromGroupSearchLDAPGroupMembershipStrategy#authoritiesPopulator

0 views
Skip to first unread message

anders@hammar.net (JIRA)

unread,
May 6, 2020, 2:09:02 AM5/6/20
to jenkinsc...@googlegroups.com
Anders Hammar created an issue
 
Jenkins / Bug JENKINS-62171
Can't handle class jenkins.security.plugins.ldap.FromGroupSearchLDAPGroupMembershipStrategy#authoritiesPopulator
Issue Type: Bug Bug
Assignee: Unassigned
Components: ldap-plugin
Created: 2020-05-06 06:08
Environment: Jenkins 2.222.3 on RHEL7 and openJdk 1.8
LDAP plugin v1.24
JCasc plugin v1.39
Labels: jcasc-compatibility
Priority: Minor Minor
Reporter: Anders Hammar

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.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages