Creating a Module for the Delinea JDBC Driver

Create a module for the Delinea JDBC Driver to integrate with Secret Server:

  1. Create the folder structure, such as JBOSS_HOME/modules/com/delinea/main.

    JBOSS_HOME is the reference to the JBOSS_HOME system variable in Windows that specifies the path of the JBoss installation folder.

  2. Copy the required files:

    1. Run the SetUpUtility tool (described in Running the SetUpUtility).
    2. When prompted for the deployed application lib folder path, provide JBOSS_HOME/modules/com/delinea/main. SetUpUtility will automatically copy the delinea-jdbc-driver.jar and DelineaDriver.properties files to the JBOSS_HOME/modules/com/delinea/main folder.
    3. Create a module.xml file in the main folder and include the Delinea driver module and its dependencies with the following content:
  3. Copy
    <module xmlns="urn:jboss:module:1.1" name="com.delinea">
    <resources>
    <resource-root path="delinea-jdbc-driver.jar"/>
    </resources>
    <dependencies>
    <module name="com.mysql"/>
    <module name="javax.api"/>
    </dependencies>
    </module>

    Add the Native Driver modules to the <dependencies> section in module.xml so that the native JDBC driver module is included as a dependency for the Delinea JDBC driver module. In the example above, the Native Driver module is added for My SQL.

  4. Define the Delinea JDBC Driver in standalone.xml:

    In JBOSS_HOME/standalone/configuration/standalone.xml, define the Delinea driver under the <datasources> section:

    Copy
    <datasources>
    <drivers>
    <driver name="delinea" module="com.delinea">
    <driver-class>com.delinea.jdbc.DelineaDriver</driver-class>
    </driver>
    </drivers>
    </datasources>

    You can also add drivers through the JBoss UI. Select JBoss > Configuration > Subsystems > Datasources & Drivers.