Odds and Ends
In this chapter, you will learn
Authentication Using Spring LDAP
Authentication is a common operation performed against LDAP servers. This usually involves verifying a username and password against the information stored in the directory server.
One approach for implementing authentication using Spring LDAP is via the getContext method of the ContextSource class. Here is the getContext method API:
DirContext getContext(String principal, String credentials) throws NamingException
The principal parameter is the fully qualified ...