Commit Graph

226 Commits

Author SHA1 Message Date
Ben Alex 5ba40705e8 SEC-239: Initial commit. Work-in-progress only. 2006-05-23 08:48:19 +00:00
Luke Taylor 2a24e4faf8 Deleted old version of LdapDataAccessException 2006-05-20 00:21:17 +00:00
Luke Taylor fd1ed6bcdd Removed old LDAP stuff. 2006-05-07 17:40:51 +00:00
Ben Alex bff37bc4ce SEC-29: Remove from sandbox (now in core). 2006-04-28 05:08:48 +00:00
Ben Alex 719d3af879 SVN updates. 2006-04-25 00:22:00 +00:00
Luke Taylor f392e0c7a8 Tidying up. 2006-02-23 20:38:42 +00:00
Luke Taylor c7c0154ae5 Added Acegi license. 2006-02-09 16:37:53 +00:00
Ben Alex 7aa8d98a65 Finish RC2 release, prepare snapshot again. 2006-02-09 08:49:33 +00:00
Ben Alex ee78570902 Prepare to release 1.0.0 RC2. 2006-02-09 07:45:11 +00:00
Ben Alex e63b2ec9e6 Cleanup unused imports. 2006-02-09 06:00:25 +00:00
Ben Alex 79287999dc SEC-178: Refactor AbstractAuthenticationToken. 2006-02-09 04:16:50 +00:00
Luke Taylor 6ed1400534 Password policy LDAP controls and related classes. 2006-02-08 01:50:15 +00:00
Luke Taylor 05d55ea83a Update pom dependencies. ldapsdk asn1 classes are used for ldap controls. 2006-02-08 01:27:34 +00:00
Luke Taylor fe88d6ec17 SEC-134 fix. Authorities array is now copied on access. Also refactored token classes to move authorities to the base class. 2006-02-08 01:24:38 +00:00
Ben Alex 9771b7817a SEC-144: Separate SecurityEnforcementFilter from FilterSecurityInterceptor. 2006-01-28 22:54:23 +00:00
Ben Alex a7537558e1 Need a file to prevent Eclipse from giving an error due to missing folder. 2006-01-27 03:19:07 +00:00
Luke Taylor 20469b6ac9 Legacy LDAP tests and support files deleted. 2006-01-26 20:49:55 +00:00
Ben Alex 6b1f97a381 Resolve compiler warnings. 2005-12-24 10:03:18 +00:00
Carlos Sanchez b0d65259b6 Changed groupId to org.acegisecurity 2005-12-22 16:40:22 +00:00
Carlos Sanchez 27efd13532 Set version to 1.0.0-SNAPSHOT preparing for next version 2005-12-22 16:32:12 +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 12ebd4e814 Modifications to allow compilation with updated Apache DS version. 2005-12-15 01:44:20 +00:00
Ben Alex a1037ddc87 Prepare 1.0.0 RC1. 2005-12-04 11:20:52 +00:00
Ben Alex a6e23d79ae SEC-107: Rename AuthenticationDao to UserDetailsService. 2005-11-29 13:10:15 +00:00
Ben Alex 6a1a4abb1d SEC-104: Move to org.acegisecurity package. 2005-11-17 00:56:49 +00:00
Scott McCrory a8ad9231ab Added initial integration of SEC-29 "Save POST request parameters before redirect" for peer review. See http://opensource2.atlassian.com/projects/spring/browse/SEC-29 for more info. 2005-11-13 22:29:13 +00:00
Scott McCrory 309b559a8f Removed unused imports. 2005-11-06 23:00:31 +00:00
Ben Alex eae6f81177 SEC-8: Introduction into CVS of contribution posted with the JIRA task and basic reformatting. 2005-11-03 12:32:19 +00:00
Ben Alex e9b1d9452f SEC-9 and SEC-55: Refactor DaoAuthenticationProvider and deprecate PasswordDaoAuthenticationProvider. 2005-11-03 11:31:23 +00:00
Ben Alex 6f32f6b112 Revise layout to show which classes depend on each other. 2005-10-22 08:48:21 +00:00
Carlos Sanchez b2363dfe07 SEC-62 Add maven 2 support 2005-10-06 20:53:08 +00:00
Carlos Sanchez 29e3daaab6 Removed redundant groupId (inherited from parent) 2005-10-06 20:01:29 +00:00
Ben Alex 9ea795927e Provide Maven POM for sandbox, so that users can easily build its contents. 2005-08-21 10:30:18 +00:00
Robert Sanders 72e3a24c22 Merged from the refactoring branch. Needs user tested, and better documented; but its stable enough that I'm committing it. 2005-08-02 02:50:27 +00:00
Robert Sanders b371f35cfc File created in the LDAP refactoring branch; (currently not being used) in the MAIN/HEAD branch. This is a JavaBean which is used to create JNDI SearchControls Objects for use in searching LDAP DirContexts. 2005-08-02 02:34:16 +00:00
Robert Sanders 1502ba9409 File as created in the LDAP refactoring branch. with a number of JavaDoc comments added for clarity. 2005-08-02 02:31:51 +00:00
Robert Sanders 9421b66611 These are really renamings, not deletions, but since its CVS we have to make do with adding a "new" file with a different name. 2005-08-01 18:24:49 +00:00
Robert Sanders 1f46005dad Renamed, and refactored version of the LdapPasswordAuthenticationTest which works with the newest 'stable' verion of the LdapPasswordAuthenticationDao. 2005-08-01 18:22:00 +00:00
Robert Sanders 3762ba25e8 Fixed dumb mistake in the DN of the second user object. 2005-08-01 18:17:06 +00:00
Robert Sanders b634b27550 Fixed license header, updated to point to new location of helper classes in the .support package. 2005-08-01 03:12:04 +00:00
Robert Sanders bb4867b3cf Fixed license header. 2005-08-01 03:10:10 +00:00
Robert Sanders 1c30ebb27b Updated some of the JavaDocs which needed it. 2005-08-01 03:09:50 +00:00
Robert Sanders b4e08a413b Renamed and moved version of LdapTestHelper. 2005-08-01 03:03:31 +00:00
Robert Sanders 020b4d8e32 Updated version of the BaseLdapTestCase which is in a better named package (.support), with better named helper classes. 2005-08-01 03:02:48 +00:00
Robert Sanders 62b23323eb Removed / renamed to InitialDirContextFactory to better convey purpose. 2005-06-26 21:42:02 +00:00
Robert Sanders 917d3b16aa Renamed LdapSupport to InitialDirContextFactory. 2005-06-26 21:39:42 +00:00
Robert Sanders 73cf703950 Renamed (and slightly cleaner) version of LdapSupport. 2005-06-26 21:39:19 +00:00
Robert Sanders f58cdb7c49 Call setUserSearchBean(this) so that returned UserSearchResults have reference to the search information used to construct them. 2005-06-26 15:25:24 +00:00
Robert Sanders b6657a18d1 Added accessors for setting several important properties. Updated JNDI code for looking up roles in user context. Clarified some variable names. 2005-06-26 15:23:57 +00:00
Robert Sanders 78f792a132 Wrapper around the information returned apon a successful lookup of a user (who at that point has NOT been authenticated). 2005-06-07 02:48:56 +00:00
Robert Sanders e2f97b462c OO means by which to specifiy all the criteria used to search for a user. 2005-06-07 02:48:03 +00:00
Robert Sanders 1ff2021b96 Mainly added JNDI key to trigger LDAP pooling (at least using SUN's implementation). This could probably be refined, but there's other things to do first. 2005-06-07 02:46:47 +00:00
Robert Sanders a163fc48ef A whole bunch of changes to the LDAP Authentication process. It should be both more object oriented, and faster.
[Note] I am checking this in in advance of having time to actually test it.
[Note] This class will probably be renamed to replace the current LdapPasswordAuthenticationDao .
2005-06-07 02:44:58 +00:00
Robert Sanders 4b039011fc Part of refactoring the code: move the basic LDAP/JNDI settings to an external class. 2005-05-25 01:33:48 +00:00
Ben Alex fa6924a373 Update project workspace settings to Java 1.5. NB: Maven remains at 1.3 compatibility for all subprojects except "domain". It is recommended the Eclipse "Problems" view be customised to not display items containing "Type Safety:" in their description. Developers should NOT introduce 1.5+ dependencies to any projects apart from "domain". 2005-05-09 01:18:31 +00:00
Robert Sanders 74a5a505d5 Updates to getGrantedAuthorityString as suggested by Matt DeHoust to make functionality match javadocs. 2005-04-18 18:56:33 +00:00
Robert Sanders 046dd2611c Lastest round of changes; adding a few more tests. 2005-03-30 03:12:12 +00:00
Robert Sanders be20350737 Ok, some actual tests of DAO functionality. 2005-03-24 03:38:34 +00:00
Robert Sanders 6646eb4cd7 Added importLDIF to assist in importing LDIF data into the directory for testing. 2005-03-24 02:23:08 +00:00
Robert Sanders 99e6bfbde7 Class comment says it all - verify that directory server is configured correctlly. 2005-03-24 02:22:01 +00:00
Robert Sanders 7cfec03a86 Modified to use DirContentsInitializer. 2005-03-24 02:21:08 +00:00
Robert Sanders 0e9dc00c15 Helper class used to setup the directory server that we are running our tests against. 2005-03-24 02:20:38 +00:00
Robert Sanders 5e4f3b46bf Ok, it doesn't actually test the DAO, but I now have something that is (semi-) worth running. 2005-03-22 02:49:50 +00:00
Robert Sanders 90c77f2899 Impored API. 2005-03-22 02:48:56 +00:00
Robert Sanders 688e5a16d4 Cleaned up source to better express correct use. 2005-03-22 02:47:36 +00:00
Ben Alex 6f31ecb04b UserDetails now indicates locked accounts. 2005-03-21 03:22:59 +00:00
Robert Sanders c34db326f8 Provide hook to get a client-side version of the DirContext. 2005-03-21 03:20:19 +00:00
Robert Sanders 1588dbb488 My LDAP server setup is different, so I can't test this without re-writing it; but at least it now compiles. Once I get the ApacheDS based tests working, I'll removed this test. 2005-03-21 03:16:18 +00:00
Robert Sanders 3e63685776 I don't have any test built using these yet, but both should server as decent bases from which to build tests for LDAP functionality. 2005-03-18 03:41:33 +00:00
Robert Sanders 7beab1238b I basically ended up re-writing this code. The goal was to create a much more flexible way of connecting to the LDAP server. The class doc's should help explain how to do this fairly well. This works for me on OpenLDAP server configured for Samba 2.2; should hopefully work for other. Next up: try and use the Apache DS project to enable unit testing (or at least portable functional testing) of the LDAP/JNDI code. 2005-03-01 22:49:03 +00:00
Ben Alex 40bf65bdf8 Improvements to LDAP provider compatibility with Samba, as per contribution by Robert Sanders. 2005-02-17 20:39:04 +00:00
Ben Alex c939bcb176 Add account expiration and credentials expiration capabilities. 2005-01-03 01:14:26 +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 c2491a93b4 AcegiRemoteInvocation support, thanks to James Monaghan. 2004-09-16 06:20:26 +00:00
Ben Alex 03781aeccd Created sandbox including a LDAP-based authentication DAO, as contributed by Karel Miarka and with improvements by Daniel Miller. 2004-09-11 01:45:16 +00:00