LdapNetworkConnection should throw an exception when startTls() method is 
called and the LdapConnectionConfig has the 'useSsl' set to true
------------------------------------------------------------------------------------------------------------------------------------------

                 Key: DIRAPI-40
                 URL: https://issues.apache.org/jira/browse/DIRAPI-40
             Project: Directory Client API
          Issue Type: Improvement
    Affects Versions: 1.0-M1
            Reporter: Pierre-Arnaud Marcelot


LdapNetworkConnection should throw an exception when startTls() method is 
called and the LdapConnectionConfig has the 'useSsl' flag set to true.

I got an error when using the LDAP API inside Studio where I had set the 
'useSsl' flag set to true and was then trying to use the Start TLS extended 
operation.
Sure, it was a mistake on my side and the server was not receiving the expected 
bits of information, but it would be nice if the connection could warn the user 
about his wrong configuration.


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to