[progress Communities] [progress Openedge Abl] Forum Post: Replace Current Request Context...

  • Thread starter Thread starter Mike Fechner
  • Start date Start date
Status
Not open for further replies.
M

Mike Fechner

Guest
Hi, I am using PASOE 11.6 to handle REST calls with Form based authentication. So the REST manager provides me with a sealed client-principal instance that I can query with ASSIGN hPrincipal = SESSION:CURRENT-REQUEST-INFO:GetClientPrincipal(). All working fine. I have a use case, where the user is able to change the login company through an application function. I tried to create a new CP with different user/domain name values and assign that using: SESSION:CURRENT-REQUEST-INFO:SETCLIENTPRINCIPAL (hNewCP) . But with the next request, I am still getting the original CP returned. Is there any way to replace the Tomcat generated CP from ABL code to update it's attributes? Regards, Mike

Continue reading...
 
Status
Not open for further replies.
Back
Top