Skip to content

JDBC

The JDBC connector enables data synchronization between RAC/M Identity and relational databases using the JDBC driver.

The connector has been tested with SQL Server, Azure SQL, Oracle, MySQL.

Is this connector suitable for your implementation? Because here, it is a simple connection to a table without inner joins. If not, refer to the Scripted JDBC connector.

Configuration

ConfigurationDescriptionExample
HostAddress or domain name of the database server.localhost
TCP PortPort number to access the database server.1433
UserUsername for connecting to the server.sa
User PasswordPassword for connecting to the server.*******
DatabaseName of the database to connect to.racm_demo_config
TableName of the table to connect to.LOGIN
Key ColumnName of the column representing the primary key.LOGIN_ID
Password ColumnName of the column containing user passwords.password
JDBC DriverName of the Java class implementation for the JDBC driver. For example.com.microsoft.sqlserver.jdbc.SQLServerDriver
JDBC Connection URLThe connection URL.jdbc:sqlserver://127.0.0.1:1433;databaseName=racm_demo_config;encrypt=false

Advanced Configuration

ConfigurationDescriptionExample
Name QuotesDefinition of the quotes used for entity names.", `
Enable Writing Empty StringsOption to allow or disallow writing empty strings into the database.true or false
Re-throw All SQL ExceptionsOption to rethrow all captured SQL exceptions.true or false
Native TimestampsUse of native types for timestamps in the database.true or false
All NativeOption to use only native types for all supported fields.true or false
Validate Connection QuerySQL query used to validate a connection to the server.SELECT 1
Change Log Column (Sync)Column used to track changes during a synchronization process.
Data Source PathJNDI path or other identifier to access the data source.
Initial JNDI PropertiesSpecific properties to initialize the JNDI context.
Suppress PasswordOption to hide or mask passwords in logs or traces.true or false
Where ClauseCustom WHERE clause to filter query results.WHERE is_active = 1
Page SizeSize of result pages when retrieving data1000

Note

For Azure SQL: The only available driver is com.microsoft.sqlserver.jdbc.SQLServerDriver.

  • encrypt=false: Excludes the certificate.
  • encrypt=true: Includes the certificate. The SQL server certificate must be in the ICF truststore.

Certificate

A certificate might be required in SSL mode.

Adding

Add the certificate to the ICF truststore.

Restart

When making changes to the default truststore of the ICF, restarting the RAC/M service is mandatory.

Test

You can test the database table connector connector by pressing the TEST button.

Import

Account Mapping

  • ICF Connector -> Source table _ACCOUNT_ -> Target table APPLICATION_ACCOUNT_IMPORT.
  • Table LOGIN
Target Table ColumnSource Table ColumnFormatting (Constant)
ACCOUNT_NAME_NAME_
EINGIA_ID
EMAILEMAIL
EXT_APPLICATION_IDRACM
EXTRA1LANGUAGE
FULL_NAMEFULL_NAME
GUIDLOGIN_ID
STATUSActive

Group Mapping

The groups do not have descriptions, so we will not load them for our example.
If we wish to do so, we need to configure another ICF connector on the ROLE_LOGIN table to create the RACM profiles.

Member Mapping

  • ICF Connector -> Source table _ROLE_MEMBERS_ -> Target table _ACCOUNT_.
  • Table LOGIN
RACM ColumnTarget System AttributeFormatting (Constant)
ACCOUNT_NAME_NAME_
EXT_PROFILE_IDLOGIN_ROLE_ID
GUIDLOGIN_ROLE_ID
EXT_APPLICATION_IDRACM