Merge "Add entrypoint for mapped auth method"
This commit is contained in:
commit
68e94ff979
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user