【发布时间】:2016-06-02 20:41:19
【问题描述】:
我的公司正在开发使用 MobileFirst v6.3 开发的应用程序。我正在考虑创建一个允许服务器绕过我们的标准安全测试的服务器配置。
这是我希望在我的 worklight.properties 文件中创建的条目类型:
#############
# Worklight Security Test
#############
mt.adapter.security=custom-security-test
这就是我试图在适配器的过程中放置值的方式:
<procedure name="getTechUserAdapter" securityTest="${mt.adapter.security}"/>
当我构建和部署它时,我得到了这个错误:
<error mbeanName="com.worklight.common.server.jmx.api:qualifier=worklight,type=ProjectManagement" node="worklight///10.16.109.75" date="2016-06-02T19:58:02.889Z" phase="PREPARE" code="FAILURE" details="Procedure 'getTechUserAdapter' in adapter 'TechUserServiceAdapter' requires security test '${mt.adapter.security}' which is not defined in authenticationConfig.xml.">
Worklight 正在尝试将安全测试转换为字符串,而不是放置在 worklight.properties 文件中的值。有谁知道如何让它使用变量值?
【问题讨论】:
标签: ibm-mobilefirst worklight-adapters worklight-server worklight-security