Ben Alex
e63b2ec9e6
Cleanup unused imports.
20 years ago
Ben Alex
79287999dc
SEC-178: Refactor AbstractAuthenticationToken.
20 years ago
Luke Taylor
6ed1400534
Password policy LDAP controls and related classes.
20 years ago
Luke Taylor
fe88d6ec17
SEC-134 fix. Authorities array is now copied on access. Also refactored token classes to move authorities to the base class.
20 years ago
Ben Alex
9771b7817a
SEC-144: Separate SecurityEnforcementFilter from FilterSecurityInterceptor.
20 years ago
Ben Alex
a7537558e1
Need a file to prevent Eclipse from giving an error due to missing folder.
20 years ago
Luke Taylor
20469b6ac9
Legacy LDAP tests and support files deleted.
20 years ago
Ben Alex
6b1f97a381
Resolve compiler warnings.
20 years ago
Luke Taylor
12ebd4e814
Modifications to allow compilation with updated Apache DS version.
20 years ago
Ben Alex
a6e23d79ae
SEC-107: Rename AuthenticationDao to UserDetailsService.
20 years ago
Ben Alex
6a1a4abb1d
SEC-104: Move to org.acegisecurity package.
20 years ago
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.
21 years ago
Scott McCrory
309b559a8f
Removed unused imports.
21 years ago
Ben Alex
eae6f81177
SEC-8: Introduction into CVS of contribution posted with the JIRA task and basic reformatting.
21 years ago
Ben Alex
e9b1d9452f
SEC-9 and SEC-55: Refactor DaoAuthenticationProvider and deprecate PasswordDaoAuthenticationProvider.
21 years ago
Ben Alex
6f32f6b112
Revise layout to show which classes depend on each other.
21 years ago
Robert Sanders
72e3a24c22
Merged from the refactoring branch. Needs user tested, and better documented; but its stable enough that I'm committing it.
21 years ago
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.
21 years ago
Robert Sanders
1502ba9409
File as created in the LDAP refactoring branch. with a number of JavaDoc comments added for clarity.
21 years ago
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.
21 years ago
Robert Sanders
1f46005dad
Renamed, and refactored version of the LdapPasswordAuthenticationTest which works with the newest 'stable' verion of the LdapPasswordAuthenticationDao.
21 years ago
Robert Sanders
3762ba25e8
Fixed dumb mistake in the DN of the second user object.
21 years ago
Robert Sanders
b634b27550
Fixed license header, updated to point to new location of helper classes in the .support package.
21 years ago
Robert Sanders
bb4867b3cf
Fixed license header.
21 years ago
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