Support for NTLM and Kerberos Security

2664
0
06-02-2014 10:29 AM
by Anonymous User
Not applicable
Just curious if anyone has run into this.  When using the CreateRuntimeGeodatabase sample that creates an offline geodatabase from a Feature Service I get connection errors (meaning that it cannot connect to the server) when using an internal server that can use both NTLM or Kerberos security.  The same code works off of an ESRI URL (the fire sample). I pass in the credentials as follows...

gdbSyncTask = new GeodatabaseSyncTask(url, credentials);

I am guessing that the runtime SDK's do not support NTLM or Kerberos and that I must do the "handshake" with either NTLM or Kerberos on the Android device first.  I have utilized NTLM libraries before to download TPK files (using standard Android download code) but have never done this to connect to a server running a feature service. I assume the concept would be the same though where you would have to establish the handshake (NTLM or Kerberos) and then provide the credentials a second time to connect to the feature service as in the line of code above????
0 Kudos
0 Replies