Updated the way the tests are done: delegate the running of the tests to a
single target, which prevents code duplication. Also, when the tests are
finished, prepare a simple textual report telling the user what went wrong
and what was run at all.
integration-test/project.properties:
Use properties to determine the version number of the product to use.
Added tests for Catalina 4.1, in addition to 5.
Generate HTML reports of the test run.
Changed the way the Clover report is generated.
Used the existing targets, instead of having to maintain two different sets
of targets to build with or without Clover.
Changed order of target dependencies for clover.tests so that instrumented
classes are built before the test classes.
Removed the separate target folder for instrumented classes. If a separate
target folder is used, separate classpaths are required when testing with
Clover than when not using Clover.
* project.properties:
Removed the target.clover.dir property definition.
Updated clover.dbdir to put the DB somewhere safe.
Set clover.excluded so as not instrument the test classes themselves.
Update the way the contacts.war file is built:
1. Grab the necessary libraries from the project's lib/ folder.
2. Remove temporary staging area for WEB-INF/lib/ folder.
3. Delete the contacts.war file at all times, so a fresh
baked copy is always made.
Also renamed project, and changed usage message.
Declare access to the Acegi authz taglib.
* samples/contacts/war/WEB-INF/jsp/index.jsp:
Use the Acegi authz taglib to protect access to the
delete link for users which have the ROLE_SUPERVISOR.
Modified to create an acegi-taglib.jar.
* project.properties:
Added new property to build acegi-taglib.jar.
* src/net/sf/acegisecurity/taglibs/authz.tld:
Declare the Acegi Security authz tag library.
* test/net/sf/acegisecurity/taglibs/authz/AuthorizeTagTests.java,
test/net/sf/acegisecurity/taglibs/authz/AuthorizeTagAttributeTests.java:
A set of tests that force the creation of a javax.servlet.jsp.Tag
implementation that authorizes the output of the tag's body if the
request's principal has or doesn't have certain authorities.
* src/net/sf/acegisecurity/taglibs/authz/AuthorizeTag.java:
New class. Implements AuthorizeTagTests and
AuthorizeTagAttributeTests.