OPENDJ-2772 Create ldapdelete tool in the sdk
* Adapts the tool to use sdk ConnectionFactoryProvider, DeleteRequest and Connection APIs.
* The tool only read one DN from the command line or multiple from stdin (one dn per line)
* diffs with server ldapdelete
* Usage: ldapdelete {options} "DN" becomes ldapdelete {options} [DN]
* Only read one DN on the command line, if none are provided read standard input
(multpiple DNs can be provided, separated by line separators)
* Added: options (due to the use of ConnectionFactoryProvider):
* -E, --reportAuthzID
* -T short option for --trustStorePassword {trustStorePassword} option
* -V short option for --version option
* --usePasswordPolicyControl
* Removed:
* -f, --filename (read one DN from command line or multiple from stdandard input)
* -i, --encoding {encoding} (not implemented in the server)
* -r, --useSASLExternal (it is redundant as a particular usage of -o, --saslOption mech="EXTERNAL" argument
* -V, --ldapVersion {version} (not implemented because we always do bind in v3)
NOTE: This is taking effect in 2 commits
* ldapdelete use standard input:
* Do not add any DN on the command line or 'ldapdelete {options} -- -'