Homework 7
CS520, Fall 2011


Due: Thursday, December 1

Package all the source files of your project into a zip file using the zip Ant target you developed in Homework 1, and upload the zip file to CSNS. Note that file uploading will be disabled automatically after 11:59PM of the due date, so please turn in your work on time.

[Rubrics for CSNS2]

Continue to work on Rubrics for CSNS2 and implement the following functions. This assignment builds on top of your work in the previous assignments, so make sure that all the functions from the previous assignments work properly; otherwise you will not receive any credit.

1. Security (30pt)

Use the tools provided by Spring Security, i.e. URL security, access decision voters, security tag library and so on, to implement access control for rubrics. In particular:

Describe all the security measures you have implemented in a text file hw7.txt and submit it together with the project zip file.

2. Rubric Score Statistics (30pt)

If an assignment has rubric(s) associated with it, the View Submissions page should display a link "View Rubric Score Statistics" as shown in the image below.

[*]

When a user clicks on the link, the application should show the min, max, average, and median ratings for each rubric criterion. For instance:

CS520 Midterm

Rubric: Oral Communication

Number of scores: 3

Min Max Avg Median
Logical Organization 2 4 3 3
English Language 2 5 3.3 3
Technical Vocabulary 2 3 2.3 2

3. Extra Credit

[About Submission and Grading]

Before submitting your work, commit all the changes to your Subversion repository and create a tag.

To test your project, we will use the following SQL scripts in your zip file to create, populate, and then clear the database:

Please make sure that these scripts are up to date and can be run in their entirety without any errors.