Robert Sanders
1c30ebb27b
Updated some of the JavaDocs which needed it.
21 years ago
Robert Sanders
b4e08a413b
Renamed and moved version of LdapTestHelper.
21 years ago
Robert Sanders
020b4d8e32
Updated version of the BaseLdapTestCase which is in a better named package (.support), with better named helper classes.
21 years ago
Robert Sanders
62b23323eb
Removed / renamed to InitialDirContextFactory to better convey purpose.
21 years ago
Robert Sanders
917d3b16aa
Renamed LdapSupport to InitialDirContextFactory.
21 years ago
Robert Sanders
73cf703950
Renamed (and slightly cleaner) version of LdapSupport.
21 years ago
Robert Sanders
f58cdb7c49
Call setUserSearchBean(this) so that returned UserSearchResults have reference to the search information used to construct them.
21 years ago
Robert Sanders
b6657a18d1
Added accessors for setting several important properties. Updated JNDI code for looking up roles in user context. Clarified some variable names.
21 years ago
Robert Sanders
78f792a132
Wrapper around the information returned apon a successful lookup of a user (who at that point has NOT been authenticated).
21 years ago
Robert Sanders
e2f97b462c
OO means by which to specifiy all the criteria used to search for a user.
21 years ago
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.
21 years ago
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 .
21 years ago
Robert Sanders
4b039011fc
Part of refactoring the code: move the basic LDAP/JNDI settings to an external class.
21 years ago
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".
21 years ago
Robert Sanders
74a5a505d5
Updates to getGrantedAuthorityString as suggested by Matt DeHoust to make functionality match javadocs.
21 years ago
Robert Sanders
046dd2611c
Lastest round of changes; adding a few more tests.
21 years ago
Robert Sanders
be20350737
Ok, some actual tests of DAO functionality.
21 years ago
Robert Sanders
6646eb4cd7
Added importLDIF to assist in importing LDIF data into the directory for testing.
21 years ago
Robert Sanders
99e6bfbde7
Class comment says it all - verify that directory server is configured correctlly.
21 years ago
Robert Sanders
7cfec03a86
Modified to use DirContentsInitializer.
21 years ago
Robert Sanders
0e9dc00c15
Helper class used to setup the directory server that we are running our tests against.
21 years ago
Robert Sanders
5e4f3b46bf
Ok, it doesn't actually test the DAO, but I now have something that is (semi-) worth running.
21 years ago
Robert Sanders
90c77f2899
Impored API.
21 years ago
Robert Sanders
688e5a16d4
Cleaned up source to better express correct use.
21 years ago
Ben Alex
6f31ecb04b
UserDetails now indicates locked accounts.
21 years ago
Robert Sanders
c34db326f8
Provide hook to get a client-side version of the DirContext.
21 years ago
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.
21 years ago
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.
21 years ago
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.
21 years ago
Ben Alex
40bf65bdf8
Improvements to LDAP provider compatibility with Samba, as per contribution by Robert Sanders.
21 years ago
Ben Alex
c939bcb176
Add account expiration and credentials expiration capabilities.
21 years ago
Ben Alex
61580d1973
Move RMI context propagation support classes to core, and rename and document to more clearly reflect function.
21 years ago
Ben Alex
c2491a93b4
AcegiRemoteInvocation support, thanks to James Monaghan.
22 years ago
Ben Alex
03781aeccd
Created sandbox including a LDAP-based authentication DAO, as contributed by Karel Miarka and with improvements by Daniel Miller.
22 years ago