首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >关闭直接更新MobileFirst平台基础7.1

关闭直接更新MobileFirst平台基础7.1
EN

Stack Overflow用户
提问于 2015-12-18 13:55:33
回答 1查看 108关注 0票数 1

我需要关闭android应用程序的直接更新。

我不评论这句话:

代码语言:javascript
复制
<mobileSecurityTest name="mobileTests">
    <testAppAuthenticity/> 
    <testDeviceId provisioningType="none" />
    <testUser realm="myMobileLoginForm" />
    <testDirectUpdate mode="perSession" />
</mobileSecurityTest>

并在<testDirectUpdate mode="perSession" />中用<testDirectUpdate mode="disabled" />更改authenticationConfig.xml

然后将securityTest="mobileTests"添加到application-descriptor.xml上。看起来是这样的:

代码语言:javascript
复制
<android version="1.2" securityTest="mobileTests">
    ...
</android>

直接更新停止了,但随后弹出一条警报,说:

处理来自应用程序的请求时遇到错误。

每当应用程序试图访问适配器中的后端服务器时,都会发生此错误。

有人知道如何解决这个错误吗?

EN

回答 1

Stack Overflow用户

发布于 2015-12-23 05:47:58

错误是由于包含了<appAuthenticity>测试。不能首先添加此测试w/out,以正确配置应用程序以使用“应用程序真实性保护”。

您可以在这里了解更多有关此问题的信息:https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/foundation/authentication-security/application-authenticity-protection/

如果不需要真实性,只需将该行从authenticationConfig.xml中的安全测试中删除即可。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/34357290

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档