aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2018-02-01 13:36:29 +0100
committerGitHub <noreply@github.com>2018-02-01 13:36:29 +0100
commite737a37b28a2504aa1a6387606841afd776f2fef (patch)
tree2ffc650ac5c2e4d3f22621a837db9e8304f1a04b /sonar-plugin-api/src
parent39f671dce022e19460606d9639f3727493a1faf2 (diff)
downloadsonarqube-e737a37b28a2504aa1a6387606841afd776f2fef.tar.gz
sonarqube-e737a37b28a2504aa1a6387606841afd776f2fef.zip
SONAR-10300 Forbid system properties in api/settings
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java6
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/database/DatabaseProperties.java4
2 files changed, 10 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java b/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java
index fcfbbcd02eb..d0087bfb76d 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java
@@ -226,9 +226,15 @@ public interface CoreProperties {
/**
* @since 2.14
+ * @deprecated since 7.1, this setting should not be used by plugin
*/
+ @Deprecated
String CORE_AUTHENTICATOR_REALM = "sonar.security.realm";
+ /**
+ * @deprecated since 7.1, this setting should not be used by plugin
+ */
+ @Deprecated
String CORE_AUTHENTICATOR_IGNORE_STARTUP_FAILURE = "sonar.authenticator.ignoreStartupFailure";
/**
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/database/DatabaseProperties.java b/sonar-plugin-api/src/main/java/org/sonar/api/database/DatabaseProperties.java
index d4e02d36001..d386f9aee96 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/database/DatabaseProperties.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/database/DatabaseProperties.java
@@ -19,6 +19,10 @@
*/
package org.sonar.api.database;
+/**
+ * @deprecated since 7.1, plugins don't connect to database
+ */
+@Deprecated
public interface DatabaseProperties {
String PROP_URL = "sonar.jdbc.url";