|
|
|
Calls to CARS Oracle Database
from
FSUID Java Programs
10/15/2007
CARSSession.java
Calls cars_dba.cars_session.session_new
Checks against CARS_ATTRIBUTE table to determine if new session is allowable.
If session allowable, calls function SESSION_GETNEWID to generate a new sequence id.
If session not allowable, logs error indicating new sessions not allowed.
Calls CARS_DBA.CARS_SESSION.SESSION_END
Unpins CARS session_id from memory and ends the session.
CarsUtils.java
Calls CARS_DBA.CARS_UTILS.SETFORWARDING
Checks for valid session.
Checks to make sure FROM and TO are not the same.
Parses and checks validity of FROM address.
Breaks address into login and domain.
Determines target for write transaction based on from domain.
If @fsu.edu, then checks to make sure it's a valid username.
If mailer or garnet, checks for active account for this host.
If TO is NULL, performs StopForwarding instead of SetForwarding.
Checks validity of TO address.
If all checks pass, writes transaction to do forwarding.
Calls CARS_DBA.CARS_UTILS.SETVACATIONMSG
Checks for valid session.
Parses target account Mailer or Garnet).
Checks for active account for this host.
Checks vacation message action for "START" or "STOP".
Calls CARS_DBA.CARS_UTILS.SETPASSWORD
Checks for a valid session.
Checks for existing account for user.
Checks for denial of access by user.
Sets passwords for user accounts.
Calls CARS_DBA.CARS_UTILS.AddFreeDialup
This procedure is commented out in the header and there is no associated procedure body.
Calls CARS_DBA.CARS_UTILS.DELETEHOSTFROMLOGIN
Checks for valid session.
Fetches login data.
Flags account as deleted.
Writes transaction information to CARS_DBA.DOIT_QUEU.
CreateFSUID.java
Calls CARS_DBA.CARS_UTILS.INSERTNEWRECORD
Checks for valid session.
Fetches current user information.
If current user already has a uuid for that SSN, returns it.
If no valid name is passed, user is not added to user_data table.
If current user not found, inserts a new record into user_data table.
Calls cars_dba.cars_utils.newaccount2
Checks for valid session.
Calls MakeLogin and returns the result.
If nickname really their middle name then
doesn't use a middle initial in login,
else usee nickname + mi + lname.
If nickname starts with a digit, it is ignored.
If success in getting a login name,
1) Stores account in accounts table for target_host
2) Writes transaction to accounts.
Creates JES entry
Creates AD entry.
Creates Blackboard entry.
Calls cars_dba.CARS_UTILS.SETPUBLISH
Checks for valid session.
Sets USER_DATA.PUBLISH to in_flag for user.
EdirUtils.java
Calls cars_dba.cars_utils.SETFSUID
Checks for valid session.
Loops through user_names and sets fsuid to false for all but in_login.
If in_login not found for this uuid, generates error message.
Calls cars_dba.cars_utils.jesify
Checks for valid session.
If target username not found in user_names, generates error message.
Writes transaction.
|