summaryrefslogtreecommitdiffstats
path: root/keystone/common/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'keystone/common/config.py')
-rw-r--r--keystone/common/config.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/keystone/common/config.py b/keystone/common/config.py
index 8c181596..030ead69 100644
--- a/keystone/common/config.py
+++ b/keystone/common/config.py
@@ -24,7 +24,7 @@ from keystone.common import logging
_DEFAULT_LOG_FORMAT = "%(asctime)s %(levelname)8s [%(name)s] %(message)s"
_DEFAULT_LOG_DATE_FORMAT = "%Y-%m-%d %H:%M:%S"
-_DEFAULT_AUTH_METHODS = ['password', 'token']
+_DEFAULT_AUTH_METHODS = ['external', 'password', 'token']
COMMON_CLI_OPTS = [
cfg.BoolOpt('debug',
@@ -394,7 +394,11 @@ def configure():
register_str(
'token', group='auth',
default='keystone.auth.plugins.password.Password')
-
+ #deals with REMOTE_USER authentication
+ register_str(
+ 'external',
+ group='auth',
+ default='keystone.auth.plugins.external.ExternalDefault')
# register any non-default auth methods here (used by extensions, etc)
for method_name in CONF.auth.methods:
if method_name not in _DEFAULT_AUTH_METHODS: