Ben Alex
8d24027443
Added debug statement at commencement of interception and additional comment re ContextHolder.
2004-03-28 11:56:32 +00:00
Ben Alex
cf043ad35f
Numerous formatting changes, and methods to facilitate unit testing.
2004-03-28 11:54:10 +00:00
Ben Alex
dc6357d504
Improved JavaDocs.
2004-03-28 11:51:23 +00:00
Ben Alex
22b8be49f0
Changed no-arg constructor to a form more suitable for unit testing. Also added an equals() method.
2004-03-28 11:49:24 +00:00
Ben Alex
dcf78213a3
Corrected @author tag.
2004-03-28 11:48:35 +00:00
Ben Alex
4124b1c298
Changed internals to use list instead of set, to preserve element ordering.
2004-03-28 11:44:02 +00:00
Ben Alex
fe379d9712
Initial commit.
2004-03-28 11:41:20 +00:00
Ben Alex
6c5a5cd311
No longer required.
2004-03-28 11:40:29 +00:00
Ben Alex
8808f5e8dd
Expanded unit test coverage.
2004-03-28 11:39:38 +00:00
Ben Alex
6038d56ece
Expanded unit test coverage, moving relevant methods to AbstractAdapterAuthenticationTokenTests.
2004-03-28 11:35:35 +00:00
Ben Alex
bc847f564f
Expanded unit test coverage.
2004-03-28 11:31:22 +00:00
Ben Alex
6a2870d8f0
No longer required.
2004-03-28 11:29:10 +00:00
Ben Alex
91432bc78b
Various changes, mostly related to Clover coverage reports.
2004-03-28 11:28:00 +00:00
Ben Alex
57fd086f09
Update license.
2004-03-28 11:25:40 +00:00
Ben Alex
99a393e7c8
Update license, and fix issue with execute target.
2004-03-28 11:23:57 +00:00
Ben Alex
7e275de263
Removed leading slash, for compatibility with file existence checking at container adapter startup.
2004-03-28 11:23:08 +00:00
Ben Alex
ab01d829c5
Initial commit.
2004-03-27 00:46:50 +00:00
Ben Alex
14f27ae683
Make compatible with interface changes to aopalliance.jar.
2004-03-27 00:44:27 +00:00
Ben Alex
e3dc29ae96
No longer required.
2004-03-27 00:43:12 +00:00
Ben Alex
94e384b944
Expand test coverage.
2004-03-26 13:17:48 +00:00
Ben Alex
83b5cb0919
Initial commit.
2004-03-26 12:22:16 +00:00
Ben Alex
e153a54406
Expand test coverage.
2004-03-26 12:20:54 +00:00
Ben Alex
e61427ec6c
Made no arg constructor protected to enable unit test coverage.
2004-03-26 12:17:34 +00:00
Ben Alex
02559344bc
Expand test coverage.
2004-03-26 12:02:30 +00:00
Ben Alex
1a040c7ddf
Made no arg constructor protected to enable unit test coverage.
2004-03-26 11:51:47 +00:00
Ben Alex
b4273c62b7
Expand test coverage.
2004-03-26 11:49:43 +00:00
Ben Alex
a8c9b2c96f
No longer required.
2004-03-26 11:18:44 +00:00
Ben Alex
22272223d2
Initial commit.
2004-03-26 11:12:54 +00:00
Ben Alex
f7a82c29b3
Expand test coverage.
2004-03-26 11:12:08 +00:00
Ben Alex
b485c40175
Improve JavaDocs.
2004-03-26 11:05:55 +00:00
Ben Alex
a9569a2f60
Added equals() method.
2004-03-26 11:05:10 +00:00
Ben Alex
ae434bd8b3
Initial commit.
2004-03-26 11:03:36 +00:00
Francois Beausoleil
3be51093bb
* integration-test/container-configs/catalina-4.1.30/server.xml :
...
Added missing configuration file to run the tests.
2004-03-24 19:37:21 +00:00
Francois Beausoleil
d6877f8b71
* integration-test/build.xml:
...
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.
2004-03-24 19:35:47 +00:00
Francois Beausoleil
c0ff4bc552
* integration-test/build.xml,
...
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.
2004-03-24 18:35:06 +00:00
Francois Beausoleil
1e4c234ea7
* src/net/sf/acegisecurity/adapters/AutoIntegrationFilter.java:
...
Use reflection instead of hard-coding the values to determine
if we should integrate with a specific container implementation.
2004-03-24 18:33:19 +00:00
Francois Beausoleil
61b657318d
* build.xml:
...
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.
2004-03-23 18:16:40 +00:00
Francois Beausoleil
cd2727b85b
* build.xml:
...
Delete generated taglib before making a new one.
2004-03-23 17:44:26 +00:00
Francois Beausoleil
01f27e5210
* samples/contacts/build.xml:
...
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.
2004-03-23 17:38:41 +00:00
Francois Beausoleil
36a955e197
* test/net/sf/acegisecurity/taglibs/authz/AuthorizeTagTests.java:
...
Removed testUsesAllAuthoritiesToDetermineAccess(), because it wasn't
asserting anything. Needs to be rewritten.
2004-03-23 17:33:47 +00:00
Francois Beausoleil
d8275171e4
* test/net/sf/acegisecurity/taglibs/authz/AuthorizeTagTests.java:
...
Bring Clover coverage to 100% by adding a single test.
2004-03-23 17:28:10 +00:00
Francois Beausoleil
1490e8a707
* samples/contacts/src/sample/contact/SecureIndexController.java:
...
Prevent a NullPointerException when no SecureContext can be found.
Instead, throw a real exception, explaining what's wrong.
2004-03-23 17:27:04 +00:00
Francois Beausoleil
95d7ac1bf3
* samples/contacts/src/sample/contact/ContactManagerBackend.java:
...
Clean up how the contacts are returned. Do not create unnecessary
objects.
2004-03-23 17:25:34 +00:00
Ben Alex
c3507b26c9
Change to Apache License version 2.0.
2004-03-23 04:44:48 +00:00
Ben Alex
3a72fc6bb9
Add Clover instrumentation.
2004-03-23 04:28:55 +00:00
Ben Alex
2c0aae03a7
Add Clover instrumentation.
2004-03-23 04:23:17 +00:00
Ben Alex
a6e9c3faee
Correct typo.
2004-03-23 02:10:35 +00:00
Ben Alex
4cef58a290
Add Clover instrumentation.
2004-03-23 02:07:59 +00:00
Ben Alex
ac45efedac
Reflect addition of taglib.
2004-03-23 02:03:47 +00:00
Ben Alex
47a2d03429
Added tearDown() method to clear ContextHolder.
2004-03-23 00:35:43 +00:00