Uploaded image for project: 'atlassian-seraph'
  1. atlassian-seraph
  2. SER-154

request.getRemoteUser() does not return a logged in user

    XMLWordPrintable

Details

    • Bug
    • Status: RESOLVED
    • High
    • Resolution: Fixed
    • 2.2
    • 2.3.4, 2.4
    • None
    • true

    Description

      This change http://svn.atlassian.com/fisheye/changelog/public?cs=39411 http://svn.atlassian.com/fisheye/cru/CR-517#c3145 has broken confluence's invite plugin.

      The plugin used to rely on the fact that after calling getAuthenticator().login(ServletActionContext.getRequest(), ServletActionContext.getResponse(), username, password, true); the request.getRemoteUser will return the username of logged in user. After we changed the BaseLoginFilter to cache the principle it no longer does that.

      I changed the plugin so it is no longer affected...

      Attachments

        1. seraph-fix.patch
          1 kB
          Matthew Erickson

        Issue Links

          Activity

            People

              merickson Matthew Erickson
              akazatchkov Anatoli
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11 years, 32 weeks, 5 days ago