1.a security program that connects to LDAP server using ldap://hostname:port/ url and sends LDAP queries
[login to view URL] program will take input as user id and password and return login success or login failure
[login to view URL] apache shiro java API to achieve