How can I authenticate SharePoint REST calls from

2019-06-09 03:40发布

I have a website that is built using SharePoint Foundation 2013.I have a number of list and libraries there.

For Example: I need to develop a android application to show the SharePoint List Items/Data. Using the SharePoint 2013 Rest API, We can get the Data form SharePoint.

But The problem is the authentication. I'm using Windows NTLM claim based authentication in the SharePoint foundation 2013.

How can I authenticate my SharePoint site inside the android application and get the SharePoint data and displays it in the android app?

Does anyone know the solution?

2条回答
我欲成王,谁敢阻挡
2楼-- · 2019-06-09 04:08

You need to use NTLM Authentication library on Android.

Check out this: http://danhounshell.com/blog/android-using-ntlm-authentication-with-httpclient/

You can use the JAR available at this location to make HTTP requests with NTLM:

http://jcifs.samba.org/

查看更多
【Aperson】
3楼-- · 2019-06-09 04:18

We use 3rd party library JShare. This library supports NTLM and works with Java and Android

查看更多
登录 后发表回答