Running ContainerManagedAuthentication Sample Web Application

The ContainerManagedAuthentication sample demonstrates basic web container authentication with a PIN authenticator using JC-FORM with a Biometric password. This sample contains a web application that demonstrates running a servlet that requires user authentication to access a web page.

Running the ContainerManagedAuthentication sample consists of using the IDE to open the ContainerManagedAuthentication project, starting the application, and logging in on a web page by entering the name admin and password 1234.

Before You Begin

Before performing the following procedure, the Java Card 3 Development Kit, Connected Editon must be downloaded and installed on your development system.

The ContainerManagedAuthentication 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.


  1. Click File > Open Project in the main window.
  2. Go to the JC_CONNECTED_HOME\samples\web folder and open the ContainerManagedAuthentication project.
  3. Click the run button in the main window.

    The IDE compiles, builds, and runs the sample. When the sample runs the IDE launches the default browser.

  4. Click the AuthServlet hyperlink.
  5. Enter the following values in the login dialog:

    Login: admin

    Password: 1234

    The browser displays the protected page.

  6. Close the browser to stop the application.