Bug 1090710 - Allow both forms of Web Service authentication
Summary: Allow both forms of Web Service authentication
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: WebService
Version: 4.4
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: 4.4
Assignee: Simon Green
QA Contact: Matt Tyson 🤬
URL:
Whiteboard:
Depends On:
Blocks: 1090711
TreeView+ depends on / blocked
 
Reported: 2014-04-24 02:04 UTC by Simon Green
Modified: 2018-12-09 06:29 UTC (History)
3 users (show)

Fixed In Version: 4.4.4019
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-07 00:58:15 UTC
Embargoed:


Attachments (Terms of Use)

Description Simon Green 2014-04-24 02:04:46 UTC
Description of problem:
Upstream Bugzilla 4.4.3 introduced a change that replaced cookie based authentication with token based authentication. Red Hat Bugzilla included this change in 4.4.4019.

It is now clear that some teams are not ready for this change, and after discussion with some people we have decided to allow both cookie and token based authentication for RPC calls until October 1st, 2014.

Version-Release number of selected component (if applicable):
4.4.4019

Additional info:
We are also going to log to the bz.log file (at the info level) details about the RPC calls. This will include the id of the user making the call, their username, the call they made, and whether they used a token, a cookie, both or neither.

Comment 2 Matt Tyson 🤬 2014-04-28 01:07:06 UTC
Cookie authentication by itself still works.  COOKIE is noted in the log output.
Token authentication by itself works fine.  TOKEN is noted in the log output.

Using both cookies and tokens together also works fine.  BOTH is noted in the log output.

Comment 3 Simon Green 2014-04-28 01:12:32 UTC
And I assume none is shown when no authentication is provided (e.g. User.login or anonymous queries)

Comment 4 Matt Tyson 🤬 2014-04-28 02:51:58 UTC
(In reply to Simon Green from comment #3)
> And I assume none is shown when no authentication is provided (e.g.
> User.login or anonymous queries)

Correct, if no token or cookie is provided for an RPC call NONE will be shown in the log output.

Comment 5 Simon Green 2014-05-07 00:58:15 UTC
This change is now live. If there are any issues, do not reopen this bug.
Instead, you should create a new bug and reference this bug.

  -- simon


Note You need to log in before you can comment on or make changes to this bug.