SlideShare a Scribd company logo
PeopleSoft 8 Security External Authentication Through CGI Shankar Mattay - smattay@uwaterloo.ca Steve Sangster - smsangst@uwaterloo.ca
Agenda University of Waterloo Environment Security Strategy Understanding the Signon Process Implementation Steps The Result Questions & Answers
University of Waterloo Founded July 1957 25000 Students 20000 undergraduate students 2000 graduate students 3000 distance education students 3500 Ongoing Employees Best known for the largest co-op program in the world (approximately 10000 students)
UW PeopleSoft Environment HRMS and Payroll version 7.5 Currently upgrading to version 8.00 Student Administration version 7.6 Custom Application (ACCESS) developed using PeopleTools 8.15.01
ACCESS Co-operative Education & Career Services 5000+ students per term use ACCESS on a rotating basis Students use ACCESS to search for jobs and view application and interview information Most UW applications use a centralized authentication system
UWDIR Centralized authentication system is called UWDIR Contains: Basic information for 50000+ users Windows NT Domain (uwaterloo.ca) for central password storage and authentication Challenge was to integrate ACCESS with UWDIR
PeopleSoft Security Strategies Internal Authentication Users and Passwords are maintained within PeopleSoft We cannot export passwords from UWDIR Lightweight Directory Access Protocol PeopleSoft supports out of the box UW Active Directory is planned for future Web Server Exit Web Server performs authentication and passes user information to PeopleSoft, bypassing the PeopleSoft Signon screen Requires maintaining multiple lists of users
UW Security Strategy External Authentication through CGI Uses PeopleSoft Signon screen Authenticate with UWDIR Enables us to integrate authentication with one password system
Loading User Information Nightly process adds and removes users Internal passwords are irrelevant for external authentication strategies PSOPRDEFN PSOPRALIAS PSOPRCLS PSROLEUSER PS_ROLEXLATOPR PS_PERSONAL_DATA Load PeopleSoft security tables UWDIR Application Engine
Implementation Technical Walkthrough of the Implementation Steps
Understanding the Signon Process Signon Page Perl Script Main Menu UWDIR Internal Authentication Signon PeopleCode
Implementation Steps Modify the PeopleSoft Signon page Write a Perl script to perform authentication with UWDIR and securely communicate result to PeopleSoft Write a Signon PeopleCode function to enforce the result of the authentication
Signon Page PeopleSoft web servlet retrieves  signin.html  from the Web Server and delivers it to the client
Signon Page Servlet replaces embedded variables with PeopleSoft parameters before delivery Dynamic paths, error messages, etc.
Signon Page Modify form to post data to our own Perl script instead of to PeopleSoft servlet Pass the location of the PeopleSoft servlet to the script as part of the path
Signon Page Results of our HTML modifications Make use of PeopleSoft Style Sheets and error messages
Perl Script Accepts data entered in Signon page Performs authentication with the NT Domain using SMB library If authentication is successful Generates random cookie file name Writes a cookie file on the Web Server with the generated file name File contains UserId, IP address, and time stamp If authentication fails Cookie name is blank and file is not written
Perl Script Reads  PATH_INFO  to determine the URL of the PeopleSoft servlet Appends additional parameters on PeopleSoft servlet URL AUTH  contains the cookie name userid  provides a fake user name to PeopleSoft pwd  provides a fake password to PeopleSoft Redirects the user to this new URL avoiding PeopleSoft Signon
Avoiding PeopleSoft Signon PeopleSoft servlet sees the  userid  and  pwd  parameters and thinks the user filled in the Signon page When the user is redirected to: Internal Authentication is performed Signon PeopleCode is executed to enforce the result of External Authentication
Signon PeopleCode Signon PeopleCode is a function created in Record Field PeopleCode
Signon PeopleCode Function Reads the  AUTH  parameter in the URL using the  %Request  object to determine the cookie file name Ignores the  userid  parameter in the URL Opens the cookie file and reads the UserId Calls  SetAuthenticationResult()  and sets  AuthResult  to: True to allow the user access with the specified UserId, trusting the Perl Script False to deny access if  AUTH  parameter not present, file not found, or other problem occurs
Enabling Signon PeopleCode Add and Enable PeopleCode Function Check  ExecAuthFail  because Internal Authentication will fail Restart Application Server
The Result Brief Demonstration of Various Signon Scenarios
The Result User enters Signon information
The Result External Authentication fails Signon PeopleCode rejects the Signon attempt
The Result External Authentication successful but user does not exist in  PSOPRDEFN Signon PeopleCode accepts login attempt but PeopleSoft rejects it because UserId is not found
The Result User attempts to access the URL to avoid Signon using a forged cookie Signon PeopleCode rejects the Signon attempt because cookie file does not exist
The Result External Authentication successful and UserId exists in  PSOPRDEFN User successfully signs on
Questions & Answers Shankar Mattay - smattay@uwaterloo.ca Steve Sangster - smsangst@uwaterloo.ca

More Related Content

PPTX
Creating a Sign On with Open id connect
PPT
Open Id, O Auth And Webservices
PPTX
Office 365 Authentication Process (oAuth Service Integration) - iXora Tech Se...
PPTX
MembershipReboot & Thinktecture: The Paradigms in Authentication &Authorizati...
PDF
CIS14: OAuth and OpenID Connect in Action
PPT
CAS Enhancement
PDF
Design and Implementation of an IP based authentication mechanism for Open So...
PDF
Feide Connect – Standard Norge February 2015
Creating a Sign On with Open id connect
Open Id, O Auth And Webservices
Office 365 Authentication Process (oAuth Service Integration) - iXora Tech Se...
MembershipReboot & Thinktecture: The Paradigms in Authentication &Authorizati...
CIS14: OAuth and OpenID Connect in Action
CAS Enhancement
Design and Implementation of an IP based authentication mechanism for Open So...
Feide Connect – Standard Norge February 2015

What's hot (20)

PPT
OAuth 2.0 and OpenId Connect
PDF
CIS14: Working with OAuth and OpenID Connect
PPTX
Securing your APIs with OAuth, OpenID, and OpenID Connect
DOCX
Pots pan workpackage 3 pilot 1
PPT
Digg Third Party Authentication
PPTX
OpenID Connect and Single Sign-On for Beginners
PDF
SAP Cloud for Customer - User Creation & Password issue Handling
PPT
Street conf overview
PDF
Full stack security
PPTX
AD FS Workshop | Part 2 | Deep Dive
PPT
Jasig Central Authentication Service in Ten Minutes
PDF
OpenID Connect - An Emperor or Just New Cloths?
PPTX
OpenID Connect 1.0 Explained
PDF
SSO using CAS + two-factor authentication (PyGrunn 2014 talk)
PDF
PPTX
Mit 2014 introduction to open id connect and o-auth 2
PDF
OW2con'14 - LemonLDAP::NG 1.4 New features, Linagora
 
PDF
eSign Brochure1.5
PPT
Mailing Website
PPTX
Secure Code Warrior - Secure by default
OAuth 2.0 and OpenId Connect
CIS14: Working with OAuth and OpenID Connect
Securing your APIs with OAuth, OpenID, and OpenID Connect
Pots pan workpackage 3 pilot 1
Digg Third Party Authentication
OpenID Connect and Single Sign-On for Beginners
SAP Cloud for Customer - User Creation & Password issue Handling
Street conf overview
Full stack security
AD FS Workshop | Part 2 | Deep Dive
Jasig Central Authentication Service in Ten Minutes
OpenID Connect - An Emperor or Just New Cloths?
OpenID Connect 1.0 Explained
SSO using CAS + two-factor authentication (PyGrunn 2014 talk)
Mit 2014 introduction to open id connect and o-auth 2
OW2con'14 - LemonLDAP::NG 1.4 New features, Linagora
 
eSign Brochure1.5
Mailing Website
Secure Code Warrior - Secure by default
Ad

Viewers also liked (9)

PDF
Boardwalk - Landscapers
PPTX
Photo shoot contact sheet
PPTX
Tugas tik jaringan komputer aldi , puji
DOCX
Leadership Ethics at the Movies
PDF
Jornal Paraná Notícias
PDF
Solving Quadratics by Factoring.pdf
ODP
Tecnologias da minha escola
PDF
Music Video Treatment
PPT
Ana profile in cvd
Boardwalk - Landscapers
Photo shoot contact sheet
Tugas tik jaringan komputer aldi , puji
Leadership Ethics at the Movies
Jornal Paraná Notícias
Solving Quadratics by Factoring.pdf
Tecnologias da minha escola
Music Video Treatment
Ana profile in cvd
Ad

Similar to Tags (20)

PPTX
Crypto passport authentication
PPTX
Crypto passport authentication
PPTX
Crypto passport authentication
PPTX
Crypto passport authentication
PPTX
Crypto passport authentication
PPTX
Crypto passport authentication
PPTX
Crypto passport authentication
PPT
Intro to Web Application Security
PDF
Cybersecurity State of the Union
PPTX
PeopleSoft: HACK THE Planet^W university
PDF
HES2011 - Gabriel Gonzalez - Man In Remote PKCS11 for fun and non profit
PPT
Application Security
PPTX
Secure coding - Balgan - Tiago Henriques
PDF
13. Neville Varnham - PeopleSoft Cyber Security
PPT
Phpnw security-20111009
PDF
Web Development Security
PPTX
Software Security information security
PPT
Oracle UCM Security: Challenges and Best Practices
PDF
The top 10 security issues in web applications
PDF
Lesser Known Security Problems in PHP Applications
Crypto passport authentication
Crypto passport authentication
Crypto passport authentication
Crypto passport authentication
Crypto passport authentication
Crypto passport authentication
Crypto passport authentication
Intro to Web Application Security
Cybersecurity State of the Union
PeopleSoft: HACK THE Planet^W university
HES2011 - Gabriel Gonzalez - Man In Remote PKCS11 for fun and non profit
Application Security
Secure coding - Balgan - Tiago Henriques
13. Neville Varnham - PeopleSoft Cyber Security
Phpnw security-20111009
Web Development Security
Software Security information security
Oracle UCM Security: Challenges and Best Practices
The top 10 security issues in web applications
Lesser Known Security Problems in PHP Applications

Recently uploaded (20)

PDF
Principal of magaement is good fundamentals in economics
PPTX
Very useful ppt for your banking assignments Banking.pptx
PDF
Pitch Deck.pdf .pdf all about finance in
PPTX
lesson in englishhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
PDF
2018_Simulating Hedge Fund Strategies Generalising Fund Performance Presentat...
PPTX
Group Presentation Development Econ and Envi..pptx
PPT
CompanionAsset_9780128146378_Chapter04.ppt
PPTX
28 - relative valuation lecture economicsnotes
PPTX
ML Credit Scoring of Thin-File Borrowers
PPTX
Module5_Session1 (mlzrkfbbbbbbbbbbbz1).pptx
PDF
Statistics for Management and Economics Keller 10th Edition by Gerald Keller ...
PPTX
PROFITS AND GAINS OF BUSINESS OR PROFESSION 2024.pptx
PDF
DTC TRADIND CLUB MAKE YOUR TRADING BETTER
PDF
Unkipdf.pdf of work in the economy we are
PPTX
OAT_ORI_Fed Independence_August 2025.pptx
PPTX
General-Characteristics-of-Microorganisms.pptx
PDF
2012_The dark side of valuation a jedi guide to valuing difficult to value co...
PDF
Truxton Capital: Middle Market Quarterly Review - August 2025
DOCX
Final. 150 minutes exercise agrumentative Essay
PPTX
2. RBI.pptx202029291023i38039013i92292992
Principal of magaement is good fundamentals in economics
Very useful ppt for your banking assignments Banking.pptx
Pitch Deck.pdf .pdf all about finance in
lesson in englishhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
2018_Simulating Hedge Fund Strategies Generalising Fund Performance Presentat...
Group Presentation Development Econ and Envi..pptx
CompanionAsset_9780128146378_Chapter04.ppt
28 - relative valuation lecture economicsnotes
ML Credit Scoring of Thin-File Borrowers
Module5_Session1 (mlzrkfbbbbbbbbbbbz1).pptx
Statistics for Management and Economics Keller 10th Edition by Gerald Keller ...
PROFITS AND GAINS OF BUSINESS OR PROFESSION 2024.pptx
DTC TRADIND CLUB MAKE YOUR TRADING BETTER
Unkipdf.pdf of work in the economy we are
OAT_ORI_Fed Independence_August 2025.pptx
General-Characteristics-of-Microorganisms.pptx
2012_The dark side of valuation a jedi guide to valuing difficult to value co...
Truxton Capital: Middle Market Quarterly Review - August 2025
Final. 150 minutes exercise agrumentative Essay
2. RBI.pptx202029291023i38039013i92292992

Tags

  • 1. PeopleSoft 8 Security External Authentication Through CGI Shankar Mattay - smattay@uwaterloo.ca Steve Sangster - smsangst@uwaterloo.ca
  • 2. Agenda University of Waterloo Environment Security Strategy Understanding the Signon Process Implementation Steps The Result Questions & Answers
  • 3. University of Waterloo Founded July 1957 25000 Students 20000 undergraduate students 2000 graduate students 3000 distance education students 3500 Ongoing Employees Best known for the largest co-op program in the world (approximately 10000 students)
  • 4. UW PeopleSoft Environment HRMS and Payroll version 7.5 Currently upgrading to version 8.00 Student Administration version 7.6 Custom Application (ACCESS) developed using PeopleTools 8.15.01
  • 5. ACCESS Co-operative Education & Career Services 5000+ students per term use ACCESS on a rotating basis Students use ACCESS to search for jobs and view application and interview information Most UW applications use a centralized authentication system
  • 6. UWDIR Centralized authentication system is called UWDIR Contains: Basic information for 50000+ users Windows NT Domain (uwaterloo.ca) for central password storage and authentication Challenge was to integrate ACCESS with UWDIR
  • 7. PeopleSoft Security Strategies Internal Authentication Users and Passwords are maintained within PeopleSoft We cannot export passwords from UWDIR Lightweight Directory Access Protocol PeopleSoft supports out of the box UW Active Directory is planned for future Web Server Exit Web Server performs authentication and passes user information to PeopleSoft, bypassing the PeopleSoft Signon screen Requires maintaining multiple lists of users
  • 8. UW Security Strategy External Authentication through CGI Uses PeopleSoft Signon screen Authenticate with UWDIR Enables us to integrate authentication with one password system
  • 9. Loading User Information Nightly process adds and removes users Internal passwords are irrelevant for external authentication strategies PSOPRDEFN PSOPRALIAS PSOPRCLS PSROLEUSER PS_ROLEXLATOPR PS_PERSONAL_DATA Load PeopleSoft security tables UWDIR Application Engine
  • 10. Implementation Technical Walkthrough of the Implementation Steps
  • 11. Understanding the Signon Process Signon Page Perl Script Main Menu UWDIR Internal Authentication Signon PeopleCode
  • 12. Implementation Steps Modify the PeopleSoft Signon page Write a Perl script to perform authentication with UWDIR and securely communicate result to PeopleSoft Write a Signon PeopleCode function to enforce the result of the authentication
  • 13. Signon Page PeopleSoft web servlet retrieves signin.html from the Web Server and delivers it to the client
  • 14. Signon Page Servlet replaces embedded variables with PeopleSoft parameters before delivery Dynamic paths, error messages, etc.
  • 15. Signon Page Modify form to post data to our own Perl script instead of to PeopleSoft servlet Pass the location of the PeopleSoft servlet to the script as part of the path
  • 16. Signon Page Results of our HTML modifications Make use of PeopleSoft Style Sheets and error messages
  • 17. Perl Script Accepts data entered in Signon page Performs authentication with the NT Domain using SMB library If authentication is successful Generates random cookie file name Writes a cookie file on the Web Server with the generated file name File contains UserId, IP address, and time stamp If authentication fails Cookie name is blank and file is not written
  • 18. Perl Script Reads PATH_INFO to determine the URL of the PeopleSoft servlet Appends additional parameters on PeopleSoft servlet URL AUTH contains the cookie name userid provides a fake user name to PeopleSoft pwd provides a fake password to PeopleSoft Redirects the user to this new URL avoiding PeopleSoft Signon
  • 19. Avoiding PeopleSoft Signon PeopleSoft servlet sees the userid and pwd parameters and thinks the user filled in the Signon page When the user is redirected to: Internal Authentication is performed Signon PeopleCode is executed to enforce the result of External Authentication
  • 20. Signon PeopleCode Signon PeopleCode is a function created in Record Field PeopleCode
  • 21. Signon PeopleCode Function Reads the AUTH parameter in the URL using the %Request object to determine the cookie file name Ignores the userid parameter in the URL Opens the cookie file and reads the UserId Calls SetAuthenticationResult() and sets AuthResult to: True to allow the user access with the specified UserId, trusting the Perl Script False to deny access if AUTH parameter not present, file not found, or other problem occurs
  • 22. Enabling Signon PeopleCode Add and Enable PeopleCode Function Check ExecAuthFail because Internal Authentication will fail Restart Application Server
  • 23. The Result Brief Demonstration of Various Signon Scenarios
  • 24. The Result User enters Signon information
  • 25. The Result External Authentication fails Signon PeopleCode rejects the Signon attempt
  • 26. The Result External Authentication successful but user does not exist in PSOPRDEFN Signon PeopleCode accepts login attempt but PeopleSoft rejects it because UserId is not found
  • 27. The Result User attempts to access the URL to avoid Signon using a forged cookie Signon PeopleCode rejects the Signon attempt because cookie file does not exist
  • 28. The Result External Authentication successful and UserId exists in PSOPRDEFN User successfully signs on
  • 29. Questions & Answers Shankar Mattay - smattay@uwaterloo.ca Steve Sangster - smsangst@uwaterloo.ca

Editor's Notes

  • #2: Good morning. Thank you for being here. The purpose of our presentation is to show you the method we have developed for authenticating PeopleSoft users with a centralized password management system using CGI scripts.