I have tested Sonar (6.7.6) out with an embedded database and now want to connect to an oracle database via Kerberos authentication. Is this possible?
I have already copied my oracle driver to $SONARQUBE-HOME/extensions/jdbc-driver/oracle but now I am unsure how to specify additional krb5 specific properties.
First, I hope ‘6.7.6’ is a typo & you actually meant 7.9.5. SonarQube 6.7* is past EOL and certainly any new adoption should be done with either the current LTS (7.9.5) or the latest version, 8.7.
Regarding the DB connection, as far as I know, JDBC URL and login/password are the only configurations available.
I managed to successfully connect via Kerberos using sonar.web.javaAdditionalOps and sonar.ce.javaAdditionalOps.
The options specified:
-Doracle.net.authentication_services=( KERBEROS5)
-Doracle.net.kerberos5_mutual_authentication=true
-Doracle.net.kerberos5_cc_name=path to cache file
-Djava.security.krb5.conf=path to conf file