I use LdapTemplate.search() operation. In the ContextMapper.() implementation, I will check if a user from LDAP meets the constraints defined in our application. If not, the user will be dicarded. but I do not know how to tell the framework to discard an entry/user from the ldap. Now I return null in this case. this make the code ugly.
How could I do in this case?
Thanks in advance.


Reply With Quote