我正在開發使用WorkLight 5.0.6的移動應用程序,並且我想將安全Cookie附加到由適配器返回的響應。將Cookie附加到WorkLight適配器響應標頭
我們不使用WorkLight身份驗證域,因爲我們不希望將會話「綁定」到羣集生產環境中的特定WL服務器。我們通過調用登錄適配器對會話進行身份驗證,該適配器通過後端系統驗證用戶詳細信息。作爲登錄適配器調用響應的一部分,我希望創建一個包含經過身份驗證的信息的安全cookie(僅限http),並將其附加到從登錄適配器返回的響應中。該cookie還應包含在從應用程序調用到服務器的後續適配器的標頭中。
問候,
Tom.
很好的回答! – Jxadro
非常有用的答案....謝謝 – rags