Question

14
Replies
159
Views
SusheelB0531 Member since 2018 7 posts
JP Morgan Chase & Company
Posted: April 8, 2020
Last activity: April 10, 2020
Solved

Fail the Requestor during SAML Authentication

Hi,

My requirement is to fail the authentication for the user who doesnt qualify few requirements. I am handling this in OOTB SAML Post Authentication activity. I used below code to stop the authentication but looks like its not working.

Any idea on how to fix it?

Code: tools.getRequestor().getRequestorPage().putString("pyAuthenticationPolicyResult", "false");

Pega Platform 7.1.9 Security
Share this page LinkedIn