|
CIC iSign Version 1.2 | ||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||
java.lang.Object
|
+--HttpServlet
|
+--iSignServlet.iSignServlet
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.
| 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 |
public iSignServlet()
| Method Detail |
public void init(ServletConfig config)
throws ServletException
ServletException
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
java.io.IOException
ServletException
java.io.IOException
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
java.io.IOException
ServletException
java.io.IOExceptionpublic void destroy()
|
CIC iSign Version 1.2 | ||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||