![](/img/trans.png)
[英]How to query or access JSONStore data from native code in IBM Worklight?
[英]IBM Worklight 5.0.6.1 - How to secure JSONStore data
我想在我的JSONStore中設置密碼。
在此IBM Worklight Information Center 5.0.6文章中 ,提到不推薦使用usePassword(pwd)
。 是否有其他替代方法可以為我的JSONStore提供密碼?
同一頁面還聲明您可以使用WL.JSONStore.init並在那里聲明密碼。 如果您不聲明它,它將不使用密碼。
該示例顯示:
var collections = {
...
}
var options = {
username: 'carlos', //default: 'jsonstore'
password: '123' //default: no encryption
}
WL.JSONStore.init(collections, options) {
...
}
要了解如何在Worklight中使用JSONStore功能, 請瀏覽JSONStore培訓模塊和示例應用程序 。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.