I'm trying to integrate my Java third-party application with MS Exchange online and on-premises, I need to access all the users data (mails, calendar, contacts...). I've read about the apps authentication process (OAuth 2 for online and NTLM for on-premises).
Is there a Java SDK compatible with both Exchange online and on-premises and which provides both authentication process?
Because I found this one ( http://code.msdn.microsoft.com/Exchange-EWS-Java-API-12-1a5a1143 ) but it seems to only support NTLM authentication...
Thank you for your help.