Include mapped in the default auth methods

Change-Id: Ib74ec1efc0a8ce10744f112a3870c7ce8dcf9154
Closes-Bug: 1645391
This commit is contained in:
Rodrigo Duarte Sousa 2016-11-28 15:14:41 -02:00
parent 60ac827332
commit 74942e448a
2 changed files with 10 additions and 1 deletions

View File

@ -64,6 +64,14 @@ namespace. You do not need to set this unless you are overriding keystone's own
`oauth1` authentication plugin.
"""))
mapped = cfg.StrOpt(
'mapped',
help=utils.fmt("""
Entry point for the mapped auth plugin module in the `keystone.auth.mapped`
namespace. You do not need to set this unless you are overriding keystone's own
`mapped` authentication plugin.
"""))
GROUP_NAME = __name__.split('.')[-1]
ALL_OPTS = [
methods,
@ -71,6 +79,7 @@ ALL_OPTS = [
token,
external,
oauth1,
mapped,
]

View File

@ -17,7 +17,7 @@ package.
"""
_DEFAULT_AUTH_METHODS = ['external', 'password', 'token', 'oauth1']
_DEFAULT_AUTH_METHODS = ['external', 'password', 'token', 'oauth1', 'mapped']
_CERTFILE = '/etc/keystone/ssl/certs/signing_cert.pem'
_KEYFILE = '/etc/keystone/ssl/private/signing_key.pem'