Ben Alex
ea05e0b931
Simplified sub-class usage. Made compatible with changes to User constructor.
2004-03-29 02:48:10 +00:00
Ben Alex
1b726825fa
Changed internals to use list instead of set, to preserve element ordering.
2004-03-28 12:19:13 +00:00
Ben Alex
adb1971873
Enhancements to detect errors and faciltiate easier testing.
2004-03-28 12:17:46 +00:00
Ben Alex
d59a5da321
Changed to not detect null returns, as the UserMap will now throw the UsernameNotFoundException.
2004-03-28 12:16:44 +00:00
Ben Alex
f203979237
Update to be compatible to changes made to User's no-arg constructor.
2004-03-28 12:15:11 +00:00
Ben Alex
489c941101
Improved detection of invalid parameters in constructors.
2004-03-28 12:14:11 +00:00
Ben Alex
3179f5f1e7
Fixed support for lowercase usernames and passwords.
2004-03-28 12:10:23 +00:00
Ben Alex
1573491fbe
Changed no-arg constructor to a form more suitable for unit testing.
2004-03-28 12:09:35 +00:00
Ben Alex
cab961bfa6
Enhanced equals() method.
2004-03-28 12:08:20 +00:00
Ben Alex
cff8894b99
Changed interface to extend Context. This provides interface-level compatibility with objects requiring a Context, rather than requiring implementations to also implement Context.
2004-03-28 12:07:34 +00:00
Ben Alex
c5951ff1c0
Changed no-arg constructor to a form more suitable for unit testing.
2004-03-28 12:02:41 +00:00
Ben Alex
3fa1534c94
Added license information.
2004-03-28 11:58:37 +00:00
Ben Alex
4b1e738bb5
Minor formatting changes.
2004-03-28 11:57:55 +00:00
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
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
e153a54406
Expand test coverage.
2004-03-26 12:20:54 +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
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
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
Ben Alex
c3507b26c9
Change to Apache License version 2.0.
2004-03-23 04:44:48 +00:00
Ben Alex
47a2d03429
Added tearDown() method to clear ContextHolder.
2004-03-23 00:35:43 +00:00
Francois Beausoleil
48b21524ed
* build.xml:
...
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.
2004-03-22 16:42:53 +00:00
Ben Alex
35fe1e7b73
Initial commit.
2004-03-16 23:57:17 +00:00