Alexandre Cartapanis created KARAF-4490:
-------------------------------------------

             Summary: LDAPLoginModule use authentication to check user password
                 Key: KARAF-4490
                 URL: https://issues.apache.org/jira/browse/KARAF-4490
             Project: Karaf
          Issue Type: Bug
          Components: karaf-security
    Affects Versions: 4.0.4
            Reporter: Alexandre Cartapanis


The {{LDAPLoginModule}} uses the {{authentication}} property to authenticate to 
the LDAP server, but also use it to check user password. If {{authentication}} 
is set to "none" for exemple, it will validate any password provided by user.
In 
https://github.com/apache/karaf/blob/master/jaas/modules/src/main/java/org/apache/karaf/jaas/modules/ldap/LDAPLoginModule.java#L124,
 {{authentication}} should be set to "simple".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to