diff options
author | Prashanth Pai <ppai@redhat.com> | 2013-11-06 17:30:28 +0530 |
---|---|---|
committer | Luis Pabon <lpabon@redhat.com> | 2013-11-17 16:34:11 -0800 |
commit | 991989bc04178442b2a6b766a67f7a26e60c08f0 (patch) | |
tree | e796215fbb45333290fdd293b608235b7f67493c /doc/architecture.md | |
parent | f64a3354185f32928e2568d9ece4a52fa4746c05 (diff) |
Modularize swift-auth CGI script, add unit tests
- Moved most of swift-auth CGI script to kerbauth_utils.py
- Added unit tests for kerbauth_utils.py
- Made MEMCACHE_SERVERS, DEBUG_HEADERS, TOKEN_LIFE as
configurable parameters
Change-Id: I2e9e9823e8aa99dc2cf41327c55428350c8768dc
Signed-off-by: Prashanth Pai <ppai@redhat.com>
Reviewed-on: http://review.gluster.org/6248
Tested-by: Chetan Risbud <crisbud@redhat.com>
Reviewed-by: Chetan Risbud <crisbud@redhat.com>
Reviewed-by: Luis Pabon <lpabon@redhat.com>
Tested-by: Luis Pabon <lpabon@redhat.com>
Diffstat (limited to 'doc/architecture.md')
-rw-r--r-- | doc/architecture.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/architecture.md b/doc/architecture.md index cfe64d2..fc6d764 100644 --- a/doc/architecture.md +++ b/doc/architecture.md @@ -38,10 +38,9 @@ either grants or denies the resource access. ## kerbauth.py -The script /usr/lib/python2.6/site-packages/swiftkerbauth/kerbauth.py began as -a copy of the tempauth.py script from -/usr/lib/python2.6/site-packages/swift/common/middleware. It contains -the following modifications, among others: +The script kerbauth.py began as a copy of the tempauth.py script from +from tempauth middleware. It contains the following modifications, among +others: In the __init__ method, we read the ext_authentication_url parameter from /etc/swift/proxy-server.conf. This is the URL that clients are |