karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandre Cartapanis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-4490) LDAPLoginModule use authentication to check user password
Date Tue, 12 Apr 2016 10:44:25 GMT

     [ https://issues.apache.org/jira/browse/KARAF-4490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexandre Cartapanis updated KARAF-4490:
----------------------------------------
    Description: 
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".

  was:
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".


> 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 (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.3.4#6332)

Mime
View raw message