Cookie support
The WSRP Consumer stores cookies received from a Producer or from resources served by the WSRP Consumer as a proxy, and forwards the cookies appropriately in subsequent requests to a Producer or other resources.The following list gives an overview of the supported use cases of the WSRP consumer cookie handling.
- Cookies that the Consumer receives from the Producer during session context initialization for a remote portlet:
- A cookie that the Consumer receives from the Producer during session context initialization for a remote portlet is forwarded to remote portlets of the same Producer or of the same group, depending on the Producer initialization cookie policy. Additionally, the cookie is forwarded to resources served by the WSRP Consumer as a proxy that are addressed from such a remote portlet.
- Cookies that the Consumer receives from a remote JSR 286 portlet:
- A cookie that the Consumer receives from a remote JSR 286 portlet is forwarded to remote portlets and resources served by the WSRP consumer as a proxy, if the cookie domain and path match.
- Cookies that the Consumer receives from resources served by the WSRP consumer as a proxy:
- A cookie that the Consumer receives from resources served by the WSRP consumer as a proxy is forwarded to remote portlets and resources served by the WSRP consumer as a proxy, if the cookie domain and path match
- Cookies sent from the client to the WSRP Consumer:
- A client can send cookies to the WSRP Consumer. We can customize the WSRP Consumer to forward these cookies to the WSRP Producer or to other resources that are served by the WSRP Consumer as a proxy. By default the WSRP Consumer does not forward any cookies that the client sends to the WSRP Consumer.
Parent: Plan for WSRP
Related:
Security considerations for WSRP services
Work with WSRP in the portal
Communication between Producer and Consumer portals
Related:
Customize Client Cookie Forwarding
Customize the WSRP resource proxy