Commit Graph

321 Commits

Author SHA1 Message Date
Luke Taylor fc498954c6 Updated sample context files to point at 2.0.1 schema 2008-05-01 17:51:48 +00:00
Ben Alex b5dc523041 [maven-release-plugin] prepare for next development iteration 2008-04-14 07:06:44 +00:00
Ben Alex 0c42670431 [maven-release-plugin] prepare release spring-security-parent-2.0.0 2008-04-14 07:05:46 +00:00
Luke Taylor 42cd91e259 Some updates to contacts sample to match description in docs, remove unnecessary cas code etc. 2008-04-12 18:08:35 +00:00
Ben Alex 677607bcad SEC-530: Refactor ACL module so ACE manipulation is index-based as
opposed to AccessControlEntry.getId() based.
2008-04-05 20:43:10 +00:00
Luke Taylor d5a751e784 Added log4j dependency 2008-04-01 19:14:41 +00:00
Luke Taylor 21e83e8364 [maven-release-plugin] prepare for next development iteration 2008-04-01 15:03:29 +00:00
Luke Taylor 91ed7dceb6 [maven-release-plugin] prepare release release_2_0_0_RC1 2008-04-01 15:01:30 +00:00
Ben Alex f67c7bcb38 Update dependency versions and POM structure 2008-03-24 09:06:46 +00:00
Luke Taylor b54e3978dc SEC-729: Organization of pom dependencies, particularly for servlet-api and jstl. Some other adjustments, removal of unrequired deps etc 2008-03-23 00:31:32 +00:00
Luke Taylor 8f7b216de3 Import cleaning, removal of unnecessary constructors etc based on eclipse warnings 2008-03-17 14:10:22 +00:00
Luke Taylor ff16c413dd [maven-release-plugin] prepare for next development iteration 2008-02-29 14:55:31 +00:00
Luke Taylor b8916ffaba [maven-release-plugin] prepare release release_2_0_M2 2008-02-29 14:54:15 +00:00
Luke Taylor 8c00bb1537 SEC-674: Updated samples to work with new module layout. Changed taglib build to copy tld file to META-INF directory.
Also standardized JSTL version to 1.1.0 (impl 1.1.2), moving deps to root sample pom.
2008-02-22 16:21:37 +00:00
Luke Taylor 2dd9faabc0 SEC-674: Created new project modules for cas, captcha, acls and taglibs 2008-02-19 20:30:53 +00:00
Luke Taylor 38237341b4 Removed unused getContactManager method 2008-02-15 18:06:59 +00:00
Luke Taylor 503e426707 Inlined destroyContext method. 2008-02-15 17:07:53 +00:00
Luke Taylor be62979a01 Switch JSTL back to 1.1.2. 2008-02-15 12:15:20 +00:00
Luke Taylor e2bf583fe9 Removed unused MessageSource from contacts app-context file. 2008-02-09 15:57:06 +00:00
Luke Taylor dd47689687 Updated contact app to make more use of namespace configuration (now uses intercept-methods in target bean to set up method interceptor). 2008-02-09 15:41:29 +00:00
Luke Taylor df1def412e Changed to using new alias for security filter chain in samples. 2008-02-01 14:28:04 +00:00
Luke Taylor 86f7b47fac Updated jetty plugin to 6.1.7 2008-02-01 14:18:23 +00:00
Luke Taylor 483068d486 SEC-647: Delete unused certificated directory and outdated certificates. 2008-01-26 11:28:36 +00:00
Luke Taylor 06f3bcbf6a Converted all namespace attributes which refer to bean IDs to use "-ref" suffix (or "ref"). 2008-01-22 20:58:12 +00:00
Luke Taylor 7d88ee8c48 Formatted ACL SQL for readability. 2008-01-21 18:35:22 +00:00
Luke Taylor 10ec13e4e2 [maven-release-plugin] prepare for next development iteration 2008-01-02 22:42:21 +00:00
Luke Taylor 2c5090da90 [maven-release-plugin] prepare release release_2_0_M1 2008-01-02 22:41:31 +00:00
Luke Taylor 09242ec66d [maven-release-plugin] rollback the release of release_2_0_M1 2008-01-02 22:31:09 +00:00
Luke Taylor 42dcccd1b7 [maven-release-plugin] prepare release release_2_0_M1 2008-01-02 22:18:28 +00:00
Luke Taylor aafbb5bb67 [maven-release-plugin] rollback the release of release_2_0_M1 2008-01-02 22:10:46 +00:00
Luke Taylor 425508d70d [maven-release-plugin] prepare release release_2_0_M1 2008-01-02 22:01:34 +00:00
Luke Taylor 0b1e17f69a [maven-release-plugin] rollback the release of release_2_0_M1 2008-01-02 21:54:37 +00:00
Luke Taylor 07aa0c6880 [maven-release-plugin] prepare release release_2_0_M1 2008-01-02 21:52:42 +00:00
Luke Taylor 7583aca3eb Configured contacts app to use namespaces. Removed ldap, cas, x509 files to avoid confusion. Ldap and CAS will be better served by new samples. 2008-01-01 16:51:15 +00:00
Luke Taylor b91e82d91c Changed _authenticationManager -> authenticationManager to get contact app tests passing again. 2007-12-25 00:34:28 +00:00
Luke Taylor 5f1eea42fc Moved configuration of security interceptors with access and authentication manangers from post processing stage to bean creation stage. 2007-12-23 16:40:29 +00:00
Luke Taylor 5e0cb21c8d SEC-619: Added test class for LdapUserDetailsService. The LdapAuthoritiesPopulator interface and also implementations have been moved to the org.springframework.security.ldap package since they are now used by both the ldap provider and the user service. 2007-12-09 18:40:28 +00:00
Ben Alex cb765bc34b SEC-615: Automatically focus on login name HTML element on page load. 2007-12-03 06:34:43 +00:00
Ben Alex 7aa28ea742 SEC-614: Use DelegatingFilterProxy instead of FilterToBeanProxy. 2007-12-03 06:31:03 +00:00
Ben Alex 47229be5cb Make samples and tests use username "rod". 2007-12-03 02:56:52 +00:00
Ben Alex 3123d24337 SEC-613: Rename tag libraries. 2007-12-03 01:46:11 +00:00
Luke Taylor 9e2f372bad SEC-607: Deprecated InitialDirContextFactory and replaced it with SpringSecurityContextSource.
Also some refactoring of LdapUserDetailsManager to use a strategy for creating DNs from usernames.
2007-11-20 20:54:48 +00:00
Luke Taylor 03e285c31d Moved responsability for creating AuthenticationManager into AuthenticationProviderBeanDefinitionParser. Tidied up SecrityNamespaceHandler. 2007-10-25 14:21:45 +00:00
Luke Taylor bd740a91a2 Corrected remember-me parameter name in samples and log file name in tutorial sample (was "contacts.log"). 2007-10-16 13:52:01 +00:00
Luke Taylor 3f2b9cd6fb SEC-562: More changes of Acegi name in comments, docs etc. 2007-10-03 14:02:39 +00:00
Luke Taylor acb02246e0 Refactored embedded LDAP server tests to make use of new namespace configuration. Use Junit 4 annotations in preference to AbstractDependencyInjectionSpringContextTests so that it is possible to clear up the context after each class is run rather than at JVM shutdown (causes problems with running embedded apache DS). 2007-10-02 10:52:06 +00:00
Luke Taylor 50990b4291 Fixed version of jetty plugin at 6.1.5 2007-09-26 12:15:20 +00:00
Luke Taylor 9a88d7737a SEC-562: Correct class names in web.xml files. 2007-09-26 11:33:54 +00:00
Luke Taylor 5066fc5e39 SEC-562: Changed urls for login, logout, switch user etc. 2007-09-24 15:39:51 +00:00
Luke Taylor 18c8ba4ac2 SEC-562: Changing constants and key names. 2007-09-23 11:16:01 +00:00
Luke Taylor 56847d0af6 SEC-562: Tidying up module names in pom files. 2007-09-22 21:44:39 +00:00
Luke Taylor 4083e2ef92 SEC-562: Further repackaging. 2007-09-21 18:24:16 +00:00
Luke Taylor 0288204432 SEC-369: Made spring-jdbc and spring-remoting optional dependencies in core. Removed explicit commons-lang dependency and updated commons logging to 1.1. 2007-09-19 00:23:33 +00:00
Luke Taylor f178ca2a39 Updated trunk poms to 2.0-SNAPSHOT version 2007-09-07 20:14:55 +00:00
Luke Taylor 8d4b97f685 Updated poms post-release 1.0.5 2007-09-06 02:52:09 +00:00
Luke Taylor c8b6111418 Release 1.0.5. 2007-09-06 01:52:53 +00:00
Luke Taylor de21cde132 Deleted unused build.xml and cvsignore files from contacts sample. 2007-09-05 22:20:55 +00:00
Luke Taylor 545a3263f4 Changed artifact Id for consistency with tutorial. 2007-09-05 15:52:30 +00:00
Luke Taylor 2532518ffd Minor text changes to readme. 2007-09-05 15:46:25 +00:00
Luke Taylor 5d8076056e Added readme explaining that contacts is now a single application. 2007-09-05 15:44:15 +00:00
Luke Taylor c2c2fb24be Corrected link to ssl howto in site.xml 2007-09-05 12:09:40 +00:00
Luke Taylor 58bf2ffbc8 Corrected link to ssl howto in site.xml 2007-09-05 12:08:49 +00:00
Luke Taylor bf433bb5a7 Moved contacts ssl howto.txt so that it is picked up by maven 2 site generation. 2007-09-05 01:21:42 +00:00
Luke Taylor d7b7d36314 Updated jstl dependency information to use correct group name. 2007-09-03 22:27:52 +00:00
Luke Taylor db13131a07 Deleted original properties files from contacts app resources directory. 2007-09-03 22:26:30 +00:00
Luke Taylor 01610bdd94 Moved properties files into WEB-INF/classes directory in contacts app. Jetty plugin attemps to load the log4j file from there when using mvn jetty:run. 2007-09-03 22:24:59 +00:00
Luke Taylor 6c169d9acf SEC-508: Added CDATA sections to multi-line text values in tutorial and contacts sample context files to prevent eclipse reforatting bug from messing them up. 2007-08-29 12:12:45 +00:00
Luke Taylor 1467527c0a SEC-538: Deleted maven 1 files. 2007-08-29 11:00:28 +00:00
Luke Taylor fe4bbe0fbf SEC-514: Refactoring contacts sample into single webapp. 2007-07-24 17:46:43 +00:00
Ray Krueger 61d44954ee Changed parent reference to 1.0.5-SNAPSHOT 2007-06-19 13:13:58 +00:00
Ben Alex 07b2a5c673 SEC-447: Use EL tags. 2007-05-24 00:30:15 +00:00
Ben Alex f7e714b9da Maven 2 polishing. 2007-05-23 04:20:54 +00:00
Vishal Puri e73421d7b2 Spring version upgrade to 2.0.4, changed svn urls in project.xml and poms 2007-05-13 12:30:53 +00:00
Vishal Puri f56771b214 SEC-376: moved switchUserProcessingFilter after filterInvocationInterceptor in contacts/filter applicationContext-acegi-security.xml file 2007-04-27 07:38:02 +00:00
Ben Alex 9f512c384e SEC-239: New ACL module. 2006-11-17 02:01:21 +00:00
Ben Alex e179574077 Fix JavaDocs. 2006-11-14 03:19:16 +00:00
Ben Alex 508966f0c7 SEC-313: Add integration test for Contacts. 2006-11-14 03:18:42 +00:00
Ben Alex 84671f9d68 SEC-382: Clean up resource bundle errors. 2006-11-14 02:30:00 +00:00
Carlos Sanchez 5d15856ccc Use 1.1-SNAPSHOT as parent version 2006-07-11 18:27:36 +00:00
Carlos Sanchez 288fdb3df8 Fixed M2 pom 2006-07-11 18:22:21 +00:00
Carlos Sanchez 35093e09f6 Bump version to 1.1.0-SNAPSHOT 2006-05-31 00:52:26 +00:00
Ben Alex 53330fd824 Undo last checkin. 2006-05-29 08:51:18 +00:00
Ben Alex 8bef3d20af Improve debugging. 2006-05-29 08:50:14 +00:00
Ben Alex 03622f7011 Add missing beans from previous checkin. 2006-05-29 08:45:08 +00:00
Ben Alex 89eb74b1b2 Refer to 1.0.0 final. 2006-05-28 00:49:38 +00:00
Ben Alex ab12817b7a SEC-97: Format Acegi Security source code in accordance with latest Jalopy configuration. 2006-05-23 13:38:33 +00:00
Ben Alex 6b5fc1efce Correct comment in header. 2006-05-23 08:57:13 +00:00
Luke Taylor 1958d4e5aa Change package for ldap context factory bean 2006-05-20 17:50:51 +00:00
Ben Alex cc07f620df SEC-257: ExceptionTranslationFilter to use AccessDeniedHandler. 2006-04-28 06:52:50 +00:00
Ben Alex 9a90e4e1aa SEC-256: Contacts sample not displaying localized exceptions correctly. 2006-04-28 06:51:58 +00:00
Ben Alex 21aaf2b9db SEC-256: Contacts sample not displaying localized exceptions correctly. 2006-04-28 06:43:50 +00:00
Ben Alex d125569bd6 SEC-29: Save POST parameters on AuthenticationEntryPoint redirect. 2006-04-28 05:05:35 +00:00
Ben Alex 8cc5dcde30 SEC-249: Support logout filter. 2006-04-26 23:36:03 +00:00
Ben Alex 719d3af879 SVN updates. 2006-04-25 00:22:00 +00:00
Scott Battaglia 5607da8d67 updated references from Yale CAS to JA-SIG CAS 2006-02-27 13:52:41 +00:00
Ben Alex e63b2ec9e6 Cleanup unused imports. 2006-02-09 06:00:25 +00:00
Luke Taylor dc959b1847 Fix for SEC-159. Added clearContext() method to SecurityContextHolder and refactored code to use it instead of putting an empty context into the holder. 2006-02-08 23:27:46 +00:00
Ben Alex 9771b7817a SEC-144: Separate SecurityEnforcementFilter from FilterSecurityInterceptor. 2006-01-28 22:54:23 +00:00
Ben Alex c8c7c24822 SEC-120: Remember-me to delegate to AuthenticationManager so authentication-specific behaviour (such as concurrent user management) can be applied. 2006-01-28 01:22:36 +00:00
Carlos Sanchez b0d65259b6 Changed groupId to org.acegisecurity 2005-12-22 16:40:22 +00:00
Carlos Sanchez f226dfb67f Use ISO encoding to avoid problems 2005-12-22 16:27:44 +00:00
Carlos Sanchez 39cf954a45 Improved m2 poms 2005-12-22 16:17:37 +00:00
Luke Taylor 8585ddf48b Updated app. context file to match new constructor-injection changes. 2005-12-20 23:21:55 +00:00
Luke Taylor 7a0313a341 Add ldap webapp to multiwar goal. 2005-12-18 03:54:41 +00:00
Luke Taylor a9a6f8b891 First checkin of LDAP contacts sample app. 2005-12-18 03:53:01 +00:00
Ben Alex a1037ddc87 Prepare 1.0.0 RC1. 2005-12-04 11:20:52 +00:00
Ben Alex 62fde4ede3 SEC-107: Finalize rename of AuthenticationDao to UserDetailsService with corresponding change in package from .providers.dao to .userdetails. 2005-11-30 00:20:13 +00:00
Ben Alex a6e23d79ae SEC-107: Rename AuthenticationDao to UserDetailsService. 2005-11-29 13:10:15 +00:00
Ben Alex c021362ebb New package top level name. 2005-11-29 04:06:31 +00:00
Ben Alex 6a1a4abb1d SEC-104: Move to org.acegisecurity package. 2005-11-17 00:56:49 +00:00
Ben Alex 2d74db9a0c SEC-51 and SEC-67 related changes. Tested all functions of "filters" version in web browser OK. 2005-11-04 04:15:57 +00:00
Ben Alex b6dbfde55c SEC-70: Refactor event publishing. 2005-11-03 06:55:47 +00:00
Carlos Sanchez b2363dfe07 SEC-62 Add maven 2 support 2005-10-06 20:53:08 +00:00
Ben Alex c64a3770de Prove that 403 errors are handled by web.xml <error-page>. 2005-09-08 10:20:34 +00:00
Mark St. Godard 3f24824f66 updated config, added switchUserProcessingFilter to the filter chain, added the ROLE_SUPERVISOR the ability to switch to other users (i.e. ROLE_USER)
For example: 'marissa' can login,  goto the /switchUser.jsp, then assume the role of another user such as 'scott'. marissa will then see scotts contacts, etc.
Then marissa can goto the /exitUser.jsp, and go back to 'marissa'

This is the similar to the Unix 'su' analogy that Ben made
2005-09-04 20:09:56 +00:00
Mark St. Godard 230d1946b9 added switchUserProcessingFilter config, not added to filter chain (yet) 2005-09-03 21:45:32 +00:00
Mark St. Godard 3dcea7ace0 initial pages for user switching 2005-09-03 21:44:05 +00:00
Luke Taylor 27a57410c1 Update to latest Spring tld 2005-08-02 17:27:30 +00:00
Ben Alex 2d772cbfcc Fix bug as reported by Jared Odulio on acegisecurity-developer 29 July 2005. 2005-07-31 00:58:48 +00:00
Luke Taylor 8e1549e399 Tidying up XML formatting (removed mix of tabs/spaces) 2005-07-20 14:13:47 +00:00
Luke Taylor de491d1767 Removed CAS references from web.xml for X.509. 2005-06-27 22:07:19 +00:00
Ben Alex 71b8f3e515 Remove less commonly used protocols. 2005-05-18 03:01:40 +00:00
Ben Alex fe15b011bb Make extra seed data and users so scalability more readily tested. 2005-05-18 03:01:34 +00:00
Ben Alex e08e66dec6 Refactor SecurityContextHolder to return a SecurityContext instead of Authentication. 2005-05-08 23:42:14 +00:00
Ben Alex 6a9abe5d90 Remove ContextHolder and introduce SecurityContext. 2005-05-07 09:11:37 +00:00
Luke Taylor 1a78f9e15f Refactored to use Spring Assert class (thanks IntelliJ :). 2005-04-15 01:21:41 +00:00
Ben Alex 747825cda1 Correct location of AuthenticationSimpleHttpInvokerRequestExecutor in clientContext.xml. 2005-03-22 22:56:36 +00:00
Ben Alex 9f66c0eae9 Update to current Spring JAR dependencies. 2005-03-22 11:17:22 +00:00
Ben Alex 816fb07e5f Initial commit. 2005-03-22 06:11:28 +00:00
Luke Taylor 602b1473c5 Example certificates for X.509 Contacts app. 2005-03-20 19:09:55 +00:00
Luke Taylor a4210b5551 Rolled back to remove X.509 users. Using new certificate with existing user name instead. 2005-03-19 18:40:16 +00:00
Luke Taylor 05bd6abb22 Added cache beans. 2005-03-19 18:36:10 +00:00
Luke Taylor 645dba1fcb Added X.509 user to contacts with user name matching certificate email address. 2005-03-11 03:05:31 +00:00
Luke Taylor 740373ad01 Removed login-config info. Client authentication has to be enabled on the server (e.g. in the Tomcat connector) for it to work. 2005-03-11 00:33:15 +00:00
Luke Taylor 466220eb50 Added build for X.509 contacts app. 2005-03-11 00:03:16 +00:00
Luke Taylor 4ec64d407c X.509 version of contacts app. 2005-03-10 23:48:54 +00:00
Ben Alex 3e9cd13fef Re-enable session listener. 2005-03-01 02:35:33 +00:00
Ben Alex f1e071b0f1 Added remember-me services. 2005-03-01 02:30:38 +00:00
Ray Krueger 44397bb05d Committing ConcurrentSessionController feature and tests. Documentation is needed. 2005-02-26 21:48:07 +00:00
Ben Alex 693ac5a24a Anonymous principal support. As requested by the community at various times, including in http://forum.springframework.org/viewtopic.php?t=1925. 2005-02-23 06:09:56 +00:00
Ray Krueger 3c4faf58c7 HttpSessionEventPublisher, HttpSessionCreatedEvent, HttpSessionDestroyedEvent
Used together to provide published events in the ApplicationContext about HttpSessions.

Useful for things like Single Session logins.
2005-02-23 02:54:41 +00:00
Ben Alex dda66a0454 Significantly refactor "well-known location model" to authentication processing mechanism and HttpSessionContextIntegrationFilter model. 2005-02-21 06:48:31 +00:00
Ben Alex 4922ec1bbd Use FilterChainProxy to tidy web.xml. 2005-02-20 05:40:44 +00:00
Ben Alex c8706c33ac Log4J no longer expected in servlet container classpath. 2005-01-28 06:34:01 +00:00
Carlos Sanchez 49974737fd Allow site deployment from each subproject 2005-01-14 22:35:10 +00:00
Ben Alex 6c1e2f23b2 Allow last attempted username to be displayed in views. 2004-12-25 23:38:39 +00:00
Ben Alex c77cb84f52 Fix group names etc as required to ensure a multiproject:install works from /docs if there is a CLEAN (empty) Maven repository. 2004-12-25 07:02:31 +00:00
Ben Alex 6ece0fab22 Iron out some Maven bugs with our custom WAR artifact building. 2004-12-24 00:35:36 +00:00
Ben Alex 2fe24b4357 Make multiproject:artifact (when called from /docs) properly build the Contacts Sample WARs. 2004-12-23 23:00:38 +00:00
Ben Alex 8fb64e1e1b Fix repository URLs so "viewcvs" URLs (associated with changelog plugin) are all correct. 2004-12-22 03:47:55 +00:00