HP Anywhere API Reference
getSecurityCookie Method
the user name to get cookie for
Returns the user cookie by user name.
The security cookie contains the tenant and user details to support single sign-on, across the installed solution. The cookie may contain additional security properties if they exist.
This method may be used, for example, when the App calls its backend using REST. For authentication, you must add the current user cookie to the request.
Syntax
Cookie getSecurityCookie( 
   java.lang.String userName
)

Parameters

userName
the user name to get cookie for

Return Value

A cookie that contains the LWSSO token
Since
HP Anywhere 10.00 and later
See Also

Reference

LWSSOService Interface
LWSSOService Members