← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1179765] Re: When using v3 API to authenticate user/password in XML format, should report 400 Bad request instead of 401 if the XML if malformed

 

[Expired for Keystone because there has been no activity for 60 days.]

** Changed in: keystone
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1179765

Title:
  When using v3 API to authenticate user/password in XML format, should
  report 400 Bad request instead of 401 if the XML if malformed

Status in OpenStack Identity (Keystone):
  Expired

Bug description:
  when using the request like below:

  curl -i -X POST -H "X-Auth-Token:ADMIN" -H "Content-
  type:application/xml" http://9.119.148.18:35357/v3/auth/tokens -d
  '<?xml version="1.0"
  encoding="UTF-8"?><auth><identity><methods><method>password</method></methods><password><user
  password="xxxxxx" name="admin"></user></password></identity></auth>'
  -H "User-Agent:python-keystoneclient"

  knowing that in the above request xml, there should be domain
  specified, the v3 API respond with 401 unauthorized error, which
  should be 400 bad request if the XML is malformed. 401 would lead to
  confusion

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1179765/+subscriptions