Commit Graph

2509 Commits

Author SHA1 Message Date
Ben Alex b06833e0d7 Unit tests must be named *Tests (note the plural). 2004-04-18 11:55:49 +00:00
Ben Alex 5dbef97a1d Expand unit test coverage. 2004-04-18 11:54:51 +00:00
Ben Alex ff38767efd Update to refer to new static location of ACEGI_SECURITY_LAST_EXCEPTION_KEY. 2004-04-18 11:37:57 +00:00
Ben Alex 5b16c42e15 Enhance mock so it is told whether to grant or deny access. 2004-04-18 11:35:24 +00:00
Ben Alex f38ed01b29 Detect nulls within GrantedAuthority[] passed to constructor. This ensures end-user DAO implementations are creating the User correctly. 2004-04-18 11:23:01 +00:00
Ben Alex a0f809991d JavaDoc updates. 2004-04-18 05:56:07 +00:00
Colin Sampaleanu 3ceb492cb2 move password encoder tests to proper packages.
rename saltSource param in PasswordEncoder interfce to salt. It was already called salt in subclasses, and is in fact supposed to be the salt, not the source for the salt, although depending on the implementation it may still be treated as the latter.
2004-04-17 02:18:46 +00:00
Ben Alex da5101cfb4 Make salt sources pluggable. 2004-04-17 01:29:52 +00:00
Ben Alex 03efc3e51f Improve JavaDocs. 2004-04-17 01:28:38 +00:00
Ben Alex ae16d96121 Moved to net.sf.acegisecurity.providers.encoding. 2004-04-17 01:28:05 +00:00
Ben Alex 6815e693a7 Make SecurityEnforcementFilter support pluggable authentication entry points. Enhance BASIC authentication so it's a viable alternative to form-based authentication for user agents like IE and Netscape. 2004-04-16 14:22:15 +00:00
Ben Alex 7e85bbc054 Relaxed requirement so targetClass OR targetBean can be used (targetBean no longer requires targetClass to be specified as well). 2004-04-16 12:37:58 +00:00
Ben Alex 38835da164 Provide a proxy so filters can be loaded directly from the application context. 2004-04-16 06:31:48 +00:00
Ben Alex 7b59d5f189 Expand test coverage now that prefix is configurable. 2004-04-16 06:28:21 +00:00
Ben Alex 239370ab96 Initial commit. 2004-04-16 06:25:57 +00:00
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 547b1ff4e3 remove test data that somehow got checked into CVS 2004-04-14 03:39:30 +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 7ae1844130 Improve client application by moving username/password specification to command-line. 2004-04-11 13:14:19 +00:00
Ben Alex 66e8d741ca Expand Contacts sample application to use Hessian and Burlap remoting. 2004-04-11 12:15:00 +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 7387c7f231 Remove unnecessary logging statements. 2004-04-11 12:04:25 +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 b6edc4e370 Increase version number to 0.5. 2004-04-09 09:46:26 +00:00
Ben Alex 73eab1e6ad Add Colin. 2004-04-09 05:51:26 +00:00
Ben Alex 7f9d7520f6 Remove duplication with contacts-servlet.xml. 2004-04-09 05:48:41 +00:00
Ben Alex 1d225f8891 Changed filters to use ContextLoaderListener. 2004-04-09 05:42:43 +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
Ben Alex 7bb4f14849 Update for version 0.4. 2004-04-03 05:49:36 +00:00
Ben Alex 1fafde9cbb Update for version 0.4. 2004-04-03 05:37:20 +00:00
Ben Alex b1a3f8b182 Provide authentication failure reason to user. 2004-04-03 05:35:40 +00:00
Ben Alex c9a389e1ea Add case insensitive command. 2004-04-03 05:34:18 +00:00
Francois Beausoleil 07e9652ce1 * docs/reference/src/index.xml:
Fleshed out the taglib reference section.
2004-04-02 21:12:25 +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 fb753bde38 Initial commit. 2004-04-02 12:30:05 +00:00
Ben Alex c0364f6bb8 Remove JDBC authentication tests from to-do list. 2004-04-02 12:24:36 +00:00
Ben Alex 0a62c4e35a Add reference to Ant-Contrib project. 2004-04-02 12:23:47 +00:00
Ben Alex dd6b717618 Add new packages to JARs being built. 2004-04-02 12:23:31 +00:00
Ben Alex eefc6b1bd5 Add Jakarta ORO to classpath. 2004-04-02 12:22:20 +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