168 Commits

Author SHA1 Message Date
Ray Krueger
e366c65d17 Almost forgot this piece of the jaas tests 2004-07-29 16:56:26 +00:00
Ray Krueger
3b284231da Increased test coverage of the .jaas package to 93.7% 2004-07-29 16:54:02 +00:00
Ben Alex
56829872b6 Initial commit of ACL capabilities. 2004-07-29 07:51:22 +00:00
Ben Alex
1cc46544ed Javadoc removal of warning. 2004-07-29 05:04:49 +00:00
Ben Alex
2426bb9e8e Make JdbcDaoTests use in-memory database. 2004-07-29 03:32:23 +00:00
Ben Alex
8c74d459c5 Delete files with old, non-Camel Case name. 2004-07-28 23:06:04 +00:00
Ray Krueger
f29e6763d4 Renamed all JAAS* classes to Jaas* 2004-07-28 15:03:03 +00:00
Ben Alex
3648073461 Fix EH-CACHE after web context refresh (patch thanks to Travis Gregg). 2004-07-26 22:56:00 +00:00
Ben Alex
d1fa12a312 Fix Javadocs warning. 2004-07-26 06:52:55 +00:00
Ben Alex
3f7f8e26fa Reduce setAuthentication scope now that it should only be called by AbstractAuthenticationManager. 2004-07-24 07:21:18 +00:00
Ben Alex
951c1a02df Store failed Authentication request in AuthenticationException, using template pattern (patch thanks to Wesley Hall). 2004-07-24 07:18:04 +00:00
Ben Alex
7ac3706eb9 Allow subclasses to add their own custom GrantedAuthority[]s. 2004-07-24 07:15:06 +00:00
Francois Beausoleil
3d23119b56 Following a suggestion from Scott Evans, added support for EL in the authz tag
library:
http://www.mail-archive.com/acegisecurity-developer%40lists.sourceforge.net/msg00189.html

* lib/spring/spring-mock.jar:
  Added Spring's 1.0.2 mock JAR.

* test/net/sf/acegisecurity/taglibs/authz/AuthorizeTagExpressionLanguageTests.java:
  New tests to assert that the taglib recognizes and parses EL expressions.

* src/net/sf/acegisecurity/taglibs/authz/AuthorizeTag.java:
  Implemented AuthorizeTagExpressionLanguageTests by using Spring's
  ExpressionEvaluationUtils.
2004-07-23 01:24:55 +00:00
Ben Alex
f798e56d75 Contribution by Wesley Hall to improve exception handling. 2004-07-22 04:56:17 +00:00
Ben Alex
2996d67b06 Fix bug related to detecting incorrect use of SecureContext property. 2004-07-21 02:04:42 +00:00
Ray Krueger
3e37b74e3f Added Javadoc to all classes 2004-07-19 19:42:14 +00:00
Ray Krueger
da7895087b Added correct @author and @version tags, more Javadocs to follow 2004-07-19 17:27:28 +00:00
Ray Krueger
3360e2d51a Added in javadoc 2004-07-19 17:24:38 +00:00
Ray Krueger
0c7a07e4db Adding in JAASAuthenticationProvider tests 2004-07-19 00:44:01 +00:00
Ray Krueger
1947819d73 Adding in JAASAuthenticationProvider support 2004-07-19 00:43:28 +00:00
Ben Alex
2f2b054b7a Resolve a Weblogic compatibility issue (patch thanks to Patrick Burleson). 2004-07-15 23:27:59 +00:00
Ben Alex
e3be8f20bb Refactor CasAuthoritiesPopulator to use UserDetails rather than GrantedAuthority[]. 2004-07-14 09:54:09 +00:00
Ben Alex
48b1cb7c85 Move UserDetails interface to net.sf.acegisecurity package. 2004-07-13 22:38:20 +00:00
Ben Alex
064cd3c7bf Add a getter for the context. 2004-07-13 22:10:52 +00:00
Ben Alex
8b9f02e2e7 Expand test coverage. 2004-07-13 02:01:58 +00:00
Ben Alex
491fb00ffd Make Authentication serializable (Weblogic support). 2004-07-12 22:40:33 +00:00
Ben Alex
957e28252e Log stack trace to assist debugging. 2004-07-08 21:50:42 +00:00
Ben Alex
2cb3703253 Relax restriction on empty Strings for proxy callback URL, as this should be an empty String if no proxy callback was requested during service ticket validation. 2004-07-03 00:47:46 +00:00
Luke Taylor
b957b5e25b Convert database URL to use absolute path. Fixes test with Maven. 2004-07-02 14:07:26 +00:00
Ben Alex
ce712eaccf Improve organisation of DaoAuthenticationProvider to facilitate subclassing. 2004-06-30 23:18:47 +00:00
Ben Alex
fe91639b15 Allow custom SecureContext implementations to be selected by user. 2004-06-29 23:28:59 +00:00
Ben Alex
6314aa4efa Refactor User to an interface. 2004-06-24 23:24:14 +00:00
Ben Alex
04dea9e403 Patch by Mark St.Godard to resolve issues with WebSphere 5. 2004-06-23 05:52:49 +00:00
Ben Alex
46f17bed79 Make isPasswordCorrect protected to facilitate subclass use. 2004-06-21 06:17:20 +00:00
Ben Alex
1a0bec5bf1 Make User available from Authentication via DaoAuthenticationProvider. 2004-06-21 06:10:14 +00:00
Ben Alex
27d89f3e91 Patch by Mike Youngstrom to fix Jameleon stripping of slash. 2004-06-17 01:23:13 +00:00
Ben Alex
b3e2d78c5d Fix issue when encoded passwords are used. Modify Contacts sample to test encoded passwords. 2004-06-08 12:54:42 +00:00
Ben Alex
b5cbcdc591 Refactor DaoAuthenticationProvider cache model. 2004-06-06 06:31:28 +00:00
Ben Alex
1b24ff5ea8 Refactor DaoAuthenticationProvider cache model. 2004-05-31 04:41:22 +00:00
Ben Alex
d9f77a7ed1 Initial commit. 2004-05-31 02:37:29 +00:00
Ben Alex
b6cb84e937 Improve robustness so if ApplicationContext not shutdown correctly (thus destroy() not called) the cache will not fail on subsequent startups. 2004-05-31 02:08:34 +00:00
Ben Alex
e300a90890 Improve test coverage. 2004-05-31 01:19:18 +00:00
Ben Alex
0cbea9b452 Improve HTTP redirect URL encoding. 2004-05-26 22:17:14 +00:00
Ben Alex
d5c14142d1 Add event capabilities. 2004-05-24 00:09:27 +00:00
Ben Alex
42ccbfbad7 Store additional information about the authentication request. 2004-05-24 00:06:54 +00:00
Ben Alex
b6e0c3076f Fixed issue with hot redeploy as cache not being closed. 2004-05-24 00:04:49 +00:00
Ben Alex
369ea24215 Extra mock functionality for new unit tests. 2004-05-24 00:02:09 +00:00
Ben Alex
3f6961d855 Improved exception handling if response already committed. 2004-05-23 23:57:29 +00:00
Francois Beausoleil
d5a6ea044d Implemented a fix for a NullPointerException as reported by Pierre-Antoine Gr�goire (pa.gregoire@free.fr)
"The error comes from line 115 in AuthorizeTag....It seems there's no control
for a null value here..."

* test/net/sf/acegisecurity/taglibs/authz/AuthorizeTagTests.java:
  Added a new test to confirm the existence of the bug.

* src/net/sf/acegisecurity/taglibs/authz/AuthorizeTag.java:
  And fixed the failing test.
2004-05-19 12:34:52 +00:00
Ben Alex
4cac2f1a62 Made serializable as per request by Mike Youngstrom. 2004-05-15 23:37:03 +00:00