Configure PeopleCode using the PeopleTools desktop client
Peoplesoft deployments typically support a pre-provided PeopleCode sign-on.
In this task , we update the code to accept header-based authentication from the PS_USER header.
These steps are typically performed by the PeopleSoft admin.
- Open the PeopleTools application Designer.
-
Click File > Open > Definition: Record > Name: FUNCLIB_LDAP.
-
Open FUNCLIB_LDAP
-
Right-click Open > Cancel
-
Right-click LDAPAUTH > View PeopleCode
-
Search for the getWWWAuthConfig() function.
Change &defaultUserId = ""; to &defaultUserId = "PUBUSER";. -
Search for the OAMSSO_AUTHENTICATION() function.
- Change the header value from OAM_REMOTE_USER to PS_USER.
-
Click File > Save.