Commit fe006950 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

rename ERP5ExternalAuthPlugin -> ERP5ExternalAuthenticationPlugin.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40378 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2bdda796
......@@ -72,7 +72,7 @@ class ERP5ExternalAuthicationPlugin(ERP5UserManager, CookieAuthHelper):
request header, like REMOTE_USER, openAMid, etc.
"""
meta_type = "ERP5 External Auth Plugin"
meta_type = "ERP5 External Authentication Plugin"
security = ClassSecurityInfo()
user_id_key = ''
......
......@@ -725,19 +725,19 @@ class TestLocalRoleManagement(ERP5TypeTestCase):
def testERP5ExternalAuthicationPlugin(self):
"""
Make sure that we can grant security using a ERP5 External Auth Plugin.
Make sure that we can grant security using a ERP5 External Authentication Plugin.
"""
user_id_key = 'openAMid'
# add key authentication PAS plugin
portal = self.portal
uf = portal.acl_users
uf.manage_addProduct['ERP5Security'].addERP5ExternalAuthicationPlugin(
id='erp5_external_auth_plugin', \
title='ERP5 External Auth Plugin',\
id='erp5_external_authentication_plugin', \
title='ERP5 External Authentication Plugin',\
user_id_key=user_id_key,)
erp5_external_auth_plugin = getattr(uf, 'erp5_external_auth_plugin')
erp5_external_auth_plugin.manage_activateInterfaces(
erp5_external_authentication_plugin = getattr(uf, 'erp5_external_authentication_plugin')
erp5_external_authentication_plugin.manage_activateInterfaces(
interfaces=['IExtractionPlugin',
'IAuthenticationPlugin'])
self.stepTic()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment