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

LDAP role mapping too sensitive to extra whitespace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.4, 2.4.3, 4.0.1
    • 3.0.5, 2.4.4, 4.0.2
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: