From 055d07380347cec2bff14383ed1434852f91336e Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Tue, 3 Apr 2012 21:06:02 +0200 Subject: Update swift_auth documentation. - Make it consistent between the source documentation and the rst documentation. - Note about the default being https. Change-Id: Ic78ef79198eee9b514bb52fce12d7224e9ab65ae --- keystone/middleware/swift_auth.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'keystone') diff --git a/keystone/middleware/swift_auth.py b/keystone/middleware/swift_auth.py index 19f8cab9..be6d639e 100644 --- a/keystone/middleware/swift_auth.py +++ b/keystone/middleware/swift_auth.py @@ -41,7 +41,7 @@ class SwiftAuth(object): In Swift's proxy-server.conf add this middleware to your pipeline:: [pipeline:main] - pipeline = catch_errors cache authtoken swiftauth proxy-server + pipeline = catch_errors cache authtoken keystone proxy-server Make sure you have the authtoken middleware before the swiftauth middleware. authtoken will take care of validating the user and @@ -58,10 +58,9 @@ class SwiftAuth(object): And add a swift authorization filter section, such as:: - [filter:swiftauth] - use = egg:keystone#swiftauth + [filter:keystone] + paste.filter_factory = keystone.middleware.auth_token:filter_factory operator_roles = admin, swiftoperator - is_admin = false This maps tenants to account in Swift. -- cgit