summaryrefslogtreecommitdiffstats
path: root/keystone
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-03-20 23:59:16 +0000
committerGerrit Code Review <review@openstack.org>2012-03-20 23:59:16 +0000
commit885f8d5950f8441e857d860b4e1cd4fd996440cd (patch)
treeb6abcfe81c595833296781946616da9477ff36a9 /keystone
parentd61aedaf868d984f1c317a73b362a2e7a366ef89 (diff)
parent94904e45e3276e1c274a25c785c0143cd6d6fec1 (diff)
Merge "Rename tokenauth to authtoken."
Diffstat (limited to 'keystone')
-rw-r--r--keystone/middleware/swift_auth.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/keystone/middleware/swift_auth.py b/keystone/middleware/swift_auth.py
index 9bb38597..23578723 100644
--- a/keystone/middleware/swift_auth.py
+++ b/keystone/middleware/swift_auth.py
@@ -38,10 +38,15 @@ from swift.common.middleware import acl as swift_acl
class SwiftAuth(object):
"""Swift middleware to Keystone authorization system.
- In Swift's proxy-server.conf add the middleware to your pipeline::
+ In Swift's proxy-server.conf add this middleware to your pipeline::
[pipeline:main]
- pipeline = catch_errors cache tokenauth swiftauth proxy-server
+ pipeline = catch_errors cache authtoken swiftauth proxy-server
+
+ Make sure you have the authtoken middleware before the swiftauth
+ middleware. The authtoken will take care of validating the user
+ and swiftauth middleware will authorize it. See the documentation
+ about how to configure the authtoken middleware.
Set account auto creation to true::