[ 
https://issues.apache.org/jira/browse/KARAF-4490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16104935#comment-16104935
 ] 

Jean-Baptiste Onofré commented on KARAF-4490:
---------------------------------------------

Same for 4.1.x.

> 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
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.2.0, 4.1.2
>
>
> The {{LDAPLoginModule}} uses the {{authentication}} property to authenticate 
> to the LDAP server, but also use it to check user password (step 2). 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.4.14#64029)

Reply via email to