aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/resources/Messages.properties
diff options
context:
space:
mode:
authorOmair Majid <[email protected]>2011-01-27 12:56:40 -0500
committerOmair Majid <[email protected]>2011-01-27 12:56:40 -0500
commitd16944552990c2c953fdbd5e8d11f43e31dcbb3f (patch)
tree634b7c7e1180ec04abbb362f919add673e2049a7 /netx/net/sourceforge/jnlp/resources/Messages.properties
parent65c6aeedd50dd370ae4bce1ea49ad1b1b535db89 (diff)
Use Firefox's preferences to determine proxy settings for javaws
This patch adds support for finding, parsing and using basic information from Firefox's preferences to determine the correct proxy to use for javaws. Only the preferences from Firefox's default profile are used. Support for PAC, System or Automatic settings is not yet implemented. 2011-01-27 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/resources/Messages.properties: Add RPRoxyPacNotImplemented, RProxyFirefoxNotFound, and RProxyFirefoxOptionNotImplemented. * netx/net/sourceforge/jnlp/runtime/JNLPProxySelector.java: Make abstract. (getFromBrowser): Remove implementation; make abstract. * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java (initialize): Set BrowserAwareProxySelector as the proxy selector. * netx/net/sourceforge/jnlp/browser/BrowserAwareProxySelector.java: New file. This class extends JNLPProxySelector and searches the browser's configuration to load additional proxy settings from. * netx/net/sourceforge/jnlp/browser/FirefoxPreferencesFinder.java: New file. This class looks into the browser configration to find the preferences file for the default firefox profile. * netx/net/sourceforge/jnlp/browser/FirefoxPreferencesParser.java: New file. Parses the browser's preferences and makes it available through a simpler interface.
Diffstat (limited to 'netx/net/sourceforge/jnlp/resources/Messages.properties')
-rw-r--r--netx/net/sourceforge/jnlp/resources/Messages.properties3
1 files changed, 3 insertions, 0 deletions
diff --git a/netx/net/sourceforge/jnlp/resources/Messages.properties b/netx/net/sourceforge/jnlp/resources/Messages.properties
index fc4a196..c9628b9 100644
--- a/netx/net/sourceforge/jnlp/resources/Messages.properties
+++ b/netx/net/sourceforge/jnlp/resources/Messages.properties
@@ -141,6 +141,9 @@ RNestedJarExtration=Unable to extract nested jar.
RUnexpected=Unexpected {0} at {1}
RConfigurationError=Fatal error while reading the configuration
RConfigurationFatal=ERROR: a fatal error has occurred while loading configuration. Perhaps a global configuration was required but could not be found
+RPRoxyPacNotImplemented=Using Proxy Auto Config (PAC) files is not supported yet.
+RProxyFirefoxNotFound=Unable to use Firefox's proxy settings. Using "DIRECT" as proxy type.
+RProxyFirefoxOptionNotImplemented=Browser proxy option "{0}" ({1}) not supported yet.
# Boot options, message should be shorter than this ---------------->
BOUsage=javaws [-run-options] <jnlp file>