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

Provide session attribute to hold the username

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2021
    • Fix Version/s: 2021.43, 2023.3
    • Component/s: Authentication
    • Release Notes Summary:
      The http session now contains the "user_name" attribute. Tomcat access log pattern can now be changed through the "nuxeo.server.tomcat_access_log.pattern" nuxeo conf property.
    • Release Notes Description:
      Hide

      In order to change the tomcat access log pattern, use the nuxeo.server.tomcat_access_log.pattern nuxeo.conf property e.g.

      nuxeo.server.tomcat_access_log.pattern=%h %t %{user_name}s '%r' %s %b (processed in %D ms)
      

      The default value is combined see https://tomcat.apache.org/tomcat-9.0-doc/config/valve.html

      Show
      In order to change the tomcat access log pattern, use the nuxeo.server.tomcat_access_log.pattern nuxeo.conf property e.g. nuxeo.server.tomcat_access_log.pattern=%h %t %{user_name}s '%r' %s %b (processed in %D ms) The default value is combined see https://tomcat.apache.org/tomcat-9.0-doc/config/valve.html
    • Backlog priority:
      600
    • Sprint:
      nxplatform #95
    • Story Points:
      2

      Description

      Currently in the access.log file, the username is not logged.  Requesting that a session attribute is added to hold the username so that it can be used in the log pattern for the access.log file.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: