Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-22099

(7.4.z) WFCORE-5438 - For modular VMs include --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED

XMLWordPrintable

      Both the org.wildfly.security.auth.realm.ldap.SimpleDirContextFactoryBuilder class used by the Elytron subsystem dir-context resource, as well as the org.jboss.as.domain.management.connections.ldap.LdapConnectionResourceDefinition used by the core-management ladp-connection resource will by default attempt to instantiate an instance of com.sun.jndi.ldap.LdapCtxFactory. This will fail on SE 16 or later if the relevant module/package is not exported to unnamed modules.

      Edit: Soteria also uses com.sun.jndi.ldap.LdapCtxFactory.

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: