<?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: 10.1 always returns true for RequiresTokens in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/10-1-always-returns-true-for-requirestokens/m-p/97164#M3763</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In 10.1 you can ask to know if accepts or requires tokens (see &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/soap/10.1/index.html#//01vp00000006000000" rel="nofollow noopener noreferrer" target="_blank"&gt;http://resources.arcgis.com/en/help/soap/10.1/index.html#//01vp00000006000000&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in rest you can test with&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://yourserver/arcgis/rest/services/yourservicesecurity/MapServer?f=json" rel="nofollow noopener noreferrer" target="_blank"&gt;http://yourserver/arcgis/rest/services/yourservicesecurity/MapServer?f=json&lt;/A&gt;&lt;SPAN&gt;. if is protected you have&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

{"error":{"code":499,"message":"Unauthorized access","details":[]}}

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 06:05:42 GMT</pubDate>
    <dc:creator>nicogis</dc:creator>
    <dc:date>2021-12-11T06:05:42Z</dc:date>
    <item>
      <title>10.1 always returns true for RequiresTokens</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/10-1-always-returns-true-for-requirestokens/m-p/97162#M3761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im accessing Server 10.1 via C# SOAP proxy classes. To see if i need to generate token i call Service Catalog's method RequiresTokens. Every time i call it it returns 'true' although not a single service on the server is secured. If i point at other 9.3.1 unprotected server instance the same code&amp;nbsp; correctly returns 'false' when&amp;nbsp; calling RequiresTokens. On the 10.1 server i have no web adaptor installed or configured. Any hints or ideas how to detect if token generation is needed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Btw is there RequiresTokens available via REST ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 12:07:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/10-1-always-returns-true-for-requirestokens/m-p/97162#M3761</guid>
      <dc:creator>SzymonPiskula</dc:creator>
      <dc:date>2013-05-24T12:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: 10.1 always returns true for RequiresTokens</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/10-1-always-returns-true-for-requirestokens/m-p/97163#M3762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is the link that you can use on the ArcGIS Server machine to see the REST documentation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://localhost:6080/arcgis/admin/www/doc/index.html"&gt;http://localhost:6080/arcgis/admin/www/doc/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a good discussion on security (search for token):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//0154000005qz000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//0154000005qz000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 12:46:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/10-1-always-returns-true-for-requirestokens/m-p/97163#M3762</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2013-05-24T12:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: 10.1 always returns true for RequiresTokens</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/10-1-always-returns-true-for-requirestokens/m-p/97164#M3763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In 10.1 you can ask to know if accepts or requires tokens (see &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/soap/10.1/index.html#//01vp00000006000000" rel="nofollow noopener noreferrer" target="_blank"&gt;http://resources.arcgis.com/en/help/soap/10.1/index.html#//01vp00000006000000&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in rest you can test with&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://yourserver/arcgis/rest/services/yourservicesecurity/MapServer?f=json" rel="nofollow noopener noreferrer" target="_blank"&gt;http://yourserver/arcgis/rest/services/yourservicesecurity/MapServer?f=json&lt;/A&gt;&lt;SPAN&gt;. if is protected you have&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

{"error":{"code":499,"message":"Unauthorized access","details":[]}}

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:05:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/10-1-always-returns-true-for-requirestokens/m-p/97164#M3763</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2021-12-11T06:05:42Z</dc:date>
    </item>
  </channel>
</rss>

