Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

How to configure PRWebLDAP1 servlet redirect?

SA-3118

Summary



When configuring the PRPC system for IAC/PRGateway usage you need to set the configuration setting "Authentication/RedirectGuests" to false.  This is required for proper PRGateway usage but you may also have other users groups accessing the system through a PRPC SSO Servlet. When this is set to false and displaying a login screen for a Data-Admin-AuthService, SSO authentication, there will not be a redirect to the URL containing the accessgroup hash.

Example:


http://abc.com/prweb/PRWebLDAP1 

Will not redirect to:

http://abc.com/prweb/PRWebLDAP1/jRaiVJ0d9VtjKmKhrIm3rVrJSylGlV4CewQY5FZlTYg%5B*/!STANDARD?

Where "jRaiVJ0d9VtjKmKhrIm3rVrJSylGlV4CewQY5FZlTYg%5B* is the accessgroup that is defined in the Data-Admin-Requestor.Browser instance for the system name. 


If you have customized the login screen to contain custom images these will not display on the login page. 


Resolution



To resolve this issue you can add  Javascript redirect to a URL that contains the accessgroup hash. This gets added into the login screen content, web-login for example:



var redirectLoc ="<pega:reference name="pxThread.pxReqURI" mode="normal" />";
if (location.href.indexOf(redirectLoc) == -1) {
    document.location.href(redirectLoc);
}

The value of pxThread.pxReqUI will contain the proper accessgroup hash.  If not part of the current URL then it will redirect and then custom images will display.
 

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice