Configure Integration with Database User Management (PostgreSQL)
Prerequisites
Before you install and configure a Database User Management (PostgreSQL) Orchestrated System, you should consider the following prerequisites and tasks.
Certification
- Check that your Database User Management (PostgreSQL) system is certified with Oracle Access Governance by referring to Components Certified for Integration with Oracle Access Governance for details of the versions supported.
Create a Service User Account
Oracle Access Governance requires a user account to access the Database User Management (PostgreSQL) system during service operations. Depending on the system you are using, you can create the user in your managed system and assign specific roles and privileges to the user.
Create a Service User Account for Orchestrated System Operations in Database User Management (PostgreSQL)
For Database User Management (PostgreSQL):
- Create a user
svc_user_admintestusing the following query:CREATE ROLE "svc_user_admintest" WITH LOGIN PASSWORD 'SecurePass123' CREATEROLE SUPERUSER CREATEDB REPLICATION BYPASSRLS; - Assign the following roles and privileges to the created user using the following
query:
GRANT pg_read_all_data TO "svc_user_admintest" WITH ADMIN OPTION; GRANT SELECT ON pg_user TO "svc_user_admintest" WITH GRANT OPTION;
Configure
You can establish a connection between Database User Management (PostgreSQL) and Oracle Access Governance by entering connection details. To achieve this, use the orchestrated systems functionality available in the Oracle Access Governance Console.
Navigate to the Orchestrated Systems Page
The Orchestrated Systems page of the Oracle Access Governance Console is where you start configuration of your orchestrated system.
Select system
On the Select system step of the workflow, you can specify which type of system you would like to integrate with Oracle Access Governance.
You can search for the required system by name using the Search field.
- Select Database User Management (PostgreSQL) .
- Click Next.
Add details
Add details such as name, description, and configuration mode.
- Enter a name for the system you want to connect to in the Name field.
- Enter a description for the system in the Description field.
- Decide if this orchestrated system is an authoritative source, and if Oracle Access Governance can manage permissions by setting the following check boxes.
-
This is the authoritative source for my identities
Select one of the following:
- Source of identities and their attributes: System acts as a source identities and associated attributes. New identities are created through this option .
- Source of identity attributes only: System ingests additional identity attributes details and apply to existing identities. This option doesn't ingest or creates new identity records.
- I want to manage permissions for this system
-
This is the authoritative source for my identities
- Select Next.
The Database User Management (PostgreSQL) orchestrated system allows you to manage groups in Database User Management (PostgreSQL) using the I want to manage identity collections for this orchestrated system option. If selected, this checkbox allows you to manage Database User Management (PostgreSQL) groups from within Oracle Access Governance. Any changes made to Database User Management (PostgreSQL) groups will be reconciled between Oracle Access Governance and the orchestrated system. Similarly, any changes made in Database User Management (PostgreSQL), will be reflected in Oracle Access Governance
Add Owners
Add primary and additional owners to your orchestrated system to allow them to manage resources.
When setting up the first Orchestrated System for your service instance, you can assign owners only after you enable the identities from the Manage Identities section.
- Select an Oracle Access Governance active user as the primary owner in the Who is the primary owner? field.
- Select one or more additional owners in the Who else owns it? list. You can add up to 20 additional owners for the resource.
Account settings
Outline details of how to manage account settings when setting up your orchestrated system including notification settings, and default actions when an identity moves or leaves your organization.
- When a permission is requested and the account doesn't already exist, select this option to create new accounts . This option is selected by default. When selected, Oracle Access Governance creates an account if one doesn't exist when a permission is requested. If you clear this option, permissions are provisioned only for existing accounts in the orchestrated system. If no account exists, the provisioning operation fails.
- Select the recipients for notification emails when an account is created. The default recipient is User. If no recipients are selected, notifications aren't sent when accounts are created.
- User
- User manager
- Configure Existing AccountsNote
You can only set these configurations if allowed by the system administrator. When global account termination settings are enabled, application administrators can't manage account termination settings at the orchestrated-system level.- Select what to do with accounts when early termination begins: Choose the action to perform when an early termination begins. This happens when you need to revoke identity accesses before official termination date.
- Delete: Deletes all accounts and permissions managed by Oracle Access Governance.Note
If specific orchestrated system doesn't support the action, no action is taken. - Disable: Disables all accounts and disables permissions managed by Oracle Access Governance.
- Delete the permissions for disabled accounts: To ensure zero residual access, select this to delete directly assigned permissions and policy-granted permissions during account disablement.
- No action: No action is taken when an identity is flagged for early termination by Oracle Access Governance.
- Delete: Deletes all accounts and permissions managed by Oracle Access Governance.
- Select what to do with accounts on the termination date: Select the action to perform during official termination. This happens when you need to revoke identity accesses on the official termination date.
- Delete: Deletes all accounts and permissions managed by Oracle Access Governance.Note
If specific orchestrated system doesn't support Delete action, then no action is taken. - Disable: Disables all accounts and disables permissions managed by Oracle Access Governance.
- Delete the permissions for disabled accounts: To ensure zero residual access, select this to delete directly assigned permissions and policy-granted permissions during account disablement.
Note
If specific orchestrated system doesn't support the Disable action, then account is deleted. - No action: No action is taken on accounts and permissions by Oracle Access Governance.
- Delete: Deletes all accounts and permissions managed by Oracle Access Governance.
- Select what to do with accounts when early termination begins: Choose the action to perform when an early termination begins. This happens when you need to revoke identity accesses before official termination date.
- When an identity leaves your enterprise you must remove access to their accounts. Note
You can only set these configurations if allowed by your system administrator. When global account termination settings are enabled, application administrators cannot manage account termination settings at the orchestrated-system level.Select one of the following actions for the account:
- Delete: Delete all accounts and permissions managed by Oracle Access Governance.
- Disable: Disable all accounts and mark permissions as inactive.
- Delete the permissions for disabled accounts: Delete directly assigned and policy-granted permissions during account disablement to ensure zero residual access.
- No action: Take no action when an identity leaves the organization.
Note
These actions are available only if supported by the orchestrated system type. For example, if Delete is not supported, you will only see the Disable and No action options. - When all permissions for an account are removed, for example when an identity moves between departments, you may need to decide what to do with the account. Select one of the following actions, if supported by the orchestrated system type:
- Delete
- Disable
- No action
- Manage accounts that aren't created by Access Governance: Select to manage accounts that are created directly in the orchestrated system. With this, you can reconcile existing accounts and manage them from Oracle Access Governance.
If you don't configure the system as a managed system then this step in the workflow will display but is not enabled. In this case you proceed directly to the Integration settings step of the workflow.
If your orchestrated system requires dynamic schema discovery, as with the Generic REST and Database Application Tables integrations, then only the notification email destination can be set (User, Usermanager) when creating the orchestrated system. You cannot set the disable/delete rules for movers and leavers. To do this you need to create the orchestrated system, and then update the account settings as described in Configure Orchestrated System Account Settings.
Integration settings
Enter details of the connection to your Database User Management (PostgreSQL) system.
-
On the Integration settings step of the workflow, enter the details required to allow Oracle Access Governance to connect to your Database User Management (PostgreSQL) system.
Integration settings Parameter Name Mandatory? Description What is the easy connect url for database? Yes Enter the connect string for the database you want to integrate with Oracle Access Governance, in the format jdbc:postgresql:@[host]:[port]:[sid], for examplejdbc:postgresql://10.10.20.210:5432/postgres.What is the username? Yes Enter the Database User Management (PostgreSQL) user you will use to connect to the database. This is the user you created in Create a Service User Account.
What is the password? Yes Enter the password of the Database User Management (PostgreSQL) user. Confirm password Yes Confirm the password. What are the custom jar details? Yes Enter the jar name and the jar checksum in the following format <jarName>::<jarChecksum>.For example:
postgresql-42.7.5.jar::ef576afb1d8aa6f28e885ddbc6e5ed7623123b0a151e43e39b52ec0604144def2c310002d8837230cc3eef39f758dea36af1b12984ec6e510b52f8f50b66d05eFor more information on custom jar, see Custom Jar Support.
- Click Add to create the orchestrated system.
Finish Up
Finish up configuration of your orchestrated system by providing details of whether to perform further customization, or activate and run a data load.
The final step of the workflow is Finish Up.
On the Finish Up step of the workflow, you are asked to download the agent you will use to interface between Oracle Access Governance and SAP User Management (UM). Select the Download link to download the agent zip file to the environment in which the agent will run.
After downloading the agent, follow the instructions explained in the Agent Administration article.
Pre-Startup Configuration for Agent Initialization
Before starting the agent, ensure that you have added the custom JAR to the agent and completed the following configurations in the config.json and config.properties files:
To add custom JAR:
- Navigate to the custom JAR folder.
<AGENT_HOME>/<PERSISTENT_VOLUME_LOCATION>/data/customJars - Add the postgresql-42.7.5.jar JAR file.
For config.json:
- Navigate to the default location of the config.json file.
<AGENT_HOME>/<PERSISTENT_VOLUME_LOCATION>/data/conf/config.json - Update the following
property:
"numberOfOperationsWorkerThread": 1,
For config.properties:
- Navigate to the default location of the config.properties
file.
<AGENT_HOME>/<PERSISTENT_VOLUME_LOCATION>/data/conf/config.properties - Update the following
property:
idoConfig.numberOfOperationsWorkerThread=1
After updating the configuration files, you can start the agent.
- Customize before enabling the system for data loads
- Activate and prepare the data load with the provided defaults
Post Configuration
There are no post configuration steps associated with a Database User Management (PostgreSQL) system.
, select Service Administration → Orchestrated Systems
.