What is the difference between getConnection() and isAuthorized()

What is the difference between getConnection() and isAuthorized()

var vResult = isAuthorized(...) 


This method a is used to check if a combination of a users login/password is authorized to login to the system using simple authentication.

Simple authentication consists of sending the LDAP server the fully qualified DN of the client (user) and the client's clear-text password.


var vConnection = getConnection(...)


This method creates a connection object (not a live/open connection) that can be further used for working on the data on the LDAP server.