Commit Graph

36 Commits

Author SHA1 Message Date
Colin Sampaleanu
41a837f8cd add back HSQL db in test dir, as it turns out _it is_ supposed to be in CVS
modify JdbcDaoTests to test for role prefix functionality
fix glitch in JdbcDaoImpl
modify Eclipse classpath so HSQL lib is loaded, so unit tests can run in Eclipse as well.
2004-04-15 03:34:18 +00:00
Colin Sampaleanu
a09f2a4c18 ant format seems to have reformated these differently than what is in CVS 2004-04-13 21:59:02 +00:00
Ben Alex
f1abf780b5 Add support for HTTP Basic Authentication. 2004-04-11 12:09:08 +00:00
Ben Alex
bd35a47233 Support configuration via Apache Ant paths (not only regular expressions). 2004-04-09 09:51:23 +00:00
Ben Alex
5488bf4ca8 Renamed to RegExpBasedFilterDefinitionMapTests. 2004-04-09 09:49:07 +00:00
Ben Alex
7eefbd3bb2 Update to use contextConfigLocation. 2004-04-09 05:41:42 +00:00
Colin Sampaleanu
6c26e79a0f change AuthenticationProcessingFilter and SecurityEnforcementFilter to use Spring's WebApplicationContextUtils by defualt to find their config context. 2004-04-09 02:44:17 +00:00
Francois Beausoleil
ea0e6b2577 * test/net/sf/acegisecurity/taglibs/authz/AuthorizeTagAttributeTests.java,
src/net/sf/acegisecurity/taglibs/authz/AuthorizeTag.java:
  Added three new tests to assert that whitespace is ignored in the
  attribute's content.
2004-04-02 20:59:16 +00:00
Ben Alex
1b1d119836 Modifications consistent with changes to the objects being tested. 2004-04-02 12:20:41 +00:00
Ben Alex
a278db8df9 Functionality moved to new tests or mocks. 2004-04-02 12:18:58 +00:00
Ben Alex
eaffc00fc4 Initial commit. 2004-04-02 12:16:39 +00:00
Ben Alex
c220ff583c Initial commit. 2004-03-29 13:36:45 +00:00
Ben Alex
0a17d65d37 Initial commit. 2004-03-29 02:49:51 +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
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
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
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