Peoplesoft adopted the n-tier architecture from 8.x versions onwards.
There are different ways to connect to database.
1. Direct login to database with database userID/Password. (2-Tier)
Below are the ways we connect to database directly.
There are different ways to connect to database.
1. Direct login to database with database userID/Password. (2-Tier)
Below are the ways we connect to database directly.
Login through Toad/SQL Plus using SYSADM as userID/pwd.
- This the the powerful userID.
- Using this we can do DML/DDL from backend. Usually PSAdmin/Database Admin use these.
- Sometimes Application Developers do require access in Dev environments.
- We can also create other Database Userids which have only select access to database.
Login through App Designer.
- In the Login Window, user has the option to select Type of login.
- There if we select Database say Oracle then we are connecting directly to database.
- User enters the credentials,
- App designer first connects to database using the connectID provided in the Configuration Manager.Usually, ConnectID will be people.
- Once connection is successful, the user 'people' issues a couple of select statements on peopletools Security tables (namely, PSDBOWNER/PSSTATUS/PSACCESSPRFL/PSOPRDEFN) to validate the credentials provided.
- Gets the owner name from PSDBOWNER, usually SYSADM
- Then checks the tools release.
- Retrieves the SYMBOLICID (usually SYSADM1) for the given UserID from PSOPRDEFN.
- Now gets the ACCESSID/PWD (usually SYSADM) from the PSACCESSPRFL which is linked to the SYMBOLICID.
- Disconnects from Database
- Connects using AccessID namely SYSADM/pwd. This UserID is powerful as it had full access to the database.
- Now App Designer opens and is awaiting user action.
Login through Application Server.
- This happens when we boot the server using PSADMIN utility.
- The Appserver Config file has the details of UserID/Pwd and also the ConnectID/Pwd.
- So initial connection happens through the ConnectID namely 'people' , and then validates the credentials against the Peopletools Security tables as mentioned above.
- Once validated, it disconnects and connects again using UserID/Pwd present in the file.
- This way a persitent connection is made to the database by the Application server.
1 comment:
Thanks a lot for sharing such a usefull information and tutorials on Peoplesoft HRMS Functional Online Training
Post a Comment