Xamarin:身份验证使用Windows身份验证的Android应用程序 [英] Xamarin : Authenticating Android application using Windows Authentication
问题描述
我必须在这里用户使用Windows身份验证身份验证的ASP.net web应用程序托管WCF服务。现在我试图写一个Android应用程序消耗这个WCF服务。
I have a WCF Service hosted by an ASP.net web application where user is authenticated using windows authentication. Now I am trying to write an Android application to consume this WCF Service.
不知道如何让我的应用程序Windows验证才能够启动消费服务?
Any idea how to get my application windows-authenticated to be able to start consuming the service?
推荐答案
开箱,没有支持。但你可以看看JCIFS( http://jcifs.samba.org/ );实现CIFS / SMB联网协议库。与文档耦合在一起,在这里Apache的HTTP客户端上库( https://开头HC。 apache.org/httpcomponents-client-ga/ntlm.html )应该帮助你整合的Windows身份验证到您的Android应用程序。
Out of the box, there is no support. But you could look into JCIFS (http://jcifs.samba.org/); a library that implements the CIFS/SMB networking protocol. That library coupled together with the documentation here on Apache's HTTP client (https://hc.apache.org/httpcomponents-client-ga/ntlm.html) should help you integrate Windows Authentication into your Android app.
这篇关于Xamarin:身份验证使用Windows身份验证的Android应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!