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

ClassCastException in ReverseProxySecurityRealm#loadGroupByGroupname2

    • 238.v82ceca_8417a_6

      Hi,

      After updating to the latest 1.8.0, and started the instance, a bug arised in the security matrix in which we provide ldap group in order to handle ACL. (we use the plugin for HTTP Headers identification and LDAP matrix)

      Seems there is an unwanted cast somewhere

       

      java.lang.ClassCastException: class com.sun.jndi.ldap.LdapCtx cannot be cast to class org.springframework.ldap.core.DirContextAdapter (com.sun.jndi.ldap.LdapCtx is in module java.naming of loader 'bootstrap'; org.springframework.ldap.core.DirContextAdapter is in unnamed module of loader 'PluginClassLoader for reverse-proxy-auth-plugin' @2a7d1d53)

      Full log and screeshot attached. I have reverted for the moment.

       

      Thanks

          [JENKINS-74842] ClassCastException in ReverseProxySecurityRealm#loadGroupByGroupname2

          Robert Smith created issue -
          Basil Crow made changes -
          Summary Original: Reverse Proxy Auth Plugin 1.8.0 - LDAP Group bug New: ClassCastException in ReverseProxySecurityRealm#loadGroupByGroupname2
          Basil Crow made changes -
          Remote Link New: This issue links to "jenkinsci/reverse-proxy-auth-plugin#153 (Web Link)" [ 30202 ]
          Basil Crow made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Basil Crow made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Basil Crow made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Fixed but Unreleased [ 10203 ]
          Basil Crow made changes -
          Epic Link New: JENKINS-73255 [ 221250 ]
          Basil Crow made changes -
          Link New: This issue is duplicated by JENKINS-74841 [ JENKINS-74841 ]
          Basil Crow made changes -
          Released As New: 238.v82ceca_8417a_6
          Status Original: Fixed but Unreleased [ 10203 ] New: Closed [ 6 ]

            basil Basil Crow
            mamamia Robert Smith
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: