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

LDAPOptions sets Context.SECURITY_AUTHENTICATION only if username is provided

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.4
    • Fix Version/s: 4.1.0
    • Component/s: karaf
    • Labels:
      None

      Description

      In the LDAPOptions#getEnv, the Context.SECURITY_AUTHENTICATION is sets only if a connectionUsername is provided. This prevent using "no username" authentication like GSSAPI.
      See https://github.com/apache/karaf/blob/master/jaas/modules/src/main/java/org/apache/karaf/jaas/modules/ldap/LDAPOptions.java#L147

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gnt Guillaume Nodet
                Reporter:
                acartapanis Alexandre Cartapanis
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: