Fixes bug 1022575
Making change to tests/*py to pass pep8 tests.
pep8 tests started failing following
39b20acc933cb0fdf73075ddb9a9d82665b84b23 update pep8 to 1.3.3
04df79b64e5f2296df03579700535774e158f623 include tests dir in pep8 tests
Change-Id: I2d7dec0a87f1ae9b5f828d7f321b65bf8c06a421
Fixes bug 999998.
Swift auth middleware uses a new format for expressing
a container ACL for a user: <tenant_name>:<user>. This
fix add supports for checking ACL using the old format
of <tenant_id>:<user>.
Change-Id: I44985b191afb174605c35041741056ae1e78fa77
- 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
- Implements blueprint swift-middleware-add-overrides-feature.
- Let other middleware do authentication for certain request allow
tempurl or formpost to temporary allow access for certain object and do
the validation in there.
Change-Id: I4f5bcb5832f96ced2c6c10d565737ae894771690
* s3_token and swift_auth depend on swift.common.utils.get_logger,
which configures a syslog handler in an OS X-incompatible way.
This change ensures that get_logger is stubbed out for the
swift middleware tests to allow the Keystone test suite to execute
successfully under OS X.
* Addresses bug 974583
Change-Id: Ibdb665d1ea65c13ef792767ad66251857629a702
* Isolates authorize() tests from wsgi tests
* Adds coverage for authorize()
* Adds support for a blank reseller_prefix
* Adds swift_auth test dependencies to tools/test-requires
* Cleans up authorize()'s use of tenant_id/tenant_name
(addresses bug 963546)
Change-Id: I603b89ab4fe8559b0f5d72528afd659ee0f0bce1