简体   繁体   中英

How to authenticate at Microsoft Report Server 2008 using Android SDK (Java)?

I am currently trying to create an app that needs to access a single file on a MS Reportserver 2008 using a network connection. Normally, I do this kind of things by using the Authenticator.getPasswordAuthentication class to authenticate a user, and then getting the file using the HttpURLConnection class. On other servers, this usually works, but obviously ReportServer needs some other kind of authentication, because I always get an error 401 ( java.io.IOException: No authentication challenges found ).

I just wonder: what is the desired way to generally access a single file on a MS Report Server? How can I authenticate a user, and then get access to a file? I have no clue how to correctly authenticate to that Microsoft system using Android SDK, preferably without the requirement of using a third-party lib.

Do you have any suggestion how to easily handle this?

可以利用Reporting Services。您可以通过连接获取报告列表和/或文件夹和/或元数据。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM