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