- From the PingFederate administrative console, go to System > Data Stores and click Add New Data Store.
- On the Data Store Type tab, in the Name field, enter a name.
- From the Type list, select Database (JDBC). Click Next.
-
On the Database Config tab, in the JDBC
URL field enter
jdbc:sqlserver://<databaseservername>;<databaseName=databasename>;integratedSecurity=true.
Click Add.
Note:
Use the fully qualified domain name for your server. Port
1433
is the default port for SQL server. If you are using port1433
, then you can omit it from the JDBC URL. For any non-standard ports, specify them in the URL.integratedSecurity=true
makes the connection use Windows authentication. Without that, it attempts SQL authentication. - In the Driver Class field, enter com.microsoft.sqlserver.jdbc.SQLServerDriver.
- Complete the Username and Password fields with the same service account credentials from step 1.
-
In the Validate Connection SQL field, enter
SELECT getdate().
Note:
SELECT getdate()
is used to re-establish the JDBC connection if it gets disconnected. - Click Next, and then click Save.
- Replicate the cluster configuration.