Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-22172

using JSESSIONID from /auth REST resource doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Highest Highest
    • 4.2
    • 4.2 - Beta 1
    • REST API

      The problem is that when you first hit /auth you get a new session...but nothing ever puts a user in it.

      Then when come around again to go to /issue Seraph sees that you have a session but finds no user in it...then it doesn't bother to look at the cookie. Seraph should probably be looking at the cookie in this case rather than the session. (But we do it in that order because we optimise for the common case.)

      jira-rest-plugin's problem is that using LoginService doesn't do all the same stuff that the DefaultAuthenticator does. We need to switch to the DA (or something similar).

            jpendleton Justus Pendleton (Inactive)
            jpendleton Justus Pendleton (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h
                3h