Windows authentication in android

前端 未结 1 509
时光说笑
时光说笑 2021-01-20 14:04

I am using WCF webservice in android... i\'ve to authenticate the user with windows authentication Here\'s my java code

public void test3()
{
       try
             


        
1条回答
  •  一整个雨季
    2021-01-20 14:58

    (The OP answered by posting a web link. Converted to a Community Wiki Answer; Question with no answers, but issue solved in the comments (or extended in chat) )

    The link was: http://mrrask.wordpress.com/2009/08/21/android-authenticating-via-ntlm/

    A summary of which is:

    It uses an HttpClient which needs an AuthScemeFactory that will return the AuthScheme descendant NTLMScheme. NTLMScheme requires an implementation of the NTLMEngine interface to operate on. The JCIFS library has functionality for creating type 1 2 & 3 NTLM messages making it a perfect candidate for implementing the NTLMEngine.

    0 讨论(0)
提交回复
热议问题