CookiePolicy适配器参数在Worklight 6.1+中的作用是什么? [英] What does the cookiePolicy adapter parameter do in Worklight 6.1+?

查看:82
本文介绍了CookiePolicy适配器参数在Worklight 6.1+中的作用是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Worklight 6.1信息中心是指 cookiePolicy参数可以在HTTP适配器上设置。它提到了四个可能的值,但没有详细说明它们的作用。是否可以安全地假设它们都保留了从后端HTTP服务返回的cookie?这与可能在Worklight服务器和任何后端服务器之间共享的JSESSIONID cookie有何关系(如果有的话)?来自该适配器的所有调用是否共享相同的cookie状态,还是取决于所使用的安全领域?

The Worklight 6.1 InfoCenter refers to a cookiePolicy parameter which can be set on an HTTP adapter. It mentions four possible values, but doesn't go into details about what they do. Is it safe to assume they all preserve cookies they are returned from the back-end HTTP service? How does that relate (if at all) to the JSESSIONID cookie that may be shared between the Worklight server and any back-end server? Do all calls from that adapter share the same cookie state, or does it depend on the security realm being used?

推荐答案

< HTTP适配器中的code> cookiePolicy 参数定义了适配器的HTTP客户端处理后端返回的cookie的方式。

The cookiePolicy parameter in a HTTP adapter defines the way the adapter's HTTP client handles the cookies returned by the backend.

这些cookie不影响应用程序服务器返回给客户端(移动应用程序)的JSESSIONID cookie。

该策略与后端服务器返回Worklight的所有cookie有关,包括JSESSIONID。

These cookies don't affect the JSESSIONID cookie returned by the application server to the client (mobile app).
The policy relates to all the cookies returned by the backend server to Worklight, including JSESSIONID.

要阅读有关每个选项的更多信息,请参阅相关IETF文档了解具体标准。

To read more about each option, refer to the relevant IETF documentation for the specific standard.

这篇关于CookiePolicy适配器参数在Worklight 6.1+中的作用是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆