Open pfoppe opened 6 years ago
I can confirm the same situation occurs outside of an SOE endpoint.
Accessing the root of an arcgis server site also poses the same problem.
EX: https://www.example.com/arcgis/rest/services fails
but https://www.example.com/arcgis/rest/services?f=json (or f=json in the body) succeeds.
While attempting authenticated access to an SOE endpoint setup with web-tier security (Negotiate), the ArcGISServerAuth handler failed to authenticate with kerberos. The auth handler fell back to NTLM but the username/password is not supplied so the NTLM Auth handler throws an exception.
TODO:
Code Sample:
Exception:
Here is further information on the problem (attempting HTTPKerberosAuth on the endpoint without the ArcGISServerAuth handler in the mix):
this threw an HTTP Status Code 405 (Method Not Allowed) implying the endpoint does not allow the HEAD request method.
However... if you provide the 'f=json' parameter (either as a body or URL string) then it works.