You need to define a directory service in Ubisecure SSO Management that is used for accessing the Ubisecure CustomerID's SQL database. To create the service open Ubisecure SSO Management.
Start Ubisecure SSO
Code Block language text /etc/init.d/ubilogin-server start
- Access the URL
UAS_URL/ubilogin
in a browser - Create a new Service in Services tab (Select Home → Services → New Service...)
- Title:
CustomerID SQL
Directory type:
SQL
- Title:
- Click OK
- Edit following information:
- Service URL:
jdbc:postgresql://host:port/customeriddb
– replacing hostname and port number as needed usingdatabase.host
anddatabase.port
settings from/usr/local/ubisecure/customerid/application/linux.config
- Username:
Usedatabase.user
value from/usr/local/ubisecure/customerid/application/linux.config
. This value is usually customerid_user Credentials:
Usedatabase.password
value from/usr/local/ubisecure/customerid/application/linux.config
Note NOTE: If there are escape characters ("\") in the database.password value, remove them before copying the value to the Credentials field.
Configuration:
Enter the following text in the Configuration String text area:
validationQuery=
SELECT 1
This defines the PostgreSQL specific query called when determining if a JDBC connection is open and operating.
Figure 2, SQL Configuration
- Service URL:
- Click Update
Restart Ubisecure SSO
Code Block language text /etc/init.d/ubilogin-server stop /etc/init.d/ubilogin-server start