Tag: worklight security

IBM Worklight – 如何在本机iOS应用程序中启用应用程序真实性?

我们有一个iOS和Android混合应用程序环境,我们已经成功运行了应用程序真实性(使用下拉菜单控制function): <mobileSecurityTest name="app"> <testAppAuthenticity/> <testUser realm="wl_anonymousUserRealm"/> <testDeviceId provisioningType="none" /> </mobileSecurityTest> 我们在我们的Worklight项目中添加了一个“iOS Native API”项目,该项目用于我们在XCode 5中的本机iOS客户端开发。我们成功地能够连接到WL服务器,并调用我们不同适配器中的所有现有适配器过程。 对于这个本地API项目,我们现在也想启用App Authenticity。 当我们使用与本地API项目的应用程序描述符中的混合应用程序相同的MobileSecurityTest时 ,我们可以将其部署到我们的WL服务器,并且在iOS Native API条目处启用App Authenticityfunction(可以下拉以控制function)在控制台。 在我们设置的本机iOS应用/项目上: bundle ID与混合项目中的完全相同,与Apple Developer门户中的一样 Key Chain在项目中启用,也设置为worklight.group (如混合XCode项目中) 当我们想要连接到WL服务器时,我们无法获得成功的身份validation。 我们看到DeviceAuthManager尝试从设备获取UUID,但是服务器返回错误响应: 2013-09-24 08:58:35.530 App[32535:c07] DeviceAuthManager:getWorklightUniqueDeviceId –> returning UUID from the keychain 2013-09-24 08:58:35.564 App[32535:c07] isCustomResponse 2013-09-24 08:58:35.564 App[32535:c07] this is it: Status: 403 InvocationResult: (null) InvocationContext: […]