You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jonathan Anstey (JIRA)" <ji...@apache.org> on 2015/08/20 20:23:47 UTC

[jira] [Resolved] (KARAF-3946) LDAP role mapping too sensitive to extra whitespace

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

Jonathan Anstey resolved KARAF-3946.
------------------------------------
    Resolution: Fixed

FIxed with:
   58fd9f9..5442ae0  karaf-2.x -> karaf-2.x
   61db355..8ce5034  karaf-3.0.x -> karaf-3.0.x
   eaca837..4eddb09  master -> master

http://git-wip-us.apache.org/repos/asf/karaf/commit/5442ae04

> LDAP role mapping too sensitive to extra whitespace
> ---------------------------------------------------
>
>                 Key: KARAF-3946
>                 URL: https://issues.apache.org/jira/browse/KARAF-3946
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 3.0.4, 2.4.3, 4.0.1
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>            Priority: Minor
>             Fix For: 3.0.5, 2.4.4, 4.0.2
>
>
> Using a role mapping like:
> admin = karaf, test; admin = another
> Will not work because the extra whitespaces are being counted towards the role names. In LDAP leading and trailing white spaces should not be counted so this should be fixed up...
> Workaround is simple: just don't use any extra spaces :-) So use a role mapping string like:
> admin=karaf,test;admin=another



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)