Question

3
Replies
428
Views
CaseyS95 Member since 2019 3 posts
RedAlpha
Posted: August 14, 2019
Last activity: September 13, 2019
Closed

What is the correct replacement for a @java expression (SSO Authentication)

Hello,

I'm trying to get SSO working in Pega following some instructions that were provided and are somewhat out of data as we are using version 8.2 and the instructions appear to be from version 7.x. Everything has been configured and implemented, however I can't log in and I believe the issue is with an @java expression that is set as part of an Authentication activity. The relevant part of the instructions are as follows (summarized):

  1. Create an authentication service.
  2. Click on the crosshair icon for the Authentication activity field.
  3. Fill out the form and click on Create and open.
  4. Create several steps

One of the steps that are created is a Property-Set step. The PropertiesName is set to param.pyOperPage and the PropertiesValue is set to @java("myStepPage"). Unfortunately, this is not allowed in the version of Pega we have as I've tried to use it. I found this post (https://community1.pega.com/community/pega-support/question/how-rewrite-java-step-authenticationldapverifycredentials-pega-81), but it didn't help me at all. Granted, this may be because I misunderstood what was being stated as I simply built an expression that was simply "return ClipboardPage;", which is mentioned in the Correct Answer.

So, my question is: what should I use to get the same behavior as the @java expression?

***Edited by Moderator Marissa to update platform capability tags****

Pega Platform Data Integration Java and Activities
Moderation Team has archived post
Share this page LinkedIn