Merge "Add entrypoint for mapped auth method"

This commit is contained in:
Jenkins 2016-08-22 23:19:41 +00:00 committed by Gerrit Code Review
commit 68e94ff979
3 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
[auth]
methods = external,password,token,simple_challenge_response,saml2,openid,x509
methods = external,password,token,simple_challenge_response,saml2,openid,x509,mapped
simple_challenge_response = keystone.tests.unit.test_auth_plugin.SimpleChallengeResponse

View File

@ -180,7 +180,7 @@ class TestMapped(unit.TestCase):
self.assertEqual(method_name, auth_payload['protocol'])
def test_supporting_multiple_methods(self):
method_names = ('saml2', 'openid', 'x509')
method_names = ('saml2', 'openid', 'x509', 'mapped')
self.useFixture(auth_plugins.LoadAuthPlugins(*method_names))
for method_name in method_names:
self._test_mapped_invocation_with_method_name(method_name)

View File

@ -114,6 +114,9 @@ keystone.auth.totp =
keystone.auth.x509 =
default = keystone.auth.plugins.mapped:Mapped
keystone.auth.mapped =
default = keystone.auth.plugins.mapped:Mapped
keystone.catalog =
sql = keystone.catalog.backends.sql:Catalog
templated = keystone.catalog.backends.templated:Catalog