net.properties 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. ############################################################
  2. # Default Networking Configuration File
  3. #
  4. # This file may contain default values for the networking system properties.
  5. # These values are only used when the system properties are not specified
  6. # on the command line or set programatically.
  7. # For now, only the various proxy settings can be configured here.
  8. ############################################################
  9. # Whether or not the DefaultProxySelector will default to System Proxy
  10. # settings when they do exist.
  11. # Set it to 'true' to enable this feature and check for platform
  12. # specific proxy settings
  13. # Note that the system properties that do explicitely set proxies
  14. # (like http.proxyHost) do take precedence over the system settings
  15. # even if java.net.useSystemProxies is set to true.
  16. java.net.useSystemProxies=false
  17. #------------------------------------------------------------------------
  18. # Proxy configuration for the various protocol handlers.
  19. # DO NOT uncomment these lines if you have set java.net.useSystemProxies
  20. # to true as the protocol specific properties will take precedence over
  21. # system settings.
  22. #------------------------------------------------------------------------
  23. # HTTP Proxy settings. proxyHost is the name of the proxy server
  24. # (e.g. proxy.mydomain.com), proxyPort is the port number to use (default
  25. # value is 80) and nonProxyHosts is a '|' separated list of hostnames which
  26. # should be accessed directly, ignoring the proxy server (default value is
  27. # localhost & 127.0.0.1).
  28. #
  29. # http.proxyHost=
  30. # http.proxyPort=80
  31. http.nonProxyHosts=localhost|127.*|[::1]
  32. #
  33. # HTTPS Proxy Settings. proxyHost is the name of the proxy server
  34. # (e.g. proxy.mydomain.com), proxyPort is the port number to use (default
  35. # value is 443). The HTTPS protocol handlers uses the http nonProxyHosts list.
  36. #
  37. # https.proxyHost=
  38. # https.proxyPort=443
  39. #
  40. # FTP Proxy settings. proxyHost is the name of the proxy server
  41. # (e.g. proxy.mydomain.com), proxyPort is the port number to use (default
  42. # value is 80) and nonProxyHosts is a '|' separated list of hostnames which
  43. # should be accessed directly, ignoring the proxy server (default value is
  44. # localhost & 127.0.0.1).
  45. #
  46. # ftp.proxyHost=
  47. # ftp.proxyPort=80
  48. ftp.nonProxyHosts=localhost|127.*|[::1]
  49. #
  50. # Gopher Proxy settings. proxyHost is the name of the proxy server
  51. # (e.g. proxy.mydomain.com), proxyPort is the port number to use (default
  52. # value is 80)
  53. #
  54. # gopher.proxyHost=
  55. # gopher.proxyPort=80
  56. #
  57. # Socks proxy settings. socksProxyHost is the name of the proxy server
  58. # (e.g. socks.domain.com), socksProxyPort is the port number to use
  59. # (default value is 1080)
  60. #
  61. # socksProxyHost=
  62. # socksProxyPort=1080
  63. #
  64. # HTTP Keep Alive settings. remainingData is the maximum amount of data
  65. # in kilobytes that will be cleaned off the underlying socket so that it
  66. # can be reused (default value is 512K), queuedConnections is the maximum
  67. # number of Keep Alive connections to be on the queue for clean up (default
  68. # value is 10).
  69. # http.KeepAlive.remainingData=512
  70. # http.KeepAlive.queuedConnections=10
  71. # Authentication Scheme restrictions for HTTP and HTTPS.
  72. #
  73. # In some environments certain authentication schemes may be undesirable
  74. # when proxying HTTP or HTTPS. For example, "Basic" results in effectively the
  75. # cleartext transmission of the user's password over the physical network.
  76. # This section describes the mechanism for disabling authentication schemes
  77. # based on the scheme name. Disabled schemes will be treated as if they are not
  78. # supported by the implementation.
  79. #
  80. # The 'jdk.http.auth.tunneling.disabledSchemes' property lists the authentication
  81. # schemes that will be disabled when tunneling HTTPS over a proxy, HTTP CONNECT.
  82. # The 'jdk.http.auth.proxying.disabledSchemes' property lists the authentication
  83. # schemes that will be disabled when proxying HTTP.
  84. #
  85. # In both cases the property is a comma-separated list of, case-insensitive,
  86. # authentication scheme names, as defined by their relevant RFCs. An
  87. # implementation may, but is not required to, support common schemes whose names
  88. # include: 'Basic', 'Digest', 'NTLM', 'Kerberos', 'Negotiate'. A scheme that
  89. # is not known, or not supported, by the implementation is ignored.
  90. #
  91. # Note: This property is currently used by the JDK Reference implementation. It
  92. # is not guaranteed to be examined and used by other implementations.
  93. #
  94. #jdk.http.auth.proxying.disabledSchemes=
  95. jdk.http.auth.tunneling.disabledSchemes=Basic
  96. #
  97. # Transparent NTLM HTTP authentication mode on Windows. Transparent authentication
  98. # can be used for the NTLM scheme, where the security credentials based on the
  99. # currently logged in user's name and password can be obtained directly from the
  100. # operating system, without prompting the user. This property has three possible
  101. # values which regulate the behavior as shown below. Other unrecognized values
  102. # are handled the same as 'disabled'. Note, that NTLM is not considered to be a
  103. # strongly secure authentication scheme and care should be taken before enabling
  104. # this mechanism.
  105. #
  106. # Transparent authentication never used.
  107. #jdk.http.ntlm.transparentAuth=disabled
  108. #
  109. # Enabled for all hosts.
  110. #jdk.http.ntlm.transparentAuth=allHosts
  111. #
  112. # Enabled for hosts that are trusted in Windows Internet settings
  113. #jdk.http.ntlm.transparentAuth=trustedHosts
  114. #
  115. jdk.http.ntlm.transparentAuth=disabled