Uploaded image for project: 'Archiva (Retired)'
  1. Archiva (Retired)
  2. MRM-711

Security using ldap throws NullPointerException

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.0.1
    • 1.1
    • Users/Security
    • None
    • Ubuntu Linux, Open-ldap

    Description

      I configured ~/.m2/security.properties with ldap information.
      In DefaultArchivaConfiguration the Registry load all informations of security.properties.

      When i was loggin throws this Exception:

      java.lang.NullPointerException
      org.codehaus.plexus.redback.common.ldap.connection.LdapConnection.<init>(LdapConnection.java:58)
      org.codehaus.plexus.redback.common.ldap.connection.ConfigurableLdapConnectionFactory.getConnection(ConfigurableLdapConnectionFactory.java:123)
      org.codehaus.plexus.redback.authentication.ldap.LdapBindAuthenticator.authenticate(LdapBindAuthenticator.java:92)

      I got redback source code, and i see that any information of ldap was there in LdapConnection!

      Attachments

        Issue Links

          Activity

            People

              oching Maria Odea B. Ching
              goncalvesl Lucas Vilela de Souza Gonçalves
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Slack

                  Issue deployment