I've written a Java app that connects to an On-Premise SharePoint server and does all kinds of stuff.
This app uses SOAP web services and authenticates through NTLM or basic auth.
I migrated to SharePoint Online and the app can no longer connect to it. (it doesn't accept NTLM.
I'm now trying to authenticate to SharePoint Online using Postman extention for Chrome and basic auth and digest auth.
This is the result I get :
<?xml version="1.0" encoding="utf-8"?>
<m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<m:code>-2147024891, System.UnauthorizedAccessException</m:code>
<m:message xml:lang="fr-FR">Access denied. You do not have permission to perform this action or access this resource.</m:message>
I'm using an admin profile that has total control by the way.
So is it possible to authenticate to SharePoint Online using basic or digest authentication ? and if so, how is it done ?
Also, is there a java api that does these things ?
PS : Please don't give any solutions for C# or .Net (they have built in solutions) or for SharePoint On-Premise (as I've allready done that).