swift_auth middleware is still referencing deprecated header HTTP_X_USER

Bug #999447 reported by Lin Hua Cheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Chmouel Boudjnah

Bug Description

HTTP_X_USER is deprecated, code reference in the swift authorization middleware should be updated to use HTTP_X_USER_NAME when referencing user name.

Revision history for this message
Lin Hua Cheng (lin-hua-cheng) wrote :

Same issue for HTTP_X_ROLE, it needs to be updated to use HTTP_X_ROLES.

If the bug is confirmed, can you please assign it to me. Thanks!

Changed in keystone:
assignee: nobody → Chmouel Boudjnah (chmouel)
Revision history for this message
Joseph Heck (heckj) wrote :

Chmouel - I'll leave it to you to confirm/deny the bug.

Changed in keystone:
status: New → Triaged
importance: Undecided → Medium
Changed in keystone:
status: Triaged → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/7669

Changed in keystone:
status: Confirmed → In Progress
Revision history for this message
Chmouel Boudjnah (chmouel) wrote :

Apologies Lin I just saw you asked to be assigned on this, I have already sent a review for that.

Revision history for this message
Lin Hua Cheng (lin-hua-cheng) wrote :

No problem, thanks for the quick fix.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/7669
Committed: http://github.com/openstack/keystone/commit/daf395b5e85bfa1f91612dda7030b3089ca4da7a
Submitter: Jenkins
Branch: master

commit daf395b5e85bfa1f91612dda7030b3089ca4da7a
Author: Chmouel Boudjnah <email address hidden>
Date: Tue May 22 15:01:38 2012 +0000

    Use X_USER_NAME and X_ROLES headers.

    - Don't use deprecated headers X_USER and X_ROLE but the newest one
      X_USER_NAME and X_ROLES.
    - Fixes bug 999447.

    Change-Id: I12752c7668863cbb47ee4b6e484cc494133443e8

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → folsom-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: folsom-2 → 2012.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.