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.