2874 Commits

Author SHA1 Message Date
Colin Sampaleanu
3d089aaa67 move and rename password encoding classes.
change saltSource arument to salt argument, which impl may or may not use.
2004-04-16 03:44:04 +00:00
Colin Sampaleanu
5d9d734735 more final version of the various PasswordEncoder implementations.
add unit tests for PasswordEncoder implementations.
remove ignore password case and ignore username case flags and handling from DaoAuthenticationProvider.
remove requirement described in JavaDoc for AuthenticationDao that it ignore case when returning a user by username. Implementations may still do so if configured as such.
2004-04-15 16:32:09 +00:00
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
18d5c59532 'ant format' strikes again. 2004-04-14 21:31:22 +00:00
Colin Sampaleanu
aed9d2a1d8 initial cut at allowing pluggable digest strategy for use in password handling in DaoAuthenticationProvider 2004-04-14 21:30:59 +00:00
Colin Sampaleanu
fad252b0fe allow special ROLE_ prefix to be overriden 2004-04-14 03:38:10 +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
Colin Sampaleanu
2786312b8e allow query strings to be specified
allow MappingSqlQuery to be specified
2004-04-13 21:58:03 +00:00
Ben Alex
f1abf780b5 Add support for HTTP Basic Authentication. 2004-04-11 12:09:08 +00:00
Ben Alex
670d007630 JavaDoc updates. 2004-04-11 12:05:46 +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
852cea437c Reflect new secure object API, which is no longer bound to MethodInvocations. 2004-04-02 12:13:56 +00:00
Ben Alex
f026b3a08a Documentation improvements. 2004-04-02 12:11:13 +00:00
Ben Alex
15588123ba Additional import statement. 2004-04-02 12:10:31 +00:00
Ben Alex
33edeb5a2f Moved to net.sf.acegisecurity.ui 2004-04-02 12:07:24 +00:00
Ben Alex
e54ad9b4e8 Reflect new secure object API, which is no longer bound to MethodInvocations. 2004-04-02 12:05:49 +00:00
Ben Alex
3ece12c386 Moved to net.sf.acegisecurity.intercept.method. 2004-04-02 12:03:18 +00:00
Ben Alex
738fd2161d Initial commit. 2004-04-02 12:02:01 +00:00
Ben Alex
dd39d747d5 Improved documentation and added methods to facilitate unit testing. 2004-03-29 13:39:30 +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
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