This section describes the HTTPS protocol support in JBK Plugin.
The HTTPS protocol is the HTTP protocol secured with SSL (Secure Sockets Layer). The HTTPS protocol enables data encryption, client authentication and server authentication on the HTTP connection.
Currently, most Web servers and Web browsers supports the HTTPS protocol. JBK Plugin also supports the HTTPS protocol and enables to download applets from the Web server that uses the HTTPS protocol.
What Kind of Files Are the HTTPS Download Methods Applied to?
The HTTPS download methods are applied to the following files.These are the same as those of the usual HTTP download methods. See '2.3.6 How JBK Plugin Downloads Class Files', also.
Class files used in the applet (*.class)
JAR files for the applet (*.jar)
Property files used in the applet (*.properties)
Image files used in the applet (*.gif, *.jpg, and so on.)
Other files downloaded by the applet using the API of the java.net.URL class.
Specifying the HTTPS Download Method of the Applet
To specify the HTTPS download method, code the following line in the jbkplugin.properties file.
jbk.plugin.protocol.https=<https-download-method> |
As <https-download-method>, specify one of the following keywords:
Downloads the files by using Java networking class .Downloads the files by using JSSE (Java Secure Socket Extension).
Downloads the files by using the networking functionality of the browser.
If the browser is set to cache the file downloaded by the HTTPS protocol, it is cached in the browser cache directory. From the next time on, the file is loaded from the cache. For the detail of the browser cache and its setting, see the manual of the browser.
As the HTTPS proxy, JBK Plugin uses the proxy setting of the browser. For the detail of the proxy setting of the browser, see the manual of the browser.
Downloads the files by using both of the above two methods. In this method, class files and JAR files are downloaded by using the networking functionality of the browser, while the other files cannot be downloaded by the HTTPS protocol. By default, the HTTPS download method is set to hybrid.
The communication of the HTTPS protocol is supported by JSSE(Java Secure Socket Extension). Therefore, when "hybrid" is specified, it is possible to download it to files other than the class file and the JAR file by the HTTPS protocol.
Note
If SSL is disabled in the browser you are using, specifying native or hybrid for "jbk.plugin.protocol.https" does not result in downloading of applets in the HTTPS protocol. To download applets using the HTTPS protocol, enable SSL in the browser beforehand. For information about enabling and disabling SSL in your browser, see your browser's manual.
In Internet Explorer with "hybrid" or "native" specified in the parameter, the followings occur when a file connected by using java.net.URLConnection is cached in the browser:
The getHeaderFieldDate or getDate method will return 0.
The getHeaderField or getHeaderFieldKey method will not return the Server or Date field.
Example
Sample setting of HTTPS download method
jbk.plugin.protocol.https=native |