Each platform (Windows
,
Mac OS X
and
Unix/Linux
)
has its own method of running the web
browsers, of detecting which browsers are installed, and of discovering which
is the system default. All platforms share a list of known browsers, however,
which is defined in browsers.properties
. Generally, only these
browsers can be invoked.
For client-side SSL authentication, it may be needed to install a certificate
and corresponding private key into the browser. This is done by the method
IBrowsers.installPKCS12(java.lang.String, java.io.File)
, which expects a
PKCS#12 file to import from.
After this, you can use
IBrowsers.openUrl(java.lang.String)
to open a HTTPS page.
Interface | Description |
---|---|
IBrowsers |
Interface to a system web browser.
|
Class | Description |
---|---|
BrowserFactory |
Retrieves the
IBrowsers instance for the current platform. |
BrowserTool |
Command-line tool to open a web browser and install a PKCS#12 file
into a browser's certificate store.
|
Copyright © 2010-2018 Nikhef / Stichting FOM. All Rights Reserved.