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:21:47 UTC

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

Jonathan Anstey created KARAF-3946:
--------------------------------------

             Summary: 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: 4.0.1, 2.4.3, 3.0.4
            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)