IBM Support

Setting the HTTPOnly and Secure Flags on WebSphere Liberty Profile Server Cookies

How To


Summary

In many deployment environments, security protocol may dictate that the Secure and HttpOnly attributes be set on certain cookies. Liberty creates and manages three cookies by default: JSESSIONID, LtpaToken2, and WASReqUrl. This document will provide instructions on how to set the Secure and HttpOnly flags for those cookies.

Note that some features such as samlWebSso-2.0 and openIdConnectClient-1.0 include additional cookies for which the Secure and HttpOnly flags are set by default.

The values and flags of cookies set by applications running on Liberty are outside the scope of the Liberty product and should be addressed by the application which sets them.

Document Location

Worldwide

[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSD28V","label":"WebSphere Application Server Liberty Core"},"ARM Category":[{"code":"a8m50000000CdOjAAK","label":"Security-\u003EApplication Security"}],"ARM Case Number":"TS004591018","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
08 December 2020

UID

ibm16379246