Question


Morgan Stanley
IN
Last activity: 30 Sep 2016 2:26 EDT
Where the web-login login html page is configured
The Web-Login html fragment is being displayed as soon as we hit the prpc url. How does PRPC know to load web-login page.. Where is this configured?
How does the authentication happens?
Appreciate if anyone could shed some light on the authentication process and the loading of web-login
Regards
Avinash
-
Like (0)
Subhankar Dey Rayabarapu Kumar -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!


Pegasystems Inc.
AU
Hi Avinash,
Have enclosed the doc for customizing login screen, let me know if this is helpful
-
Bharathan T HEENA KHATUN


Morgan Stanley
IN
Thanks Basavaraj.
How does pega pick web-login.. Where is it configured?
If i were to change web-login with a new harness altogether how do i do that?


Pegasystems Inc.
AU
Web-Login is more likely to be ran by Code-Pega-Requestor. PublicHomePage which calls Code- • Web-Start. the activity Code- • Web-Start contains a Java step with this single line: "pega.getAuthenticationHandle().presentAuthentication();"
I believe the stream names are hardocoded in the PRPC engine code.
Can you try referencing your harness from web-html: pega:include name="HARNESS_NAME” type=”Rule-HTML-Harness”/>, try the enclosed steps;
1.Create Rules set = Test_Unauthenticated
2.Create Access Group “Test:Unauthenticated”
3.Add rule set to current application for [email protected]
4.Add rule set “Test_Unauthenticated:01-01” as production ruleset to Access Group “Test:Unauthenticated”
5.Created Harness: “HomePageHarness” in @baseclass
6.Set Harness: “HomePageHarness” to Portal “HomePagePortal”
7.Save Web-Login to rule set “Test_Unauthenticated”
8.Replace content of Web-Login with <pega:include name='HomePageHarness' type='Rule-HTML- Harness />
9.Change the BROWSER to the access group Test:Unauthenticated
Web-Login is more likely to be ran by Code-Pega-Requestor. PublicHomePage which calls Code- • Web-Start. the activity Code- • Web-Start contains a Java step with this single line: "pega.getAuthenticationHandle().presentAuthentication();"
I believe the stream names are hardocoded in the PRPC engine code.
Can you try referencing your harness from web-html: pega:include name="HARNESS_NAME” type=”Rule-HTML-Harness”/>, try the enclosed steps;
1.Create Rules set = Test_Unauthenticated
2.Create Access Group “Test:Unauthenticated”
3.Add rule set to current application for [email protected]
4.Add rule set “Test_Unauthenticated:01-01” as production ruleset to Access Group “Test:Unauthenticated”
5.Created Harness: “HomePageHarness” in @baseclass
6.Set Harness: “HomePageHarness” to Portal “HomePagePortal”
7.Save Web-Login to rule set “Test_Unauthenticated”
8.Replace content of Web-Login with <pega:include name='HomePageHarness' type='Rule-HTML- Harness />
9.Change the BROWSER to the access group Test:Unauthenticated
I am not sure whether the above will work but you can give a try


Morgan Stanley
IN
Thanks Basavaraj.
If we have to ever look at the code present in the method pega.getAuthenticationHandle().presentAuthentication(); where can we check.. Will this method code be part of the PRGenJava folder java classes


Morgan Stanley
IN
Not just presentAuthentication() but any other method from the platform...


Pegasystems Inc.
AU
Hi Avinash,
As the code is part of the PRPC engine code, I am afraid to mention we can't provide information on the same


Morgan Stanley
IN
Thanks Basavaraj.
We have an access group and the starting activity defined in the requester type. What significance does an access group have in the requester type?


Morgan Stanley
IN
Also my understanding of the login process is as below:
WebStandard Servlet -> PublicHomePage Activity -> Code-.Web-Start Activity -> Web-Login HTML -> Enter Creds -> Code-Security-.BeginSession -> Call Operator starting activity
Please validate the same and let me know if this is the same authentication process which is being followed as of now.


Morgan Stanley
IN
I'm just trying to understand the connection between our login and the web-login html.
The BROWSER requester type has the access group defined along with the starting activity. The PRPC:Unauthenticated access group has default portal as WorkUser... Where do we refer web-login.


Virtusa IT Consulting
AE
If you have custom authentication you can put web-login stream or any custom login html stream rule in your authentication service and configure 'pyChallengeStream' parameter in your authentication activity. However I am not able to understand your exact requirement. There are many ways to show 'Web-login' stream you can use 'Show-HTML' method also in your authentication activity.


Morgan Stanley
IN
Not any specific requirement habeeb.
I'm just trying to understand the rule in which web-login html stream has been configured.. Understand from Basavaraj that the web-login is hardcoded in the java code of an activity Web-Start (java code pega.getAuthenticationHandle().presentAuthentication()).
Do you have any idea on how the user authentication happen with standard prpc servlet? Is it same as below or different
Also my understanding of the login process is as below:
WebStandard Servlet -> PublicHomePage Activity -> Code-.Web-Start Activity -> Web-Login HTML -> Enter Creds -> Code-Security-.BeginSession -> Call Operator starting activity


Unisys
NZ
Hi,
Can we pass the user ID and password to Pega without having to display the login screen?
Thanks,
Shantanu


None
RU
Shantanu, hello!
See the next topic:
https://community.pega.com/how-create-snapstart-urls-desktop-integration
Example how created url for open portal without login page
http://server:port/prweb/[email protected]&Password=aW5zdGFsbAo= , where password = Base64 coded password "install"


Virtusa LTD
IN
Hi friends,
I need to add the header and footer to sign in screen.
Please provide your inputs.