Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-32063

Provide request attribute to hold username

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2023.3, 2021.44
    • Component/s: Authentication
    • Release Notes Summary:
      The http request now contains the "user_name" attribute
    • Tags:
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #96

      Description

      Work done in NXP-32019 sets the principal name as HTTP session attribute to make it available in the tomcat's access.log pattern under

      %{user_name}s
      

      However, calls made with curl and basic authentication do not have a session scope and

      %{user_name}s
      

      would return nothing.

      We should in addition set the principal name as HTTP request attribute to make it available under

      %{user_name}r
      

      https://tomcat.apache.org/tomcat-9.0-doc/config/valve.html

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: