[ https://issues.apache.org/jira/browse/KARAF-4486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15239517#comment-15239517 ]
Guillaume Nodet commented on KARAF-4486: ---------------------------------------- No need to, I'll apply my patch asap. > 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)