Question

23
Replies
3428
Views
Naveen Mandapati (NaveenM4274)
Tech Mahindra
Lead System Architect
Tech Mahindra
CA
NaveenM4274 Member since 2014 17 posts
Tech Mahindra
Posted: July 16, 2015
Last activity: July 21, 2017
Posted: 16 Jul 2015 14:08 EDT
Last activity: 21 Jul 2017 10:52 EDT
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, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.