IBM Worklight - 在部署期间验证项目时出错

时间:2013-12-20 13:35:53

标签: ibm-mobilefirst worklight-security

我使用IBM worklight创建了一个应用程序,我使用customAuthenticator进行登录过程

我在部署应用程序时遇到了以下验证错误

  

安全测试DummyAdapter-securityTest必须包含用户和设备   AuthDemo的领域:iphone:1.0:api。 [项目   module_23_1_CustomLoginModule]

1 个答案:

答案 0 :(得分:0)

您需要重新阅读整个“入门指南”section about Authentication and Security。有更多阅读材料herehere

我错误地认为您已在securityTest="DummyAdapter-securityTest"的{​​{1}}元素中添加了iphone属性。

application-descriptor.xml的名称所示,它不适用于应用程序,而是适用于适配器。已为适配器XML文件中的适配器过程定义此securityTest。删除您添加的securityTest,它将起作用。


您尝试运行的示例(module_23_1_CustomLoginModule)是现成的;无需编辑。你只需要建立&部署并运行它。

相关问题