IBM Data Server Driver for JDBC and SQLJ properties for dashDB
Some of the IBM Data Server Driver for JDBC and SQLJ properties apply only to dashDB®.
Unless otherwise noted, all properties are in com.ibm.db2.jcc.DB2BaseDataSource.
Those properties are:
- accessToken
- Used to get connection used for authentication by dashDB when the security mechanism is PLUGIN_SECURITY. The data type of this property is String.
The IBM Data Server Driver for JDBC and SQLJ uses this option only if
securityMechanismis set toPLUGIN_SECURITY(15). If no value is set for the parameterpluginName, connection is attempted by using default value ofgss_dashdb_iamtopluginName.If the property is set along with user or
apikey, a connection error is thrown indicating only one of them must be used.Maximum length of the
accessTokenis set to 8192.This value applies only to SSL connections to dash DB. Non-SSL connections are not supported. This property applies only to IBM Data Server Driver for JDBC and SQLJ type 4 connectivity.
- apiKey
- Used to get connection used for authentication by dash DB when the security mechanism is
PLUGIN_SECURITY. The data type of this property is String.
The IBM Data Server Driver for JDBC and SQLJ uses this option only if
securityMechanismis set toPLUGIN_SECURITY(15). If no value is set for the parameterpluginName, connection is attempted by using default value ofgss_dashdb_iamtopluginName.If the property is set along with user or accessToken, a connection error is thrown, indicating that only one of them must be used.
Maximum length of the
apiKeyis set to 8192.This value applies only to SSL connections to dashDB. Non-SSL connection is not supported. This property applies only to IBM Data Server Driver for JDBC and SQLJ type 4 connectivity.