Deutsche Bank Operations International (DBOI)
Last activity: 23 Nov 2020 8:26 EST
How to authenticate a user in custom authentication activityll,
In my application the user is authenticated by an external system. Once successfully authenticated, the request is routed to the Pega application (hosted on Tomcat). In pega application we need to capture the user-Id from the http request header and authenticate the user.
I used a PRCustom servlet and created an authentication service rule. I also created an authentication activity. I could capture the user-Id from the http header using a simple java code in Param.UserId
In the next step I did Obj-Open on the operator Id. The page name is 'OperatorPage'.
Next step is Java - "tools.getParameterPage().putObject("pyOperPage", myStepPage); " *Note Step Page is 'OperatorPage' in the Java step.
All these steps run fine. No errors observed during debug in logs.
At this point I expect the user should get authenticated and presented with their default portal. However, I get the Error screen saying "Operator is unauthenticated or unavailable".
Is there something that I should amend?