Commit Graph

241 Commits

Author SHA1 Message Date
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
Ben Alex 76c82db196 Refactor EH-CACHE integration classes to work with Spring IoC provided Cache rather than manage our own cache internally. 2004-12-05 04:37:05 +00:00
Carlos Sanchez 589691d11e Added distributionUrl 2004-11-20 10:28:18 +00:00
Ben Alex cbd842ea44 Deprecated - use "maven -Dusername=marissa -Dpassword=koala run" (from contacts directory) instead. 2004-11-20 05:31:07 +00:00
Ben Alex 44b7cccc1f Add RMI + HTTP Invoker remoting protocols and fixes related to Maven migration. 2004-11-20 05:28:20 +00:00
Ben Alex 889edece9f Add additional packages. 2004-11-20 05:26:02 +00:00
Ben Alex 09cfe6eb96 Make Serializable (required by RMI). 2004-11-20 05:25:13 +00:00
Ben Alex d8c5143e97 Added support so client application can be run from Maven. 2004-11-20 05:24:52 +00:00
Ben Alex 75a3876322 Use FieldRetrievingFactoryBean to specify static fields. 2004-11-16 12:15:03 +00:00
Ben Alex 1d81f4d1b7 Upgrade to Spring 1.1.2. 2004-11-16 12:14:09 +00:00
Ben Alex f286c34312 Use new BasicAclExtendedDao for DAO CRUD operations instead of ContactDao. 2004-11-15 13:04:54 +00:00
Ben Alex 6e687d47d4 Refactor Contacts Sample to use new ACL security. 2004-11-15 03:25:39 +00:00
Carlos Sanchez d159f6c5e1 Renamed artifactId 2004-11-14 21:49:42 +00:00
Carlos Sanchez 2067effa4a Migrated to maven 2004-11-13 19:57:48 +00:00
Ben Alex 8219778e1f Ignore target directory. 2004-11-13 01:21:35 +00:00
Ben Alex ec86643982 More dependencies. 2004-11-13 01:20:12 +00:00
Ben Alex f98b926da4 Add dependency on Spring MVC classes. 2004-11-12 23:52:47 +00:00
Carlos Sanchez 518ee40740 Migrated to maven 2004-11-12 21:47:08 +00:00
Carlos Sanchez 6b266bc677 Moved to xdocs 2004-11-12 21:45:42 +00:00
Carlos Sanchez 447549cf01 Added maven files 2004-11-12 21:42:43 +00:00
Ben Alex b4b32a2e63 Correction. 2004-11-10 23:09:57 +00:00
Ben Alex 9b7996254e Improve troubleshooting help. 2004-11-08 21:52:57 +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 6b54784915 Improved sample applications' bean reference notation. 2004-09-24 00:47:53 +00:00
Luke Taylor 9e59374477 Corrected typo "configuaration" in comments. Removed indentation tab characters. 2004-09-06 23:57:28 +00:00
Ben Alex fa396c6cdf Load AutoIntegrationFilter via FilterToBeanProxy. 2004-08-03 07:18:33 +00:00
Ben Alex 48b1cb7c85 Move UserDetails interface to net.sf.acegisecurity package. 2004-07-13 22:38:20 +00:00
Ben Alex 6314aa4efa Refactor User to an interface. 2004-06-24 23:24:14 +00:00
Ben Alex 1a0bec5bf1 Make User available from Authentication via DaoAuthenticationProvider. 2004-06-21 06:10:14 +00:00
Ben Alex 12c58006b0 Initial Maven support, thanks to Carlos Sanchez. 2004-06-08 23:46:41 +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 1b24ff5ea8 Refactor DaoAuthenticationProvider cache model. 2004-05-31 04:41:22 +00:00
Ben Alex d5c14142d1 Add event capabilities. 2004-05-24 00:09:27 +00:00
Ben Alex c7991d8555 Channel filter should be commented out by default. 2004-04-29 02:18:16 +00:00
Ben Alex ecac5a2eed Make ChannelDecisionManagerImpl iterate through a list of channel security processors. 2004-04-29 02:17:07 +00:00
Ben Alex 136c27aff3 Corrected welcome page to display appropriate information depending on WAR being used. 2004-04-29 02:13:00 +00:00
Ben Alex 901c7d4752 Significantly enhance channel processing filter. 2004-04-27 06:21:00 +00:00
Ben Alex 2c97583f27 Filter to ensure web requests are received over a suitable secure channel. 2004-04-23 08:57:43 +00:00
Ben Alex e0d57de330 Add DaoAuthenticationProvider caching support. 2004-04-23 05:01:57 +00:00
Ben Alex 26ff665dee Correct <A HREF> tags to use proper URL encoding. 2004-04-23 01:39:21 +00:00
Ben Alex fa9b872570 Initial CAS support. 2004-04-19 07:34:32 +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 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 38835da164 Provide a proxy so filters can be loaded directly from the application context. 2004-04-16 06:31:48 +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 a09f2a4c18 ant format seems to have reformated these differently than what is in CVS 2004-04-13 21:59:02 +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 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 b1a3f8b182 Provide authentication failure reason to user. 2004-04-03 05:35:40 +00:00
Ben Alex 6ddc006012 Modify MethodSecurityInterceptor to new location, remove unnecessary comments, add a DAO authentication provider so the MethodSecurityInterceptor can validate Authentication objects presented by the HTTP filter authentication system. 2004-04-02 12:00:29 +00:00
Ben Alex d820f64d59 Now in the etc directory. 2004-04-02 11:58:24 +00:00
Ben Alex c92798536a Modified to report success for HTTP filter-based authentication, not only container adapters. 2004-04-02 11:57:17 +00:00
Ben Alex 8c69eb6abb Modified to support changes to interface. 2004-04-02 11:56:00 +00:00
Ben Alex cfb99d01c9 Build two WARs: one for deployment to containers without container adapters, and one for delpoyment to containers with them. 2004-04-02 11:54:57 +00:00
Ben Alex ef84c78776 Ignore temporary directory. 2004-04-02 11:54:15 +00:00
Ben Alex 862f45e02f Initial commit. 2004-04-02 11:53:20 +00:00
Ben Alex 60ddb6a3c7 Modifications to support changes to Resin container adapter. 2004-03-30 04:42:09 +00:00
Ben Alex 1affe45ced Moved to classes directory to support changes to Resin container adapter. 2004-03-30 04:41:35 +00:00
Ben Alex 734dd387c6 Moved to classes directory. 2004-03-30 04:39:48 +00:00
Ben Alex 6f0f9650a0 Corrected class name of Resin Container Adapter. 2004-03-30 03:58:45 +00:00
Ben Alex 57fd086f09 Update license. 2004-03-28 11:25:40 +00:00
Ben Alex 14f27ae683 Make compatible with interface changes to aopalliance.jar. 2004-03-27 00:44:27 +00:00
Francois Beausoleil 01f27e5210 * samples/contacts/build.xml:
Update the way the contacts.war file is built:
    1.  Grab the necessary libraries from the project's lib/ folder.
    2.  Remove temporary staging area for WEB-INF/lib/ folder.
    3.  Delete the contacts.war file at all times, so a fresh
        baked copy is always made.

  Also renamed project, and changed usage message.
2004-03-23 17:38:41 +00:00
Francois Beausoleil 1490e8a707 * samples/contacts/src/sample/contact/SecureIndexController.java:
Prevent a NullPointerException when no SecureContext can be found.
  Instead, throw a real exception, explaining what's wrong.
2004-03-23 17:27:04 +00:00
Francois Beausoleil 95d7ac1bf3 * samples/contacts/src/sample/contact/ContactManagerBackend.java:
Clean up how the contacts are returned.  Do not create unnecessary
  objects.
2004-03-23 17:25:34 +00:00
Ben Alex c3507b26c9 Change to Apache License version 2.0. 2004-03-23 04:44:48 +00:00
Francois Beausoleil a92878b69f * samples/contacts/war/WEB-INF/jsp/include.jsp:
Declare access to the Acegi authz taglib.

* samples/contacts/war/WEB-INF/jsp/index.jsp:
  Use the Acegi authz taglib to protect access to the
  delete link for users which have the ROLE_SUPERVISOR.
2004-03-22 20:23:07 +00:00
Ben Alex 35fe1e7b73 Initial commit. 2004-03-16 23:57:17 +00:00