<?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: getting a Credential object using IdentityManager and ServerInfo in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78645#M1777</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Can you use HttpFox to see what the requests and responses are?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's an AIR application, but I ran Fiddler (should have thought of that in the first place!). The returned message in plain text is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Book Antiqua;"&gt;&lt;BR /&gt;{"error":{"code":499,"message":"Unauthorized access","details":[]}}&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is weird, because those are the same credentials I use getting the token using an HTTPService (mx.rpc.http.HTTPService.HTTPService).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could it be my firewall? I will test again from outside the firewall later...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Aug 2012 19:18:48 GMT</pubDate>
    <dc:creator>DirkVandervoort</dc:creator>
    <dc:date>2012-08-17T19:18:48Z</dc:date>
    <item>
      <title>getting a Credential object using IdentityManager and ServerInfo</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78641#M1773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The code below fails with the error message. How do I get the credential based on my token service URL?: TIA&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;faultCode:null faultString:'Error #2032: Stream Error. URL:&lt;A href="https://gis.blahblahblah.com/arcgis/tokens?tokens"&gt;https://gis.blahblahblah.com/arcgis/tokens?tokens&lt;/A&gt;' faultDetail:'null'&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var serverInfo:ServerInfo = new ServerInfo();&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; serverInfo.tokenServiceURL="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://gis.blahblahblah.com/arcgis/tokens?tokens" rel="nofollow" target="_blank"&gt;https://gis.blahblahblah.com/arcgis/tokens?tokens&lt;/A&gt;&lt;SPAN&gt;";&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IdentityManager.instance.generateCredential(serverInfo, myStupidUserName, myStupidPassword, new AsyncResponder(credentialResponse, credentialFault));&lt;BR /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 22:32:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78641#M1773</guid>
      <dc:creator>DirkVandervoort</dc:creator>
      <dc:date>2012-08-14T22:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: getting a Credential object using IdentityManager and ServerInfo</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78642#M1774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try setting the tokenServiceURL to the same as what you see on your server at /arcgis/rest/info&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://sampleserver6.arcgisonline.com/arcgis/rest/info"&gt;http://sampleserver6.arcgisonline.com/arcgis/rest/info&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 15:56:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78642#M1774</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2012-08-15T15:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: getting a Credential object using IdentityManager and ServerInfo</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78643#M1775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; Try setting the tokenServiceURL to the same as what you see on your server at /arcgis/rest/info&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That does not work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It returns the mx.RPC.Fault message of:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Book Antiqua;"&gt; &lt;BR /&gt;&lt;SPAN style="color:&amp;quot;#0000CD&amp;quot;;"&gt;faultCode:null faultString:'Error #2032: Stream Error. URL: &lt;A href="https://gis.blahblahblah.com/ArcGIS/tokens" rel="nofollow"&gt;https://gis.blahblahblah.com/ArcGIS/tokens&lt;/A&gt;' faultDetail:'null'&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm on AGS 10.03 if that's any help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 17:49:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78643#M1775</guid>
      <dc:creator>DirkVandervoort</dc:creator>
      <dc:date>2012-08-17T17:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: getting a Credential object using IdentityManager and ServerInfo</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78644#M1776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you use HttpFox to see what the requests and responses are?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 18:10:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78644#M1776</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2012-08-17T18:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: getting a Credential object using IdentityManager and ServerInfo</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78645#M1777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Can you use HttpFox to see what the requests and responses are?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's an AIR application, but I ran Fiddler (should have thought of that in the first place!). The returned message in plain text is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Book Antiqua;"&gt;&lt;BR /&gt;{"error":{"code":499,"message":"Unauthorized access","details":[]}}&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is weird, because those are the same credentials I use getting the token using an HTTPService (mx.rpc.http.HTTPService.HTTPService).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could it be my firewall? I will test again from outside the firewall later...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 19:18:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78645#M1777</guid>
      <dc:creator>DirkVandervoort</dc:creator>
      <dc:date>2012-08-17T19:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: getting a Credential object using IdentityManager and ServerInfo</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78646#M1778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What was the request for this response? If the response code is 200, then this response should not be generating a "Error #2032: Stream Error".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 19:35:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78646#M1778</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2012-08-17T19:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: getting a Credential object using IdentityManager and ServerInfo</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78647#M1779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What was the request for this response? If the response code is 200, then this response should not be generating a "Error #2032: Stream Error".&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Oops, my mistake. The Unauthorized access error was from trying to load the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The POST result trying to get the Credential is: 405 (Method Not Allowed)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 22:48:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78647#M1779</guid>
      <dc:creator>DirkVandervoort</dc:creator>
      <dc:date>2012-08-17T22:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: getting a Credential object using IdentityManager and ServerInfo</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78648#M1780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try setting the tokenServiceURL to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://gis.blahblahblah.com/ArcGIS/tokens/generateToken"&gt;https://gis.blahblahblah.com/ArcGIS/tokens/generateToken&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 16:48:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78648#M1780</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2012-08-20T16:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: getting a Credential object using IdentityManager and ServerInfo</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78649#M1781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Try setting the tokenServiceURL to:&lt;BR /&gt;&lt;A href="https://gis.blahblahblah.com/ArcGIS/tokens/generateToken"&gt;https://gis.blahblahblah.com/ArcGIS/tokens/generateToken&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No, sorry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The returned content:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Book Antiqua;"&gt;405 - HTTP verb used to access this page is not allowed.&lt;BR /&gt;The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 18:50:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78649#M1781</guid>
      <dc:creator>DirkVandervoort</dc:creator>
      <dc:date>2012-08-20T18:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: getting a Credential object using IdentityManager and ServerInfo</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78650#M1782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you able to generate a token from the HTML form at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://gis.blahblahblah.com/ArcGIS/tokens/"&gt;https://gis.blahblahblah.com/ArcGIS/tokens/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 18:55:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78650#M1782</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2012-08-20T18:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: getting a Credential object using IdentityManager and ServerInfo</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78651#M1783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Are you able to generate a token from the HTML form at:&lt;BR /&gt;&lt;A href="https://gis.blahblahblah.com/ArcGIS/tokens/"&gt;https://gis.blahblahblah.com/ArcGIS/tokens/&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, same error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 19:55:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78651#M1783</guid>
      <dc:creator>DirkVandervoort</dc:creator>
      <dc:date>2012-08-20T19:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: getting a Credential object using IdentityManager and ServerInfo</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78652#M1784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'd suggest contacting &lt;/SPAN&gt;&lt;A href="http://support.esri.com"&gt;http://support.esri.com&lt;/A&gt;&lt;SPAN&gt; to get this working first.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 20:20:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/getting-a-credential-object-using-identitymanager/m-p/78652#M1784</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2012-08-20T20:20:51Z</dc:date>
    </item>
  </channel>
</rss>

