[ https://issues.apache.org/jira/browse/KARAF-4486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15235918#comment-15235918 ]
ASF GitHub Bot commented on KARAF-4486: --------------------------------------- GitHub user acartapanis opened a pull request: https://github.com/apache/karaf/pull/176 fix for #KARAF-4486 fix for #KARAF-4486 very simple change You can merge this pull request into a Git repository by running: $ git pull https://github.com/acartapanis/karaf master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/karaf/pull/176.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #176 ---- commit 35f3b053c36fbeefee41de0d0043e6674d8d2c36 Author: acartapanis <alexandre.cartapa...@gmail.com> Date: 2016-04-11T20:23:43Z fix for #KARAF-4486 ---- > LDAPOptions sets Context.SECURITY_AUTHENTICATION only if username is provided > ----------------------------------------------------------------------------- > > Key: KARAF-4486 > URL: https://issues.apache.org/jira/browse/KARAF-4486 > Project: Karaf > Issue Type: Bug > Components: karaf-security > Affects Versions: 4.0.4 > Reporter: Alexandre Cartapanis > > 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 -- This message was sent by Atlassian JIRA (v6.3.4#6332)