net.properties 5.6 KB

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