Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-3946

LDAP role mapping too sensitive to extra whitespace

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.4, 2.4.3, 4.0.1
    • Fix Version/s: 3.0.5, 2.4.4, 4.0.2
    • Component/s: None
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              janstey Jonathan Anstey
              Reporter:
              janstey Jonathan Anstey
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: