Setting up JDBC for user management
The Db2® Warehouse that is employed by Guardium® Insights includes OpenLDAP, which can be configured with the JDBC protocol for user management.
Before you begin
Before you can set up JDBC for user management, you must apply a YAML file that enables the connection. Create a YAML file similar to this example:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: db2-jdbc-ingress
spec:
ingress:
- ports:
- port: 50000
protocol: TCP
podSelector:
matchLabels:
component: db2wh
role: db
type: engine
policyTypes:
- Ingress
Apply the file by issuing this command:
oc apply -f <yaml_file> -n=<guardium_insights_namespace>
where:
<yaml_file>
is the file that you created based on the above example.<guardium_insights_namespace>
is the Guardium Insights OpenShift® namespace that you created when preparing your environment.
About this task
After enabling JDBC for user management above, follow the instructions for managing users in https://www.ibm.com/docs/en/db2/11.5?topic=ldap-managing-users.