<?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 Re: Accessing a secure service using WPF API in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/accessing-a-secure-service-using-wpf-api/m-p/37256#M1001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't know about WPF API but in silverlight api,&amp;nbsp; we've set up a proxy page and all the request to our services are directed to this proxy page for credentials. If its intranet application, then we use window authentication to access the service. If you want to know more about the proxy page set up let me know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bernard&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 Mar 2011 22:37:39 GMT</pubDate>
    <dc:creator>BernardNtiamoah</dc:creator>
    <dc:date>2011-03-20T22:37:39Z</dc:date>
    <item>
      <title>Accessing a secure service using WPF API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/accessing-a-secure-service-using-wpf-api/m-p/37253#M998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to display a simple map control with one dynamic layer. I started with code similar to the simplest example here: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This code works on a sample silverlight application using silverlight API I made.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The WPF application crashes with 401 error without details. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I'm setting the Credentials property to a privileged user it runs but it displays a blank screen and in the eventviewer of the server I'm seeing few success audit messages and after them a few failure audit messages from Kerberos with that message: "unknown username or bad password" and no other details. My company's network is using Windows authentication.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I'm running fiddler it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope someone can help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Evgeny&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 15:39:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/accessing-a-secure-service-using-wpf-api/m-p/37253#M998</guid>
      <dc:creator>NANA</dc:creator>
      <dc:date>2011-03-17T15:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a secure service using WPF API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/accessing-a-secure-service-using-wpf-api/m-p/37254#M999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you define the layer that use a secured service, you need to set Credentials property. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;esri:ArcGISDynamicMapServiceLayer Url="mysercuredserviceurl" Credentials="{StaticResource MyCredentials}" InitializationFailed="Layer_InitializationFailed" Initialized="Layer_Initialized"/&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your server must have Anonymous Authentication Disabled and Windows Authentication Enabled. Otherwise, Credentials will be ignored even if it was supplied. The following link might be helpful: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//0093000000pz000000.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//0093000000pz000000.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:26:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/accessing-a-secure-service-using-wpf-api/m-p/37254#M999</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-10T21:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a secure service using WPF API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/accessing-a-secure-service-using-wpf-api/m-p/37255#M1000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As I wrote in my original post, I was using the Credentials property. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked your suggested configuration and it seems that we are already using this configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are using ArcGIS server 9.3.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe it is the reason that it doesn't work?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Mar 2011 10:25:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/accessing-a-secure-service-using-wpf-api/m-p/37255#M1000</guid>
      <dc:creator>NANA</dc:creator>
      <dc:date>2011-03-20T10:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a secure service using WPF API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/accessing-a-secure-service-using-wpf-api/m-p/37256#M1001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't know about WPF API but in silverlight api,&amp;nbsp; we've set up a proxy page and all the request to our services are directed to this proxy page for credentials. If its intranet application, then we use window authentication to access the service. If you want to know more about the proxy page set up let me know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bernard&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Mar 2011 22:37:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/accessing-a-secure-service-using-wpf-api/m-p/37256#M1001</guid>
      <dc:creator>BernardNtiamoah</dc:creator>
      <dc:date>2011-03-20T22:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a secure service using WPF API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/accessing-a-secure-service-using-wpf-api/m-p/37257#M1002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think the following server doc is applicable for ArcGIS Server 9.3.1 &lt;/SPAN&gt;&lt;A href="http://webhelp.esri.com/arcgisserver/9.3/java/index.htm#implement_security.htm"&gt;http://webhelp.esri.com/arcgisserver/9.3/java/index.htm#implement_security.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What version of WPF API are you using?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2011 18:19:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/accessing-a-secure-service-using-wpf-api/m-p/37257#M1002</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-03-21T18:19:04Z</dc:date>
    </item>
  </channel>
</rss>

