Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1936

LDAPLoginModule not working in 2.3.0 due to missing import of javax.net.SocketFactory

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.2.10, 2.3.1, 3.0.0
    • Component/s: karaf-core
    • Labels:
      None

      Description

      javax.security.auth.login.LoginException: java.lang.NoClassDefFoundError: javax/net/SocketFactory
      at org.apache.karaf.jaas.modules.ldap.LDAPLoginModule.login(LDAPLoginModule.java:128)

      The obvious quick work-around is to use the dynamic-import command

        Activity

        Hide
        earcam Caspar MacRae added a comment -

        Great, thanks JB =)

        Show
        earcam Caspar MacRae added a comment - Great, thanks JB =)
        Show
        jbonofre Jean-Baptiste Onofré added a comment - Fixed on karaf-2.2.x: http://svn.apache.org/viewvc?view=revision&revision=1410093
        Show
        jbonofre Jean-Baptiste Onofré added a comment - Fixed on trunk: http://svn.apache.org/viewvc?view=revision&revision=1410042
        Show
        jbonofre Jean-Baptiste Onofré added a comment - Fixed on karaf-2.3.x: http://svn.apache.org/viewvc?view=revision&revision=1410001
        Hide
        jbonofre Jean-Baptiste Onofré added a comment -

        It's weird as we didn't change the LDAP login module. Anyway, I gonna make a try on 2.2.10-SNAPSHOT as well, to be sure that it's still working on that branch.

        Show
        jbonofre Jean-Baptiste Onofré added a comment - It's weird as we didn't change the LDAP login module. Anyway, I gonna make a try on 2.2.10-SNAPSHOT as well, to be sure that it's still working on that branch.

          People

          • Assignee:
            jbonofre Jean-Baptiste Onofré
            Reporter:
            earcam Caspar MacRae
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development