Support Article
SSO Login : Runtime exception, when custom authentication called
SA-13294
Summary
PR Runtime exception is exhibited in the logs whenever custom authentication is called.
Error Messages
ERROR - Only authenticated client may start this activity: RULE-OBJ-ACTIVITY CODE-PEGA-REQUESTOR PZSETQUERYDEFAULTS #20120713T020152.516 GMT
com.pega.pegarules.pub.PRRuntimeException: Error: You lack access required to execute RULE-OBJ-ACTIVITY CODE-PEGA-REQUESTOR PZSETQUERYDEFAULTS #20120713T020152.516 GMT.
at com.pega.pegarules.session.internal.mgmt.Executable.activityProlog(Executable.java:655)
at com.pegarules.generated.activity.ra_action_pzsetquerydefaults_6751b2b050c1be60c2f7f7d550a42ae0.perform(ra_action_pzsetquerydefaults_6751b2b050c1be60c2f7f7d550a42ae0.java:55)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3099)
at com.pegarules.generated.activity.ra_action_initialprofilesetup_340bf539ce373ad908904c68d7a740e1.step6_circum0(ra_action_initialprofilesetup_340bf539ce373ad908904c68d7a740e1.java:661)
at com.pegarules.generated.activity.ra_action_initialprofilesetup_340bf539ce373ad908904c68d7a740e1.perform(ra_action_initialprofilesetup_340bf539ce373ad908904c68d7a740e1.java:175)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3099)
at com.pegarules.generated.activity.ra_action_authenticationcaslverifycredentials_8d0dea132a668e626b5553084aa48a6e.step12_circum0(ra_action_authenticationcaslverifycredentials_8d0dea132a668e626b5553084aa48a6e.java:996)
at com.pegarules.generated.activity.ra_action_authenticationcaslverifycredentials_8d0dea132a668e626b5553084aa48a6e.perform(ra_action_authenticationcaslverifycredentials_8d0dea132a668e626b5553084aa48a6e.java:295)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3099)
at com.pegarules.generated.activity.ra_action_authenticationcasl_254452fe14a9c9f4fe9fbf675ef262fa.step5_circum0(ra_action_authenticationcasl_254452fe14a9c9f4fe9fbf675ef262fa.java:576)
at com.pegarules.generated.activity.ra_action_authenticationcasl_254452fe14a9c9f4fe9fbf675ef262fa.perform(ra_action_authenticationcasl_254452fe14a9c9f4fe9fbf675ef262fa.java:140)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3099)
.
.
.
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1783)
Steps to Reproduce
Log in to the application.
Root Cause
The activity used to log the users in was directly calling the InitialProfileSetup activity. This is not needed when using the PRCustom SSO implementation type.
Resolution
Remove call to InitialProfileSetup in login activity, to resolve the issue.
Published August 27, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.