28 | | As one feedback from FDO API and WMS/WFS provider users, a number of requests have arisen regarding access to Web Services, such as WMS and WFS, through a proxy server. A proxy server acts as an intermediary between an internal network (Intranet) and the Internet, transiting the remote data package to the internal client. |
29 | | Currently, WMS/WFS FDO providers have a workaround to support proxy setting, which is provided by the libcurl library. It reads the proxy settings defined in the system variables. This is not good for the provider users, especially for the API users. The better way is to expose one entry in the provider to let user set the proxy information before opening a connection. This can be done by enhancing and expanding the connection parameter list that each provider supports. And then pass these values into OWS component. The OWS component will define proxy setting via libcurl API if the proxy values aren’t null. |
30 | | Libcurl library has already proxy setting capability, so what we need to do is to expose it via FDO API, and enhance the delegate classes for both WMS/WFS providers. |
| 28 | As one feedback from FDO API and WMS/WFS provider users, a number of requests have arisen regarding access to Web Services, such as WMS and WFS, through a proxy server. A proxy server acts as an intermediary between an internal network (Intranet) and the Internet, transiting the remote data package to the internal client. Currently, WMS/WFS FDO providers have a workaround to support proxy setting, which is provided by the libcurl library. It reads the proxy settings defined in the system variables. This is not good for the provider users, especially for the API users. The better way is to expose one entry in the provider to let user set the proxy information before opening a connection. This can be done by enhancing and expanding the connection parameter list that each provider supports. And then pass these values into OWS component. The OWS component will define proxy setting via libcurl API if the proxy values aren’t null. Libcurl library has already proxy setting capability, so what we need to do is to expose it via FDO API, and enhance the delegate classes for both WMS/WFS providers. |
48 | | ||Name|| ProxyServerPort|| |
49 | | ||LocalizedName ||ProxyServerPort(English)|| |
50 | | ||DefaultValue |||| |
51 | | ||IsRequired ||No|| |
52 | | ||IsProtected ||No|| |
53 | | ||IsEnumerable ||No|| |
54 | | ||IsFileName ||No|| |
55 | | ||IsFilePath ||No|| |
56 | | ||IsDatastoreName ||No|| |
57 | | The ProxyServerPort property specifies the port of the user-specified proxy server that will be used to connect to the Internet. If set, it must be used in conjunction with the ProxyServerName parameter. |
| 35 | ||Name|| !ProxyServerName|| |
| 36 | ||!LocalizedName ||!ProxyServerName (English)|| |
| 37 | ||!DefaultValue |||| |
| 38 | ||!IsRequired ||No|| |
| 39 | ||!IsProtected ||No|| |
| 40 | ||!IsEnumerable ||No|| |
| 41 | ||!IsFileName ||No|| |
| 42 | ||!IsFilePath ||No|| |
| 43 | ||!IsDatastoreName ||No|| |
| 44 | |
| 45 | The !ProxyServerName property specifies the name of a user specified proxy server that will be used to make the connection to the external web service. This could be a host name or an IP address. |
60 | | ||Name|| ProxyServerUsername|| |
61 | | ||LocalizedName ||ProxyServerUsername(English)|| |
62 | | ||DefaultValue |||| |
63 | | ||IsRequired ||No|| |
64 | | ||IsProtected ||No|| |
65 | | ||IsEnumerable ||No|| |
66 | | ||IsFileName ||No|| |
67 | | ||IsFilePath ||No|| |
68 | | ||IsDatastoreName ||No|| |
69 | | The ProxyServerUsername property specifies the username to be used when connecting to a user-specified proxy server. If set, it must be used in conjunction with the ProxyServerName and ProxyServerPassword parameters. |
| 48 | ||Name|| !ProxyServerPort|| |
| 49 | ||!LocalizedName ||!ProxyServerPort(English)|| |
| 50 | ||!DefaultValue |||| |
| 51 | ||!IsRequired ||No|| |
| 52 | ||!IsProtected ||No|| |
| 53 | ||!IsEnumerable ||No|| |
| 54 | ||!IsFileName ||No|| |
| 55 | ||!IsFilePath ||No|| |
| 56 | ||!IsDatastoreName ||No|| |
| 57 | |
| 58 | The !ProxyServerPort property specifies the port of the user-specified proxy server that will be used to connect to the Internet. If set, it must be used in conjunction with the !ProxyServerName parameter. |
72 | | ||Name|| ProxyServerPassword|| |
73 | | ||LocalizedName ||ProxyServerPassword(English)|| |
74 | | ||DefaultValue |||| |
75 | | ||IsRequired ||No|| |
76 | | ||IsProtected ||No|| |
77 | | ||IsEnumerable ||No|| |
78 | | ||IsFileName ||No|| |
79 | | ||IsFilePath ||No|| |
80 | | ||IsDatastoreName ||No|| |
81 | | The ProxyServerPassword property specifies the password to be used when connecting to a user-specified proxy server. If set, it must be used in conjunction with the ProxyServerName and ProxyServerPassword parameters. |
82 | | When user wants to use some proxy server for one provider, the proxy information should be set in the connection information before opening the remote WMS/WFS connection. |
83 | | Accordingly, the relevant delegates in WMS and WFS should also be updated to enhance their constructors to accept the proxy settings. |
| 61 | ||Name|| !ProxyServerUsername|| |
| 62 | ||!LocalizedName ||!ProxyServerUsername(English)|| |
| 63 | ||!DefaultValue |||| |
| 64 | ||!IsRequired ||No|| |
| 65 | ||!IsProtected ||No|| |
| 66 | ||!IsEnumerable ||No|| |
| 67 | ||!IsFileName ||No|| |
| 68 | ||!IsFilePath ||No|| |
| 69 | ||!IsDatastoreName ||No|| |
85 | | For FdoWmsDelegate class: |
| 71 | The !ProxyServerUsername property specifies the username to be used when connecting to a user-specified proxy server. If set, it must be used in conjunction with the !ProxyServerName and !ProxyServerPassword parameters. |
| 72 | |
| 73 | ||'''Property'''|| '''Value'''|| |
| 74 | ||Name|| !ProxyServerPassword|| |
| 75 | ||!LocalizedName ||!ProxyServerPassword(English)|| |
| 76 | ||!DefaultValue |||| |
| 77 | ||!IsRequired ||No|| |
| 78 | ||!IsProtected ||No|| |
| 79 | ||!IsEnumerable ||No|| |
| 80 | ||!IsFileName ||No|| |
| 81 | ||!IsFilePath ||No|| |
| 82 | ||!IsDatastoreName ||No|| |
| 83 | |
| 84 | The !ProxyServerPassword property specifies the password to be used when connecting to a user-specified proxy server. If set, it must be used in conjunction with the !ProxyServerName and !ProxyServerPassword parameters. |
| 85 | When user wants to use some proxy server for one provider, the proxy information should be set in the connection information before opening the remote WMS/WFS connection. Accordingly, the relevant delegates in WMS and WFS should also be updated to enhance their constructors to accept the proxy settings. |
| 86 | |
| 87 | For !FdoWmsDelegate class: |