[
https://issues.apache.org/jira/browse/KARAF-4486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15293095#comment-15293095
]
ASF GitHub Bot commented on KARAF-4486:
---------------------------------------
Github user acartapanis closed the pull request at:
https://github.com/apache/karaf/pull/176
> 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
> Assignee: Guillaume Nodet
> Fix For: 4.1.0
>
>
> 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)