Question

23
Replies
3271
Views
NaveenM4274 Member since 2014 17 posts
Tech Mahindra
Posted: 5 years ago
Last activity: 4 years 9 months ago
Closed
Solved

How can we read cookies in Container Managed Authentication

Hello there,

I am trying to read cookie information from a Container Managed Authentication. As the single sign on happens Application Server side and we don't have any authentication service for this, i am getting null pointer information when trying to read the below

((javax.servlet.http.HttpServletRequest)tools.getRequestor().getRequestorPage().getObject("pxHTTPServletRequest"))

Any ideas ? As per the PEGA documentation

Only authentication activities invoked through an authentication service have

access to the pxRequestor.pxHTTPServletRequest property. After a user is

allowed access to Process Commander, subsequent requests no longer have

access to this object.

Can i change the web.xml to have Auth Service for Container Managed Authentication and have the activity there to read the cookies ? is this even allowed ?

Thanks

Naveen

***Updated by moderator: Lochan to close post***
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Security
Moderation Team has archived post
Share this page LinkedIn