Question

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

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

Pega
May 16, 2016 - 3:47am

Hi Avinash,

Have enclosed the doc for customizing login screen, let me know if this is helpful

Pega
May 16, 2016 - 5:07am
Response to BASAVARAJ

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?

Pega
May 16, 2016 - 6:19am
Response to haria

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 admin@kadab.com

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

Pega
May 16, 2016 - 7:13am
Response to BASAVARAJ

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

Pega
May 16, 2016 - 7:14am
Response to haria

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

Pega
May 16, 2016 - 7:20am
Response to haria

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

Pega
May 17, 2016 - 7:29am
Response to BASAVARAJ

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?

Pega
May 17, 2016 - 7:45am
Response to haria

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.

Pega
May 16, 2016 - 6:12am
Response to BASAVARAJ

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.

Pega
May 17, 2016 - 7:52am
Response to haria

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.

Pega
May 17, 2016 - 8:46am
Response to HabeebBaig

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

August 24, 2016 - 8:16am

Hi,

 

Can we pass the user ID and password to Pega without having to display the login screen? 

Thanks,

Shantanu 

September 26, 2016 - 9:30am
Response to ShantanuN0145

Shantanu, hello!

See the next topic:

https://pdn.pega.com/how-create-snapstart-urls-desktop-integration

Example how created url for open portal without login page

http://server:port/prweb/PRServlet?UserIdentifier=Administrator@pega.com&Password=aW5zdGFsbAo=  , where password = Base64 coded password "install"

September 30, 2016 - 2:26am

Hi friends,

I need to add the header and footer to sign in screen.

Please provide your inputs.