Commit Graph

226 Commits

Author SHA1 Message Date
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