For those services that use delay_auth_decision we need to support
adding the keystone URI rejection headers to the response in a uniform
way. I feel this should be more generic and that every 401 response
should contain this header.
Create a WSGI wrapper so that if a 401 is ever returned through
auth_token middleware we can add an additional WWW-Authenticate header.
Reviewed: https:/ /review. openstack. org/119261 /git.openstack. org/cgit/ openstack/ keystonemiddlew are/commit/ ?id=56399113664 6eb6d913e94e482 323966b0393db2
Committed: https:/
Submitter: Jenkins
Branch: master
commit 563991136646eb6 d913e94e4823239 66b0393db2
Author: Jamie Lennox <email address hidden>
Date: Thu Sep 4 17:58:49 2014 +1000
Always add auth URI to unauthorized requests
For those services that use delay_auth_decision we need to support
adding the keystone URI rejection headers to the response in a uniform
way. I feel this should be more generic and that every 401 response
should contain this header.
Create a WSGI wrapper so that if a 401 is ever returned through
auth_token middleware we can add an additional WWW-Authenticate header.
Closes-Bug: #1349364 b6cd17f07c87e98 2d2e8fde2bf
Change-Id: Ib5231a09fd5c6c