<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-keystoneclient.git/keystoneclient/middleware/auth_token.py, branch 0.4.0</title>
<subtitle>opendev.org: openstack/python-keystoneclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/'/>
<entry>
<title>Merge "Normalize datetimes to account for tz"</title>
<updated>2013-10-09T17:23:18+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-10-09T17:23:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=4ae816bbfff7eb3d3bbe63f4e47e40dcb0b9c031'/>
<id>4ae816bbfff7eb3d3bbe63f4e47e40dcb0b9c031</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Fix H202 assertRaises Exception"</title>
<updated>2013-10-09T16:00:36+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-10-09T16:00:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=102b8677fd787998cc28809d56a7319832abb557'/>
<id>102b8677fd787998cc28809d56a7319832abb557</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Normalize datetimes to account for tz</title>
<updated>2013-10-09T12:52:44+00:00</updated>
<author>
<name>Bryan Davidson</name>
<email>bryan.davidson@rackspace.com</email>
</author>
<published>2013-08-30T17:38:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=93793cb3963d5d001cb51e3452d2226230a72986'/>
<id>93793cb3963d5d001cb51e3452d2226230a72986</id>
<content type='text'>
This patch makes sure that datetimes in the auth_token middleware
are normalized to account for timezone offsets.

Some of the old tests were changed to ensure that the expires string
stored in the cache is in ISO 8601 format and not a random float.

Fixes bug 1195924

Change-Id: I5917ab728193cd2aa8784c4860a96cdc17f3d43f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch makes sure that datetimes in the auth_token middleware
are normalized to account for timezone offsets.

Some of the old tests were changed to ensure that the expires string
stored in the cache is in ISO 8601 format and not a random float.

Fixes bug 1195924

Change-Id: I5917ab728193cd2aa8784c4860a96cdc17f3d43f
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Refactor for testability of an upcoming change"</title>
<updated>2013-10-07T17:17:57+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-10-07T17:17:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=e9fb6c7c8f5e37a5b94141bcd5b94fcacf41c075'/>
<id>e9fb6c7c8f5e37a5b94141bcd5b94fcacf41c075</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix H202 assertRaises Exception</title>
<updated>2013-10-04T08:54:03+00:00</updated>
<author>
<name>Kui Shi</name>
<email>skuicloud@gmail.com</email>
</author>
<published>2013-10-04T08:54:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=8a036c3f76f0d0ae4cb4c57f902a5e6b90baa9c9'/>
<id>8a036c3f76f0d0ae4cb4c57f902a5e6b90baa9c9</id>
<content type='text'>
Align the hacking version between test-requirement and global requirement.

The change of H202 detection from 0.6 to 0.7 in hacking is:

-    if logical_line.startswith("self.assertRaises(Exception)"):
+    if logical_line.startswith("self.assertRaises(Exception,"):

then more cases are detected by this change. Fix the exposed H202 error.

There is a special test case:
tests/v3/test_endpoints.py:test_update_invalid_interface

ref = self.new_ref(interface=uuid.uuid4().hex)

this line can not generate proper parameter for self.manager.update,
add a parameter "endpoint" for it, according to the
definition in keystoneclient/v3/endpoints.py:EndpointManager.update.

Otherwise, there will be following error after changing the Exception
to exceptions.ValidationError:
TypeError: update() takes at least 2 arguments (6 given)

Fixes Bug #1220008

Change-Id: I8f7ed7a6eebf8576a6db5fecd86b9d19a15c8d60
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Align the hacking version between test-requirement and global requirement.

The change of H202 detection from 0.6 to 0.7 in hacking is:

-    if logical_line.startswith("self.assertRaises(Exception)"):
+    if logical_line.startswith("self.assertRaises(Exception,"):

then more cases are detected by this change. Fix the exposed H202 error.

There is a special test case:
tests/v3/test_endpoints.py:test_update_invalid_interface

ref = self.new_ref(interface=uuid.uuid4().hex)

this line can not generate proper parameter for self.manager.update,
add a parameter "endpoint" for it, according to the
definition in keystoneclient/v3/endpoints.py:EndpointManager.update.

Otherwise, there will be following error after changing the Exception
to exceptions.ValidationError:
TypeError: update() takes at least 2 arguments (6 given)

Fixes Bug #1220008

Change-Id: I8f7ed7a6eebf8576a6db5fecd86b9d19a15c8d60
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Log user info in auth_token middleware"</title>
<updated>2013-10-02T22:33:40+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-10-02T22:33:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=e170955d6de5cbf521d54105bdefaf606ccdb356'/>
<id>e170955d6de5cbf521d54105bdefaf606ccdb356</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor for testability of an upcoming change</title>
<updated>2013-10-01T15:51:48+00:00</updated>
<author>
<name>Bryan Davidson</name>
<email>bryan.davidson@rackspace.com</email>
</author>
<published>2013-08-30T16:31:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=a2e7b17810ed34719dc101f93dc480e2f9fdce6e'/>
<id>a2e7b17810ed34719dc101f93dc480e2f9fdce6e</id>
<content type='text'>
confirm_token_not_expired() in keystoneclient/middleware/auth_token.py has
been moved out of the class to make it a function and be more testable.
Currently, there is no need to keep it within the class. An upcoming
commit makes fixes that rely on this refactor to be tested.

Change-Id: I8460a2ee663dec8be0f339735208779a3b988040
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
confirm_token_not_expired() in keystoneclient/middleware/auth_token.py has
been moved out of the class to make it a function and be more testable.
Currently, there is no need to keep it within the class. An upcoming
commit makes fixes that rely on this refactor to be tested.

Change-Id: I8460a2ee663dec8be0f339735208779a3b988040
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace HttpConnection in auth_token with Requests</title>
<updated>2013-09-12T02:05:17+00:00</updated>
<author>
<name>Jamie Lennox</name>
<email>jlennox@redhat.com</email>
</author>
<published>2013-08-12T03:12:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=20e166fd8a943ee3f91ba362a47e9c14c7cc5f4c'/>
<id>20e166fd8a943ee3f91ba362a47e9c14c7cc5f4c</id>
<content type='text'>
Requests is becoming the standard way of doing http communication, it
also vastly simplifies adding other authentication mechanisms. Use it in
the auth_token middleware.

This adds the ability to specify a CA file that will be used to verify a
HTTPS connections or insecure to specifically ignore HTTPS validation.

SecurityImpact
DocImpact
Partial-Bug: #1188189
Change-Id: Iae94329e7abd105bf95224d28f39f4b746b9eb70
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Requests is becoming the standard way of doing http communication, it
also vastly simplifies adding other authentication mechanisms. Use it in
the auth_token middleware.

This adds the ability to specify a CA file that will be used to verify a
HTTPS connections or insecure to specifically ignore HTTPS validation.

SecurityImpact
DocImpact
Partial-Bug: #1188189
Change-Id: Iae94329e7abd105bf95224d28f39f4b746b9eb70
</pre>
</div>
</content>
</entry>
<entry>
<title>Support client generate literal ipv6 auth_uri base on auth_host</title>
<updated>2013-09-11T01:53:34+00:00</updated>
<author>
<name>Dazhao</name>
<email>dzyu@cn.ibm.com</email>
</author>
<published>2013-08-21T03:43:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=852421130dd8a950377056b4b24d942d807ed672'/>
<id>852421130dd8a950377056b4b24d942d807ed672</id>
<content type='text'>
This patch is for fix bug 1208784. Support keystone client generate
literal ipv6 auth_uri via provided auth_host, when the auth_uri is
None.

Fixes bug 1208784

Change-Id: I226881a35a74ef668d4cd1c6829a64c94ff185d9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch is for fix bug 1208784. Support keystone client generate
literal ipv6 auth_uri via provided auth_host, when the auth_uri is
None.

Fixes bug 1208784

Change-Id: I226881a35a74ef668d4cd1c6829a64c94ff185d9
</pre>
</div>
</content>
</entry>
<entry>
<title>Log user info in auth_token middleware</title>
<updated>2013-09-10T05:16:27+00:00</updated>
<author>
<name>AmalaBasha</name>
<email>amala.alungal@RACKSPACE.COM</email>
</author>
<published>2013-09-03T10:21:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-keystoneclient.git/commit/?id=d40a9f4f6e10feb806d2ee4dd6266c948e7e6645'/>
<id>d40a9f4f6e10feb806d2ee4dd6266c948e7e6645</id>
<content type='text'>
Add logging for user information (like user name, tenant_id, roles) in
the auth_token middleware. This would make tracking down issues much
easier.

Change-Id: Ife4ce29d2f8e1a338a025dda4afbd7b563f6b8c1
Implements: blueprint user-info-logging-in-auth-token-middleware
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add logging for user information (like user name, tenant_id, roles) in
the auth_token middleware. This would make tracking down issues much
easier.

Change-Id: Ife4ce29d2f8e1a338a025dda4afbd7b563f6b8c1
Implements: blueprint user-info-logging-in-auth-token-middleware
</pre>
</div>
</content>
</entry>
</feed>
