0
我想在我的JSONStore中设置密码。IBM Worklight 5.0.6.1 - 如何保护JSONStore数据
在this IBM Worklight Information Center 5.0.6 article中提到,usePassword(pwd)
已被弃用。有没有其他的替代方式来为我的JSONStore提供密码?
我想在我的JSONStore中设置密码。IBM Worklight 5.0.6.1 - 如何保护JSONStore数据
在this IBM Worklight Information Center 5.0.6 article中提到,usePassword(pwd)
已被弃用。有没有其他的替代方式来为我的JSONStore提供密码?
同一页面还声明您可以使用WL.JSONStore.init并在那里声明密码。如果您不声明它,它将不会使用密码。
的例子显示:
var collections = {
...
}
var options = {
username: 'carlos', //default: 'jsonstore'
password: '123' //default: no encryption
}
WL.JSONStore.init(collections, options) {
...
}
要了解如何使用JSONStore功能的工作灯,go through the JSONStore training module and sample apps。
我在哪里需要添加this..i意味着collectionname.js(自动生成)或appname.js文件。 u能PLZ详细解释通过JSONStore培训模块和示例应用程序 – Avinash
转到:http://www.ibm.com/developerworks/mobile/worklight/getting-started.html#advanced-client-side-development –
雅我它并完成 – Avinash