Uploaded image for project: 'Archiva'
  1. Archiva
  2. MRM-1244

Improve Authorization Denied log message

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.2.2
    • None
    • None
    • None

    Description

      I see this in archiva.log

      2009-09-02 08:05:42,086 [btpool0-0] INFO org.apache.maven.archiva.security.ArchivaServletAuthenticator - Authorization Denied [ip=127.0.0.1,permission=archiva-read-repository,repo=internal] : no matching permissions

      Can this message be improved to include
      1. the file being accessed
      2. the username that tried to access it
      ?

      Sometimes you can correlate times with the Jetty access log and figure it out. (In my environment it's usually the guest user missing a repo observer role.)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wsmoak Wendy Smoak
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: