SWE 432 Homework 11
Fall 2008
JSP : Simple access control
Due Friday 12/1


Any society that would give up a little liberty to gain a little security will deserve neither and lose both.
- Benjamin Franklin

The last step to your project is to add some simple access control security. Include access control by asking for login information and establishing a login in the session object. Use the example shown in class as a template. Your application should ask for a username and password before letting the user save course schedule data or view the course schedule.

Extra Credit: Allow for multiple users. The data for each user should be in a different file. Use the user name as part of the file name.

You may change your data form, your servlet, or your file format if you wish.

This homework assignment can be done with one partner. If you work with a partner, submit the assignment on both websites and have both names on your program.

Your JSP will be graded on correctness, programming style, and also on the readability and maintainability of the HTML that it produces.

Submission

Submit the program by (1) placing a link on your class web site to the JSP on the server (2) placing a link on your class web site to the the servlet executable file on the server, and (3) by emailing the JSP and any Java source file(s) to the TA. Both must be submitted before the deadline to be on time.

IMPORTANT PROCESS CONSTRAINTS:

  1. Leave your homework 10 submission as it was! If you modify your servlet or JSP, create a new servlet file for this program with a different name. Also, use a different file name.
  2. The name of your JSP must start with your user name (e.g., upraphamH11.jsp).
  3. Make sure your last name is on every HTML page and programming artifact so we know who it belongs to – even if we print.
  4. If you finish the assignment late, you need to send email to me and the TA to tell us when to grade it. This is your responsibility !