yasminaabdelhameed / sandrob

Automatically exported from code.google.com/p/sandrob
0 stars 0 forks source link

NTLM support for authentication #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

http://hc.apache.org/httpcomponents-client-ga/tutorial/html/authentication.html#
ntlm

public final class AndroidHttpClient implements HttpClient {
...

Android http client derives from apache http client.
In version 4.1 of apache client NTLM is build in.
Investigate if SandroB can switch to new version of 
apache client so that can support NTLM authentication.

Original issue reported on code.google.com by supp.san...@gmail.com on 14 Jun 2011 at 7:23

GoogleCodeExporter commented 8 years ago

Original comment by supp.san...@gmail.com on 14 Jun 2011 at 7:33

GoogleCodeExporter commented 8 years ago

Original comment by supp.san...@gmail.com on 19 Jun 2011 at 8:05

GoogleCodeExporter commented 8 years ago
Beta version for 2.2.1+

http://sandrob.googlecode.com/files/sandrob_stock221_1_0_2_14_beta.apk

Still a lot of testing to be done. 
Not tested with NTLM proxy (ISA proxy).
Known issue if simultaneous requests for the same url with NTLM handshake.

Input format is: 
 domain\username
 password

By default credentials are stored and reused. 
Stored in sqlite database the same way as other (basic, digest).
Stored with the key hostname. Probably need finer separation.

Original comment by supp.san...@gmail.com on 23 Jun 2011 at 8:40

GoogleCodeExporter commented 8 years ago
Fixed problems with ntlm proxy. 

Works also for SandroB <-> ntlm proxy <-> ntlm web server

Still need to resolve how to handle https/ntlm together.

Original comment by supp.san...@gmail.com on 26 Jun 2011 at 5:50

GoogleCodeExporter commented 8 years ago
New beta version:

http://code.google.com/p/sandrob/downloads/detail?name=sandrob_stock221_1_0_2_15
_ntlm_beta.apk

known bugs:
 - Still missing support for https/ntlm working together.
 - If there is burst of requests sometimes popup still appears 
   asking for credentials.

Original comment by supp.san...@gmail.com on 27 Jun 2011 at 6:33

GoogleCodeExporter commented 8 years ago

http://code.google.com/p/sandrob/downloads/detail?name=sandrob_stock221_1_0_2_16
_ntlm_beta.apk

known bugs:
 Menu->Settings->SandroB spec. settings -> proxy username/password 
 works only for https

Original comment by supp.san...@gmail.com on 28 Jun 2011 at 11:42

Attachments:

GoogleCodeExporter commented 8 years ago

http://code.google.com/p/sandrob/downloads/detail?name=sandrob_stock221_1_0_2_17
_ntlm_beta.apk

Pre release version.
Tested:
 SandroB <-> ntlm proxy (ISA) <-> http/https ntml web server
 SandroB <-> proxy (squid) <-> http/https ntml web server
 SandroB <-> http/https ntlm web server

Any feedback appreciated.

Original comment by supp.san...@gmail.com on 29 Jun 2011 at 5:06

GoogleCodeExporter commented 8 years ago
Finished
New version of SandroB is on the Market
Known bugs:
Digest proxy not working for https/ntlm web servers

Original comment by supp.san...@gmail.com on 2 Jul 2011 at 10:23