CIC iSign Version 1.2

iSignServlet
Class iSignServlet

java.lang.Object
  |
  +--HttpServlet
        |
        +--iSignServlet.iSignServlet

public class iSignServlet
extends HttpServlet

This demo servlets works together with the 'EnrollDemo.html' html page, which form elements are referenced here. Note that 'iws' is the root directory of the JavaServer we use for demonstration purpose. The functionality of this servlet is the following: On the client side, a user template is created through the enrollment process. The template is converted to a text string and than transmitted through HTML-Form TEXT field to the doPost function in this servlet, when the user pressed the sendRequest bitton. User name an d template are read out of these fields, a file name is created from the user name and the template is saved under this name. A HTML page with the status of this opperation is created and send back. The user can now use the 'VerifyDemo1.html' page to test the verification process. Instead of saving the template to file, it should get stored with other user data into a database for later use.

See Also:
Serialized Form

Constructor Summary
iSignServlet()
           
 
Method Summary
 void destroy()
          Clean up resources
 void doGet(HttpServletRequest request, HttpServletResponse response)
          Process the HTTP Get request Note: not used in this demo servlet
 void doPost(HttpServletRequest request, HttpServletResponse response)
          Process the HTTP Post request The return status is written into plain text with the following meaning: 0 = error 1 = need more signatures 2 = enrollment complete
 void init(ServletConfig config)
          Initialize global variables
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

iSignServlet

public iSignServlet()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Initialize global variables

ServletException

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws ServletException,
                  java.io.IOException
Process the HTTP Get request Note: not used in this demo servlet

ServletException
java.io.IOException

doPost

public void doPost(HttpServletRequest request,
                   HttpServletResponse response)
            throws ServletException,
                   java.io.IOException
Process the HTTP Post request The return status is written into plain text with the following meaning: 0 = error 1 = need more signatures 2 = enrollment complete

ServletException
java.io.IOException

destroy

public void destroy()
Clean up resources


CIC iSign Version 1.2