VirtualBox

Ignore:
Timestamp:
Sep 24, 2018 9:16:17 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
125272
Message:

Main,GUI,VBoxManage: Provide API for proxy settings that picks up the current GUI settings and converts it to SystemProperties XML attributes. Adjusted GUI to use it. Updated VBoxMangage system properties handling accordingly. bugref:9249

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r74186 r74431  
    99129912  -->
    99139913
     9914  <enum name="ProxyMode" uuid="885264b3-b517-40fc-ce46-36e3bae895a4">
     9915    <desc> Proxy setting: System (default), NoProxy and Manual. <link to="ISystemProperties::proxyMode"/></desc>
     9916    <const name="System" value="0">
     9917      <desc>Use the system proxy settings as far as possible.</desc>
     9918    </const>
     9919    <const name="NoProxy" value="1">
     9920      <desc>Direct connection to the Internet.</desc>
     9921    </const>
     9922    <const name="Manual" value="2">
     9923      <desc>Use the manual proxy from <link to="ISystemProperties::proxyURL"/>.</desc>
     9924    </const>
     9925  </enum>
     9926
    99149927  <interface
    99159928    name="ISystemProperties"
    99169929    extends="$unknown"
    9917     uuid="0eb668d2-495e-5a36-8890-29999b5f030c"
     9930    uuid="d55176e5-6730-4e9e-fc1f-a59b1f44f78f"
    99189931    wsmap="managed"
    99199932    reservedMethods="4" reservedAttributes="16"
     
    1022610239        Supported bitmap formats which can be used with takeScreenShot
    1022710240        and takeScreenShotToArray methods.
     10241      </desc>
     10242    </attribute>
     10243
     10244    <attribute name="proxyMode" type="ProxyMode" readonly="no">
     10245      <desc> The proxy mode setting: System, NoProxy or Manual.</desc>
     10246    </attribute>
     10247    <attribute name="proxyURL" type="wstring" readonly="no">
     10248      <desc>
     10249       Proxy server URL for the <link to="ProxyMode::Manual" /> proxy mode.
     10250
     10251       The format is: [{type}"://"][{userid}[@{password}]:]{server}[":"{port}]
     10252
     10253       Valid types are: http (default), https, socks4, socks4a, socks5, socks5h and direct.
     10254       Please note that these are proxy types defining how the proxy operates rather than
     10255       how to proxy any similarly named protocol (i.e. don't confuse a http-proxy with
     10256       proxying the http protocol, as a http-proxy usually can proxy https and other protocols too).
     10257
     10258       The port number defaults to 80 for http, 443 for https and 1080 for the socks ones.
     10259
     10260       <note>The password is currently stored as plain text!  Use the <link to="ProxyMode::System" />
     10261       mode if you consider the proxy password to be sensitive.</note>
     10262
     10263       An empty string will cause the behavior to be identical to <link to="ProxyMode::System" />.
     10264       For compatibility with libproxy, an URL starting with "direct://" will cause
     10265       <link to="ProxyMode::NoProxy" /> behavior.
    1022810266      </desc>
    1022910267    </attribute>
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette