How to use LDAP authentication for the Exchange Web Services connection in Java?
问题 I try to write a Java application that access an Exchange Web Services in order to read emails. Thus, I use the Exchange Web Services ( EWS ) Java API provided by Microsoft. I already had several issues with it, and I finally found that the authentication should be done using LDAP. Unfortunately, I'm not sure how to do such a thing. Does the EWS API allows to configure the authentication scheme to be used when connecting to the Exchange server ? If yes, how to configure that? This is the code