946 Commits

Author SHA1 Message Date
Ben Alex
992cf44b36 Refactor MethodDefinitionMap to use Method, not MethodInvocation. Refactor AbstractSecurityInterceptor to not force use of Throwable. Move AOP Alliance based MethodSecurityInterceptor to separate package. 2004-10-18 06:38:44 +00:00
Ben Alex
ba163d51ae Documentation correction. 2004-10-17 07:56:19 +00:00
Ben Alex
f123e9c333 Make MethodDefinitionMap query interfaces defined by secure objects, to properly support MethodDefinitionSourceAdvisor. 2004-10-15 03:47:53 +00:00
Ben Alex
8ec0d89fe4 Improve documentation for abstract contract. 2004-10-15 03:17:57 +00:00
Ben Alex
8d973af603 Added MethodDefinitionSourceAdvisor for performance and autoproxying. 2004-10-15 00:29:24 +00:00
Ben Alex
333fe84ee8 Clarify interface contract for ObjectDefinitionSource when no ConfigAttributes exist for a given secure object invocation, plus unit tests and fixes for concrete implementations. Thanks to Sean Radford for spotting the inconsistency. 2004-09-11 06:14:58 +00:00
Ben Alex
8a32fde12a Additional convenience methods as suggested by Sean Radford. 2004-09-11 06:13:54 +00:00
Luke Taylor
defc79c283 Minor Javadoc correction. 2004-09-06 20:06:42 +00:00
Ben Alex
ec166e086b Refactored UsernamePasswordAuthenticationToken.getDetails() to Object. 2004-09-01 21:19:05 +00:00
Ben Alex
fa2920baa7 Ensure delegate is not null before calling destroy method. 2004-09-01 21:03:34 +00:00
Ben Alex
d7c98f95ca Made FilterToBeanProxy compatible with ContextLoaderServlet (lazy initialisation on first HTTP request). 2004-09-01 02:37:55 +00:00
Ben Alex
1a92434914 Add support for password-validating DAOs, such as LDAP. Contributed by Karel Miarka. 2004-08-30 01:24:12 +00:00
Ben Alex
aaebd3ef5a Added DaoAuthenticationProvider.hideUserNotFoundExceptions property. Defaults to true, so BadCredentialsException is thrown instead of UsernameNotFoundException if a user cannot be found. 2004-08-26 23:19:00 +00:00
Ben Alex
5cd65887d5 Improved ConfigAttributeEditor so it trims preceding and trailing spaces. 2004-08-25 21:43:00 +00:00
Ben Alex
3f87849f31 Fixed GrantedAuthorityEffectiveAclsResolver if null ACLs provided to method. 2004-08-23 02:03:46 +00:00
Ben Alex
eb9c7d0852 Extracted removeUserFromCache(String) to UserCache interface. 2004-08-20 05:52:05 +00:00
Ben Alex
bf53abf46e Improve JavaDocs. 2004-08-18 22:59:00 +00:00
Ben Alex
04f4c9881d Added original Authentication.getDetails() to DaoAuthenticationProvider response. 2004-08-13 01:07:32 +00:00
Ben Alex
08ee5deaa9 Fix unit test compatibility if no username provided. 2004-08-12 01:25:53 +00:00
Ben Alex
da5469fed0 Additional event when user not found. Contributed by Karel Miarka. 2004-08-12 00:07:08 +00:00
Ben Alex
6867efd6ac Fix NPE problems with patch provided by Karel Miarka. 2004-08-10 00:22:53 +00:00
Ben Alex
e006f521f4 Fix formatting. 2004-08-04 06:40:06 +00:00
Ben Alex
0c43fe1f4a Make SecurityEnforcementFilter more subclass friendly. 2004-08-02 23:08:52 +00:00
Ben Alex
c1e109da74 Initial commit of remote client authentication interface. 2004-08-01 07:49:16 +00:00
Ben Alex
29f8097c64 Increase test coverage. 2004-08-01 07:48:14 +00:00
Ben Alex
b4a0e45e76 Increase test coverage. 2004-08-01 02:19:25 +00:00
Ben Alex
f7b491b699 Refactor ACL database tables. 2004-07-31 06:38:40 +00:00
Ben Alex
13d5a2dbca Refactor ACL database tables. 2004-07-31 03:42:18 +00:00
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