Commit Graph

233 Commits

Author SHA1 Message Date
Ben Alex a159d89ffd Initial commit. 2004-11-20 05:24:16 +00:00
Ben Alex 4ca1e2fd99 Add logging. 2004-11-20 04:10:05 +00:00
Ben Alex f251436a99 Improve logging and enable ACL determination to use an Object obtained from an internal method of the located processDomainObjectClass. 2004-11-20 04:09:14 +00:00
Ben Alex 61580d1973 Move RMI context propagation support classes to core, and rename and document to more clearly reflect function. 2004-11-20 04:07:47 +00:00
Ben Alex ba16c01b90 Add toString() method so more informative when context propagation takes place, such as via ContextPropagatingRemoteInvocation. 2004-11-20 04:06:47 +00:00
Carlos Sanchez 58306157df *** empty log message *** 2004-11-19 22:20:49 +00:00
Ben Alex 177c00556d Support just creating the acl_object_identity, without necessarily an acl_permission as well. 2004-11-16 12:22:43 +00:00
Ben Alex af5917b685 Added BasicAclExtendedDao interface and JdbcExtendedDaoImpl for ACL CRUD. 2004-11-15 13:04:12 +00:00
Ben Alex bc9a599bf7 Remove noisy logging. 2004-11-15 02:43:21 +00:00
Ben Alex d6beb9804f Place authz taglib in correct JAR location (META-INF). 2004-11-15 01:46:23 +00:00
Ben Alex 612971e134 Initial commit of a concrete AfterInvocationManager. 2004-11-15 01:45:03 +00:00
Ben Alex 694bdb603d Initial commit. 2004-11-15 01:44:20 +00:00
Ben Alex 5f6aa9c49e Refactoring to support "after invocation" processing. 2004-11-15 01:43:48 +00:00
Ben Alex 03a530b36b Improve JavaDocs. 2004-11-15 01:42:47 +00:00
Ben Alex d639e5c02f Expand logging. 2004-11-15 01:41:45 +00:00
Ben Alex 9972c69408 Support Authentication.getPrincipal() of UserDetails and improve logging. 2004-11-15 01:40:18 +00:00
Ben Alex e462c5a201 Minor polishing. 2004-11-15 01:36:41 +00:00
Ben Alex 68dc38841f Add an Authentication and Acl taglib. 2004-11-15 00:46:18 +00:00
Ben Alex 70a9c76f69 Remove unnecessary console output from tests. 2004-11-15 00:37:00 +00:00
Ben Alex ef2e45df77 Update tests to support incompatible collaborator detection now in AbstractSecurityInterceptor. 2004-11-15 00:36:12 +00:00
Ben Alex e83c66bb37 Expand test coverage so GrantedAuthorityEffectiveAclsResolver properly handles Authentication with a principal of type UserDetails. 2004-11-15 00:34:32 +00:00
Ben Alex 695948c31d Remove unused import. 2004-11-12 01:07:59 +00:00
Ben Alex f1d993f47b Made BasicAclProvider to only respond to specified ACL object requests. 2004-11-09 21:09:14 +00:00
Carlos Sanchez cd56f2ed4a Moved from test to main 2004-11-03 22:35:12 +00:00
Carlos Sanchez 8cf6867cba Moved name to subprojects 2004-11-01 20:05:42 +00:00
Ben Alex fde59c2f29 Ad mock method implementation now we're using HttpSession.removeAttribute(). 2004-10-30 23:32:53 +00:00
Ben Alex 565c2e580b Remove debug messages. 2004-10-30 23:32:28 +00:00
Carlos Sanchez d27fb49803 *** empty log message *** 2004-10-30 22:49:58 +00:00
Carlos Sanchez 55624cf5dd Moved resources from java dir to resources dir 2004-10-30 22:49:12 +00:00
Carlos Sanchez 928498b53d Removed AutoIntegrationFilter 2004-10-30 22:45:35 +00:00
Carlos Sanchez b25a6e002b *** empty log message *** 2004-10-30 17:15:54 +00:00
Ben Alex 89f6fcf5c9 Refactor to use an application context, thus enabling event publishing and use of DefaultAdvisorAutoProxyCreator. 2004-10-30 06:09:09 +00:00
Ben Alex 537a58d754 Added net.sf.acegisecurity.intercept.event package. 2004-10-30 06:07:17 +00:00
Ben Alex 26f5f1a9b3 Add the AccessDeniedException to the HttpSession as per http://forum.springframework.org/viewtopic.php?t=1515. 2004-10-30 03:06:05 +00:00
Ben Alex 21f29bbbb3 Fix JRun rejection of null in httpSession.setAttribute() as per http://livedocs.macromedia.com/jrun/4/javadocs/jrun/servlet/session/JRunSession.html.
Discussed at http://forum.springframework.org/viewtopic.php?t=1417.
2004-10-30 02:56:01 +00:00
Ben Alex 73349bf8f8 Add convenience method so subclasses can specify Authentication.setDetails(). 2004-10-30 01:19:22 +00:00
Ben Alex 7b0145fba7 Initial AspectJ support. 2004-10-18 06:41:20 +00:00
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