734dd387c6
Moved to classes directory.
Ben Alex
2004-03-30 04:39:48 +00:00
6f0f9650a0
Corrected class name of Resin Container Adapter.
Ben Alex
2004-03-30 03:58:45 +00:00
b886390a3f
Added method to support unit testing, and made class more robust to null conditions.
Ben Alex
2004-03-29 13:41:10 +00:00
dd39d747d5
Improved documentation and added methods to facilitate unit testing.
Ben Alex
2004-03-29 13:39:30 +00:00
922461d19a
Removed MockPrincipal inner class as MockPrincipal is now a full class.
Ben Alex
2004-03-29 13:38:16 +00:00
c220ff583c
Initial commit.
Ben Alex
2004-03-29 13:36:45 +00:00
4091550764
Modified JUnit tests use "test" as working directory, in order to pick up HSQLDB database files.
Ben Alex
2004-03-29 02:51:44 +00:00
0a17d65d37
Initial commit.
Ben Alex
2004-03-29 02:49:51 +00:00
ea05e0b931
Simplified sub-class usage. Made compatible with changes to User constructor.
Ben Alex
2004-03-29 02:48:10 +00:00
b332c3bc03
Modified to ignore case sensitivity, as per the DAO Authentication Provider interface contract.
Ben Alex
2004-03-29 02:46:48 +00:00
01bde16347
Updated to refer to required Tomcat 4 ZIP file.
Ben Alex
2004-03-29 00:47:09 +00:00
ec491d8112
Changed to not delete destination directories, as doing so also removes the CVS sub-directory.
Ben Alex
2004-03-28 12:46:09 +00:00
3bd4b20594
Add classes to JBoss and Catalina extractions in order to support new unit tests.
Ben Alex
2004-03-28 12:42:37 +00:00
1b726825fa
Changed internals to use list instead of set, to preserve element ordering.
Ben Alex
2004-03-28 12:19:13 +00:00
adb1971873
Enhancements to detect errors and faciltiate easier testing.
Ben Alex
2004-03-28 12:17:46 +00:00
d59a5da321
Changed to not detect null returns, as the UserMap will now throw the UsernameNotFoundException.
Ben Alex
2004-03-28 12:16:44 +00:00
f203979237
Update to be compatible to changes made to User's no-arg constructor.
Ben Alex
2004-03-28 12:15:11 +00:00
489c941101
Improved detection of invalid parameters in constructors.
Ben Alex
2004-03-28 12:14:11 +00:00
3179f5f1e7
Fixed support for lowercase usernames and passwords.
Ben Alex
2004-03-28 12:10:23 +00:00
1573491fbe
Changed no-arg constructor to a form more suitable for unit testing.
Ben Alex
2004-03-28 12:09:35 +00:00
cab961bfa6
Enhanced equals() method.
Ben Alex
2004-03-28 12:08:20 +00:00
cff8894b99
Changed interface to extend Context. This provides interface-level compatibility with objects requiring a Context, rather than requiring implementations to also implement Context.
Ben Alex
2004-03-28 12:07:34 +00:00
71a0faf829
Enhanced error detection at startup time. Changed no-arg constructor to better support unit testing. JavaDoced method.
Ben Alex
2004-03-28 12:05:12 +00:00
c5951ff1c0
Changed no-arg constructor to a form more suitable for unit testing.
Ben Alex
2004-03-28 12:02:41 +00:00
68ee9aaabb
Enhanced error detection at startup time. Added support for handling null usernames and passwords.
Ben Alex
2004-03-28 12:01:51 +00:00
2e1b4b4ffc
Changes to support testing, and enhanced error detection at startup time.
Ben Alex
2004-03-28 12:00:21 +00:00
3fa1534c94
Added license information.
Ben Alex
2004-03-28 11:58:37 +00:00
4b1e738bb5
Minor formatting changes.
Ben Alex
2004-03-28 11:57:55 +00:00
8d24027443
Added debug statement at commencement of interception and additional comment re ContextHolder.
Ben Alex
2004-03-28 11:56:32 +00:00
cf043ad35f
Numerous formatting changes, and methods to facilitate unit testing.
Ben Alex
2004-03-28 11:54:10 +00:00
dc6357d504
Improved JavaDocs.
Ben Alex
2004-03-28 11:51:23 +00:00
22b8be49f0
Changed no-arg constructor to a form more suitable for unit testing. Also added an equals() method.
Ben Alex
2004-03-28 11:49:24 +00:00
dcf78213a3
Corrected @author tag.
Ben Alex
2004-03-28 11:48:35 +00:00
4124b1c298
Changed internals to use list instead of set, to preserve element ordering.
Ben Alex
2004-03-28 11:44:02 +00:00
fe379d9712
Initial commit.
Ben Alex
2004-03-28 11:41:20 +00:00
6c5a5cd311
No longer required.
Ben Alex
2004-03-28 11:40:29 +00:00
8808f5e8dd
Expanded unit test coverage.
Ben Alex
2004-03-28 11:39:38 +00:00
6038d56ece
Expanded unit test coverage, moving relevant methods to AbstractAdapterAuthenticationTokenTests.
Ben Alex
2004-03-28 11:35:35 +00:00
bc847f564f
Expanded unit test coverage.
Ben Alex
2004-03-28 11:31:22 +00:00
6a2870d8f0
No longer required.
Ben Alex
2004-03-28 11:29:10 +00:00
91432bc78b
Various changes, mostly related to Clover coverage reports.
Ben Alex
2004-03-28 11:28:00 +00:00
57fd086f09
Update license.
Ben Alex
2004-03-28 11:25:40 +00:00
99a393e7c8
Update license, and fix issue with execute target.
Ben Alex
2004-03-28 11:23:57 +00:00
7e275de263
Removed leading slash, for compatibility with file existence checking at container adapter startup.
Ben Alex
2004-03-28 11:23:08 +00:00
ab01d829c5
Initial commit.
Ben Alex
2004-03-27 00:46:50 +00:00
14f27ae683
Make compatible with interface changes to aopalliance.jar.
Ben Alex
2004-03-27 00:44:27 +00:00
e3dc29ae96
No longer required.
Ben Alex
2004-03-27 00:43:12 +00:00
94e384b944
Expand test coverage.
Ben Alex
2004-03-26 13:17:48 +00:00
83b5cb0919
Initial commit.
Ben Alex
2004-03-26 12:22:16 +00:00
e153a54406
Expand test coverage.
Ben Alex
2004-03-26 12:20:54 +00:00
e61427ec6c
Made no arg constructor protected to enable unit test coverage.
Ben Alex
2004-03-26 12:17:34 +00:00
02559344bc
Expand test coverage.
Ben Alex
2004-03-26 12:02:30 +00:00
1a040c7ddf
Made no arg constructor protected to enable unit test coverage.
Ben Alex
2004-03-26 11:51:47 +00:00
b4273c62b7
Expand test coverage.
Ben Alex
2004-03-26 11:49:43 +00:00
a8c9b2c96f
No longer required.
Ben Alex
2004-03-26 11:18:44 +00:00
22272223d2
Initial commit.
Ben Alex
2004-03-26 11:12:54 +00:00
f7a82c29b3
Expand test coverage.
Ben Alex
2004-03-26 11:12:08 +00:00
b485c40175
Improve JavaDocs.
Ben Alex
2004-03-26 11:05:55 +00:00
a9569a2f60
Added equals() method.
Ben Alex
2004-03-26 11:05:10 +00:00
ae434bd8b3
Initial commit.
Ben Alex
2004-03-26 11:03:36 +00:00
3be51093bb
* integration-test/container-configs/catalina-4.1.30/server.xml : Added missing configuration file to run the tests.
Francois Beausoleil
2004-03-24 19:37:21 +00:00
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.
Francois Beausoleil
2004-03-24 19:35:47 +00:00
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.
Francois Beausoleil
2004-03-24 18:35:06 +00:00
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.
Francois Beausoleil
2004-03-24 18:33:19 +00:00
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.
Francois Beausoleil
2004-03-23 18:16:40 +00:00
cd2727b85b
* build.xml: Delete generated taglib before making a new one.
Francois Beausoleil
2004-03-23 17:44:26 +00:00
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.
Francois Beausoleil
2004-03-23 17:38:41 +00:00
36a955e197
* test/net/sf/acegisecurity/taglibs/authz/AuthorizeTagTests.java: Removed testUsesAllAuthoritiesToDetermineAccess(), because it wasn't asserting anything. Needs to be rewritten.
Francois Beausoleil
2004-03-23 17:33:47 +00:00
d8275171e4
* test/net/sf/acegisecurity/taglibs/authz/AuthorizeTagTests.java: Bring Clover coverage to 100% by adding a single test.
Francois Beausoleil
2004-03-23 17:28:10 +00:00
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.
Francois Beausoleil
2004-03-23 17:27:04 +00:00
95d7ac1bf3
* samples/contacts/src/sample/contact/ContactManagerBackend.java: Clean up how the contacts are returned. Do not create unnecessary objects.
Francois Beausoleil
2004-03-23 17:25:34 +00:00
c3507b26c9
Change to Apache License version 2.0.
Ben Alex
2004-03-23 04:44:48 +00:00
3a72fc6bb9
Add Clover instrumentation.
Ben Alex
2004-03-23 04:28:55 +00:00
2c0aae03a7
Add Clover instrumentation.
Ben Alex
2004-03-23 04:23:17 +00:00
a6e9c3faee
Correct typo.
Ben Alex
2004-03-23 02:10:35 +00:00
4cef58a290
Add Clover instrumentation.
Ben Alex
2004-03-23 02:07:59 +00:00
ac45efedac
Reflect addition of taglib.
Ben Alex
2004-03-23 02:03:47 +00:00
47a2d03429
Added tearDown() method to clear ContextHolder.
Ben Alex
2004-03-23 00:35:43 +00:00