<?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 Update a Feature w/ GeoEvent Processor on a secured service in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/update-a-feature-w-geoevent-processor-on-a-secured/m-p/462454#M2016</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a successful GeoEvent service set up that updates Police incidents in real time.&amp;nbsp; The output connector is updating a feature that is in a published service with feature access enabled.&amp;nbsp; All fairly straightforward, but now that we have it working, we need to put security on this service.&lt;/P&gt;&lt;P&gt;With security enabled on this service, GeoEvent processor can no longer see the feature service to update.&amp;nbsp; Research has led me pursue the 'Use Token' option in the Registered ArcGIS Server settings within GeoEvent Manager.&amp;nbsp; &lt;/P&gt;&lt;P&gt;My issue is actually getting the appropriate token.&amp;nbsp; It seems you need to go the server's tokens location (&amp;lt;myserver.domain&amp;gt;/arcgis/tokens/) and generate a token.&amp;nbsp; I am having trouble finding the correct HTTP referer URL to use. &lt;/P&gt;&lt;P&gt;From the ArcServer help docs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI style="text-align: center;"&gt;&lt;SPAN class="uicontrol" style="font-weight: bold;"&gt;HTTP Referer&lt;/SPAN&gt;: When this (default) option is selected, the issued token can only be used in requests referred by the specified URL. &lt;SPAN style="color: #3334ca;"&gt;&lt;EM&gt;&lt;STRONG&gt;This is the URL of the page from which the request is made to the ArcGIS resource.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt; Use this approach when building an application with the ArcGIS API for JavaScript or other REST-based applications, in which individual clients will request maps and data directly from the ArcGIS Server web service.&lt;/LI&gt;&lt;/UL&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;I am not sure what this URL should be in this case.&amp;nbsp; Additionally, I am not sure if, once I get the correct URL and token if this would need to be manually changed once the limit of our long-lived tokens is reached (1 day, currently).&amp;nbsp; That would not be a terribly convenient workflow.&lt;/P&gt;&lt;P style="text-align: left;"&gt;Any suggestions greatly appreciated.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Thanks -&lt;/P&gt;&lt;P style="text-align: left;"&gt;Allen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Feb 2016 17:40:59 GMT</pubDate>
    <dc:creator>AllenScully</dc:creator>
    <dc:date>2016-02-24T17:40:59Z</dc:date>
    <item>
      <title>Update a Feature w/ GeoEvent Processor on a secured service</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/update-a-feature-w-geoevent-processor-on-a-secured/m-p/462454#M2016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a successful GeoEvent service set up that updates Police incidents in real time.&amp;nbsp; The output connector is updating a feature that is in a published service with feature access enabled.&amp;nbsp; All fairly straightforward, but now that we have it working, we need to put security on this service.&lt;/P&gt;&lt;P&gt;With security enabled on this service, GeoEvent processor can no longer see the feature service to update.&amp;nbsp; Research has led me pursue the 'Use Token' option in the Registered ArcGIS Server settings within GeoEvent Manager.&amp;nbsp; &lt;/P&gt;&lt;P&gt;My issue is actually getting the appropriate token.&amp;nbsp; It seems you need to go the server's tokens location (&amp;lt;myserver.domain&amp;gt;/arcgis/tokens/) and generate a token.&amp;nbsp; I am having trouble finding the correct HTTP referer URL to use. &lt;/P&gt;&lt;P&gt;From the ArcServer help docs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI style="text-align: center;"&gt;&lt;SPAN class="uicontrol" style="font-weight: bold;"&gt;HTTP Referer&lt;/SPAN&gt;: When this (default) option is selected, the issued token can only be used in requests referred by the specified URL. &lt;SPAN style="color: #3334ca;"&gt;&lt;EM&gt;&lt;STRONG&gt;This is the URL of the page from which the request is made to the ArcGIS resource.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt; Use this approach when building an application with the ArcGIS API for JavaScript or other REST-based applications, in which individual clients will request maps and data directly from the ArcGIS Server web service.&lt;/LI&gt;&lt;/UL&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;I am not sure what this URL should be in this case.&amp;nbsp; Additionally, I am not sure if, once I get the correct URL and token if this would need to be manually changed once the limit of our long-lived tokens is reached (1 day, currently).&amp;nbsp; That would not be a terribly convenient workflow.&lt;/P&gt;&lt;P style="text-align: left;"&gt;Any suggestions greatly appreciated.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Thanks -&lt;/P&gt;&lt;P style="text-align: left;"&gt;Allen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 17:40:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/update-a-feature-w-geoevent-processor-on-a-secured/m-p/462454#M2016</guid>
      <dc:creator>AllenScully</dc:creator>
      <dc:date>2016-02-24T17:40:59Z</dc:date>
    </item>
  </channel>
</rss>

