The LDAPConnection class creates the connection between the application and the LDAP server. First, you have to instantiate the LDAPConnection class, then specify the connection parameters. Once you're done with this, call the
connect() method to create the connection in the init() method of application startup class.
You can set the following parameters: