Utilize the RSACookieAPI function RSAGetUserName on a different host than the (Web Agent-protected) Web Server
Originally Published: 2008-04-24
Last Modified: 2023-09-24
Article Number
000062503
Applies To
UNIX
Agent for Web installed on web server "Host1".
RSACookieAPI being utilized by application on "Host2".
Issue
Utilize the RSACookieAPI function RSAGetUserName on a different host than the (Web Agent-protected) Web Server
RSACookieAPI function RSAGetUserName returns error 100 RSACOOKIE_ERROR_CANNOT_ACCESS_SETTINGS.
Cause
The RSACookieAPI reads the cookie data from a memory-mapped file created by the web agent.  This file is only accessible by processes on the same machine.
Resolution
An alternative technique for determining the authenticated use name is described in option 2 of the solution How to retrieve the authenticated username in a SecurID Agent for Web environment.