Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/OseeProperties.java')
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/OseeProperties.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/OseeProperties.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/OseeProperties.java
index f6e0a342cf5..b7cf02b7665 100644
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/OseeProperties.java
+++ b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/OseeProperties.java
@@ -31,6 +31,7 @@ public class OseeProperties {
private static final String OSEE_CONNECTION_INFO_URI = "osee.connection.info.uri";
private static final String OSEE_EMBEDDED_DB_SERVER = "osee.db.embedded.server";
private static final String OSEE_DEFAULT_BROKER_URI = "osee.default.broker.uri";
+ private static final String OSEE_PROXY_BYPASS_ENABLED = "osee.proxy.bypass.enabled";
protected OseeProperties() {
// Utility Class
@@ -165,6 +166,13 @@ public class OseeProperties {
}
}
+ /**
+ * @return whether proxy settings should be ignored for HttpRequests
+ */
+ public static boolean getOseeProxyBypassEnabled() {
+ return Boolean.valueOf(System.getProperty(OSEE_PROXY_BYPASS_ENABLED, "false"));
+ }
+
@Override
public String toString() {
List<String> list = new ArrayList<String>();

Back to the top