Question

5
Replies
294
Views
Andrew Webster (AndrewWebster)
HMRC
Lead System Architect
HMRC
GB
AndrewWebster Member since 2015 10 posts
HMRC
Posted: May 21, 2020
Last activity: July 13, 2020
Posted: 21 May 2020 5:27 EDT
Last activity: 13 Jul 2020 8:49 EDT
Solved

How to customize account disabled error message when logging in with SSO?

When using a SAML2 authentication service, if a user attempts to access the system but their operator id is marked as disabled, they get an error message "Your account has been disabled, contact your administrator"

I need to be able to customize this message.

I cannot find an appropriate rule in the system that contains this message for our scenario so am assuming it is set in the API engine itself. However, I'm assuming it can be intercepted and amended!

I've set additional logging on the following but nothing shows up, so I'm probably looking at the wrong activities etc

com.pega.pegarules.integration.engine.internal.util.PRSAMLv2Utils  com.pega.pegarules.integration.engine.internal.sso.saml.SAMLResponseHandler  com.pega.pegarules.integration.engine.internal.sso.saml.SAMLRequestHandler  com.pega.pegarules.integration.engine.internal.sso.AbstractSSOHandler  com.pega.pegarules.integration.engine.internal.sso.saml.SAMLv2ACSHandler

Can anyone please help?

***Edited by Moderator: Pallavi to change content type from Discussion to Question***  

Pega Platform 8.4.1 Security