google app engine - NTLM Authentication not possible in AppEngine -


i'm writing app engine application interfaces corporate sharepoint server needs authenticate using ntlm authentication (no support basic,digest or kerberos auth)

i'm using apache httpclient 4.1.3 because supports ntlm authentication out of box.

you need implement custom clientconnectionmanager , managedclientconnection because of classes used internally not in appengine jre class white list, found couple of implementations in internet no probs there (esxx server implements one).

i have working on local appengine development server surprise won't work on production appengine server.

after many investigations, found ntlm authentication needs persistent connection in order make handshake consisting in exchanging 3 messages in 2 consecutive http requests. 2 http requests must done using same connection (persistent connection), if not server refuse authenticate.

it seems urlfetchservice uses different connections each request , there no way of keeping connection open. same applies if you're using urlconnection ... receive response cannot send more data in connection.

does have managed ntlm authentication in appengine?

is there anyway have persistent connection?

i'm using appengine version 1.6.3.

you're out of luck on one. app engine not support persistent http connections. reference @ bottom here: http://code.google.com/appengine/docs/java/urlfetch/usingjavanet.html

the way know of create persistent connection on app engine via channel api, , that's creating channel, have no access underlying tcp connection.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -