All Apps and Add-ons

DB Connect Enable jConnect Password Encryption


The Sybase DB I'm trying to connect to requires password encryption enabled. Does anyone know how to modify driver properties in DB Connect? I can't find any options in the GUI for this.


Tags (2)
0 Karma

Re: DB Connect Enable jConnect Password Encryption


My solution was to modify the connection settings in dbconnectiontypes.conf

There is a parameter, connection_properties, which you can add.

It accepts the properties in JSON format and the key needs to match the jConnect property names.


displayName = Sybase ASE (jConnect)
serviceClass = com.splunk.dbx2.SybaseJConnectJDBC
jdbcUrlFormat = jdbc:sybase:Tds:<host>:<port>/<database>
jdbcDriverClass = com.sybase.jdbc4.jdbc.SybDriver
supportedVersions = 7.0
database = master
port = 5000
ui_default_schema = dbo
connection_properties = {"ENCRYPT_PASSWORD":"true","RETRY_WITH_NO_ENCRYPTION":"true"}

View solution in original post

0 Karma