Posted: 7 Jun 2017 13:01 EDT Last activity: 14 Aug 2017 9:47 EDT
How to retrieve cookie information outside of authentication activity?
We are facing a problem in the project and would like to get some kind of solution with you. We have an authentication activity, where we create a step where it retrieves the token, through the verification of the cookie, as below:
This works perfectly when we call directly from our host in the PEGA domain.
However the client decided to use SPNEGO and when the call is made by him, this java routine of the authentication activity can not get the Token.
We decided to choose to create a new activity after the authentication activity that will be from time to time, trying to get the cookie information. Unfortunately, however, PEGA has a limitation, where the pxHTTPServletRequest property is only started at the time of authentication and we are unable to retrieve the information at a later time.
Is there any way in PEGA, after authenticating that through a JAVA code or another routine, is it possible to pick up the request information again and get the necessary cookies?
Is there another way to use javax.servlet.http.HttpServletRequest without being encoded below:
Hello, If the token is not available for the authentication activity, then its not going to be available at all. you may want to make sure that authentication activity gets the token. How SPNEGO token is passed to Pega?