<?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: Editing in SL API - Dealing with Tokens from AGS Manager in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-in-sl-api-dealing-with-tokens-from-ags/m-p/491618#M12612</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In addition to Brook's response, please also look at the following blog post: &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2010/02/15/How-to-use-secure-ArcGIS-Server-services.aspx"&gt;http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2010/02/15/How-to-use-secure-ArcGIS-Server-services.aspx&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Aug 2010 00:02:07 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2010-08-18T00:02:07Z</dc:date>
    <item>
      <title>Editing in SL API - Dealing with Tokens from AGS Manager</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-in-sl-api-dealing-with-tokens-from-ags/m-p/491616#M12610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am in the process of implementing editing within the SL API 2.0, using AGS 10 and SL4. I have built the application and I can edit the layers I need to edit within the UI. Now the fun begins--locking things down so only the people I want to have edit rights can access the service. I have implemented SSL through IIS and set the appropriate permissions on the services I want users to be able to edit. Here are my questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Do all Tokens time-out or can you set a token not to expire?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;2. Is there a recommended method of passing a user name and password to the Token service? I have found the following example, &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://myserver.example.com/arcgis/tokens?request=gettoken&amp;amp;username=myuser" rel="nofollow" target="_blank"&gt;https://myserver.example.com/arcgis/tokens?request=gettoken&amp;amp;username=myuser&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;amp;password=secret1&amp;amp;clientid=ref.myserver.example.com&amp;amp;expiration=1440 but I am trying to come up with a work flow of how to submit this information at runtime, then pass the Token key as a parameter for the service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any advice/guidance will be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 19:27:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-in-sl-api-dealing-with-tokens-from-ags/m-p/491616#M12610</guid>
      <dc:creator>PaulLeedham</dc:creator>
      <dc:date>2010-08-17T19:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Editing in SL API - Dealing with Tokens from AGS Manager</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-in-sl-api-dealing-with-tokens-from-ags/m-p/491617#M12611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Paul,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure if you can create non-expiring tokens (since it would be less secure) - but perhaps you can.&amp;nbsp; I apologize that I can't offer you any help with that, but I'd be curious to know the answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regarding your second point, I've used a proxy page (as described in the API help at &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/help/Secure_services.htm"&gt;http://help.arcgis.com/en/webapi/silverlight/help/Secure_services.htm&lt;/A&gt;&lt;SPAN&gt;) to handle interaction with the token service.&amp;nbsp; That way, the credentials are all kept on the server, and are not embedded in your SL app (nor supplied by the users themselves).&amp;nbsp; I don't know if this will help given your requirements, but if you haven't looked at it yet, it might be of use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Brooks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 20:07:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-in-sl-api-dealing-with-tokens-from-ags/m-p/491617#M12611</guid>
      <dc:creator>BrooksShannon</dc:creator>
      <dc:date>2010-08-17T20:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Editing in SL API - Dealing with Tokens from AGS Manager</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-in-sl-api-dealing-with-tokens-from-ags/m-p/491618#M12612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In addition to Brook's response, please also look at the following blog post: &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2010/02/15/How-to-use-secure-ArcGIS-Server-services.aspx"&gt;http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2010/02/15/How-to-use-secure-ArcGIS-Server-services.aspx&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Aug 2010 00:02:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-in-sl-api-dealing-with-tokens-from-ags/m-p/491618#M12612</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2010-08-18T00:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Editing in SL API - Dealing with Tokens from AGS Manager</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-in-sl-api-dealing-with-tokens-from-ags/m-p/491619#M12613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the suggestions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I decided to go down proxy path.&amp;nbsp; This option worked best for our environment due to the fact that all the credentials are stored on the server.&amp;nbsp; That being said, I did have a few issues with the silverlight proxy provided on the silverlight api resources page.&amp;nbsp; I ended up logging a call with tech support and by using a different version of the proxy I was able to get everything working.&amp;nbsp; I did contact the engineer I worked with to resolve my issues and he will be posting his version of the proxy in this thread soon.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 17:30:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-in-sl-api-dealing-with-tokens-from-ags/m-p/491619#M12613</guid>
      <dc:creator>PaulLeedham</dc:creator>
      <dc:date>2010-09-01T17:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Editing in SL API - Dealing with Tokens from AGS Manager</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-in-sl-api-dealing-with-tokens-from-ags/m-p/491620#M12614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone. The proxy file that Paul used is below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2396&amp;amp;t=297001"&gt;http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2396&amp;amp;t=297001&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have anyone else been having issues with the proxy file that is on the Silverlight API reference page?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/help/Secure_services.htm"&gt;http://help.arcgis.com/en/webapi/silverlight/help/Secure_services.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 18:19:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-in-sl-api-dealing-with-tokens-from-ags/m-p/491620#M12614</guid>
      <dc:creator>ThaoLe</dc:creator>
      <dc:date>2010-09-01T18:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Editing in SL API - Dealing with Tokens from AGS Manager</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-in-sl-api-dealing-with-tokens-from-ags/m-p/491621#M12615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Have anyone else been having issues with the proxy file that is on the Silverlight API reference page?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't recall having any problems.&amp;nbsp; (I ran into other proxy-related issues, like a problem with the FeatureLayer's use of the proxy URL at 2.0 beta, but I had no problems with the actual proxy page itself, from what I could tell.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul, out of curiosity, what problems were you having?&amp;nbsp; It might be useful to know so I could switch to this other proxy page if I need to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Brooks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 19:35:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-in-sl-api-dealing-with-tokens-from-ags/m-p/491621#M12615</guid>
      <dc:creator>BrooksShannon</dc:creator>
      <dc:date>2010-09-01T19:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Editing in SL API - Dealing with Tokens from AGS Manager</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-in-sl-api-dealing-with-tokens-from-ags/m-p/491622#M12616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Paul, out of curiosity, what problems were you having?&amp;nbsp; It might be useful to know so I could switch to this other proxy page if I need to.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Brooks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We never really identified the specific issue, but to summarize, I was not able to get the proxy to work by passing either a token or user name and password credentials within the proxy.config file.&amp;nbsp; I could get everything working by hard coding the token value into the SL application but it would not work in the proxy. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did take a close look at the two proxy config files and there were some differences as far as the tags that were used to define your parameters.&amp;nbsp; The SL version used &amp;lt;serverItem /&amp;gt; and the other version used &amp;lt;serverUrl /&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In my discussions with the ESRI engineer, he did mention that he had made quite a few modifications to the proxy.ashx file, but I did not spend any time comparing the changes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For most users the proxy file referenced earlier in this thread may work fine.&amp;nbsp; If folks do start to experience issues I just wanted to post this out there to save you guys some time in troubleshooting the issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for your feedback...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 11:56:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-in-sl-api-dealing-with-tokens-from-ags/m-p/491622#M12616</guid>
      <dc:creator>PaulLeedham</dc:creator>
      <dc:date>2010-09-02T11:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Editing in SL API - Dealing with Tokens from AGS Manager</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-in-sl-api-dealing-with-tokens-from-ags/m-p/491623#M12617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, Paul.&amp;nbsp; I'll definitely keep the newer proxy page in mind, in case we notice similar oddities when using the original one.&amp;nbsp; And thanks again for helping to get the new page posted on the forum, for future use by other folks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a good one,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Brooks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 12:23:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-in-sl-api-dealing-with-tokens-from-ags/m-p/491623#M12617</guid>
      <dc:creator>BrooksShannon</dc:creator>
      <dc:date>2010-09-02T12:23:55Z</dc:date>
    </item>
  </channel>
</rss>

