The StaticSecureWebHosting sample demonstrates secure hosting with user access on a static port. The sample contains one web application that accesses a secure website hosted on a static port defined by the sample’s manifest.mf file. Each time the application is run, access to the web site is made through this port.
Running the StaticSecureWebHosting sample consists of using the IDE to open the StaticSecureWebHosting project, starting the application, checking the website’s security certificate, displaying a web page, and entering information on that page.
Before performing the following procedure, the Java Card 3 Development Kit, Connected Editon must be downloaded and installed on your development system.
The StaticSecureWebHosting project is located under the JC_CONNECTED_HOME\samples\web folder.
Note - Refer to the Java Card 3 Platform Development Kit User’s Guide for additional details including screen captures.
The IDE compiles, builds, and runs the sample. When the sample runs, the IDE launches the default browser and displays the Secure hosting static port entry page.
Note - If the browser displays a warning that the security certificate is not issued by a trusted certificate authority, disregard it and continue to the web site. The security certificate for this sample is used for demonstration purposes only and cannot be used for developing deployable samples.If you are unable to continue to the web page, perform Accepting Untrusted Certificates.
The browser displays the static port web page.