Nov 26th, 2012, 03:17 PM
Any good examples of creating an LDAP for testing purpose
I have a need to create an LDAP directory in-memory for testing purposes. Here's what I want to do:
1) Create an LDAP Context Adapter.
2) Populate the LDAP context with some user data (user name and password).
3) Use the LdapTemplate to authenticate the user.
Any help would be appreciated.
Jan 25th, 2013, 05:26 AM
Check Apache DS... and http://static.springsource.org/sprin...ml#ldap-server - Spring Security is apparently capable of creating embedded LDAP server using Apache DS. So it should not be too hard to that yourself.