Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-15967

Using mixed casing with usernames confuses the authentication cache

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.2.0
    • Component/s: LDAP
    • Labels:
      None

      Description

      For example, when authenticating using LDAP, if the request uses a username "FOO", Artifactory won't be able to use the non-ui authentication cache. This happens due to the fact that Artifactory normalizes usernames (with toLower) and we get confused about other casing variations if they are used (i.e FOO != foo => so no cache).

      To reproduce:
      1.Connect artifactory to LDAP
      2.Authenticate using uppercase letters for the username
      3.Observe how Artifactory always goes out to LDAP to authenticate the user.

        Attachments

          Activity

            People

            Assignee:
            Dudim Dudi Morad (Inactive)
            Reporter:
            uriahl Uriah Levy
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: