<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Webservice performance when using authentication in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/webservice-performance-when-using-authentication/m-p/131579#M3253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are using active directory authentication on our arcgis webservices.&amp;nbsp; I'm watching the requests and responses using Fiddler.&amp;nbsp; I notice that when I make a request from one of our services I always get a 401 error response saying "not authorized", then I get a successful 200 response with my data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, it looks to me like the arcgis client classes are attempting anonymous requests and if they are challenged by getting a 401 response, then they send another request supplying credentials. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to force my requests to use my credentials the first time instead of waiting to get the unauthorized error response?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're using VPN on mobile devices so chattiness is definitely a performance issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Feb 2011 14:34:38 GMT</pubDate>
    <dc:creator>AndrewWhite</dc:creator>
    <dc:date>2011-02-23T14:34:38Z</dc:date>
    <item>
      <title>Webservice performance when using authentication</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/webservice-performance-when-using-authentication/m-p/131579#M3253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are using active directory authentication on our arcgis webservices.&amp;nbsp; I'm watching the requests and responses using Fiddler.&amp;nbsp; I notice that when I make a request from one of our services I always get a 401 error response saying "not authorized", then I get a successful 200 response with my data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, it looks to me like the arcgis client classes are attempting anonymous requests and if they are challenged by getting a 401 response, then they send another request supplying credentials. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to force my requests to use my credentials the first time instead of waiting to get the unauthorized error response?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're using VPN on mobile devices so chattiness is definitely a performance issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 14:34:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/webservice-performance-when-using-authentication/m-p/131579#M3253</guid>
      <dc:creator>AndrewWhite</dc:creator>
      <dc:date>2011-02-23T14:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Webservice performance when using authentication</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/webservice-performance-when-using-authentication/m-p/131580#M3254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is expected behavior. You can reproduce the same trace of web requests when using your web browser, if you set up Internet Options this way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Internet Options &amp;gt; Security &amp;gt; Local Intranet &amp;gt; Custom level... &amp;gt; User Authentication &amp;gt; Prompt for user name and password.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Internet Options &amp;gt; Advanced &amp;gt; Security &amp;gt; uncheck Enable Integrated Windows Authentication.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A 401 response from the service is neccesary. Without this, Credentials eventhough it is supplied in the request, will be ignored. You will find that if you restore your Internet Options settings (when Automatic logon is used), Fiddler will still show that 401 response from the server is received.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/aa383144(v=vs.85).aspx"&gt;http://msdn.microsoft.com/en-us/library/aa383144(v=vs.85).aspx&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 16:24:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/webservice-performance-when-using-authentication/m-p/131580#M3254</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-02-23T16:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Webservice performance when using authentication</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/webservice-performance-when-using-authentication/m-p/131581#M3255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay.&amp;nbsp; Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 22:14:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/webservice-performance-when-using-authentication/m-p/131581#M3255</guid>
      <dc:creator>AndrewWhite</dc:creator>
      <dc:date>2011-02-24T22:14:07Z</dc:date>
    </item>
  </channel>
</rss>

