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.
Cookie getSecurityCookie(
java.lang.String
)
|
Parameters
- userName
- the user name to get cookie for
Return Value
A cookie that contains the LWSSO token