<?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: Secured map service has problem. in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384254#M14915</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;There is a difference between securing services and using SSL (e.g., HTTPS), although best practice is to use them in conjunction with one another in many cases.&amp;nbsp; I am thinking that the services keep asking for authentication because no token is being passed from the Flex application.&amp;nbsp; If you're telling me that you're unable to actually generate a token using an HTTPS URL referrer, then you may have an incorrect configuration of SSL for ArcGIS for Server and/or for your Web Adaptor.&amp;nbsp; If you're using SSL, you need to configure your ArcGIS for Server site under the Security section of the Administrator Directory to "HTTP and HTTPS" or "HTTPS Only" (security &amp;gt; config &amp;gt; update).&amp;nbsp; Did you bind a security certificate to port 443 in IIS on the GIS and/or web server(s) such that the certificate uses the fully-qualified domain name of the host?&amp;nbsp; This can be a self-signed certificate or a CA certificate.&amp;nbsp; My guess is that you have configured your site to use &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//01540000066w000000"&gt;GIS Tier Authentication rather than Web Tier Authentication&lt;/A&gt;, but I just want to confirm.&amp;nbsp; Can you check in the ArcGIS Server Manager?&amp;nbsp; Also, when you say that generating a token "didn't work", do you get an error?&amp;nbsp; Please post a screenshot.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;H&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1-My ArcGIS server has not ssl security&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2- my flex application is on linux hosting service (with port 443) and my web address is htpps://***.com&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3- I have 10 secured map service on arcgis server that has user and role.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4- When I generate token for my web address (&lt;/SPAN&gt;&lt;A href="https://***.com"&gt;https://***.com&lt;/A&gt;&lt;SPAN&gt;) and put in my config.xml, it dont work and flex application ask user name and password.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5- If I dont put token in config.xml the flex application ask user 10 times credential (this mean token dont work).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6- excuse me because of my bad english.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 05 Apr 2014 19:12:12 GMT</pubDate>
    <dc:creator>anjelinaponkerat</dc:creator>
    <dc:date>2014-04-05T19:12:12Z</dc:date>
    <item>
      <title>Secured map service has problem.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384247#M14908</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;SPAN&gt; I have 20 map services, 10 map services are secured and 10 map services are not secured. When I lunch my flex application the authentication box shown 10 times and user should write user name and password 10 times. What should I do?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Best regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 11:48:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384247#M14908</guid>
      <dc:creator>anjelinaponkerat</dc:creator>
      <dc:date>2014-04-04T11:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Secured map service has problem.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384248#M14909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Which version of ArcGIS for Server are you using?&amp;nbsp; Which of these &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//0154000005rn000000"&gt;identity store configurations&lt;/A&gt;&lt;SPAN&gt; are you using for &lt;/SPAN&gt;&lt;STRONG&gt;users &lt;/STRONG&gt;&lt;SPAN&gt;and for &lt;/SPAN&gt;&lt;STRONG&gt;roles&lt;/STRONG&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 12:24:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384248#M14909</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2014-04-04T12:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Secured map service has problem.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384249#M14910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Which version of ArcGIS for Server are you using?&amp;nbsp; Which of these &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//0154000005rn000000"&gt;identity store configurations&lt;/A&gt; are you using for &lt;STRONG&gt;users &lt;/STRONG&gt;and for &lt;STRONG&gt;roles&lt;/STRONG&gt;?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I,m using ArcGIS Server 10.2 and I,m using "Users and roles from ArcGIS Server's built-in store".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 15:56:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384249#M14910</guid>
      <dc:creator>anjelinaponkerat</dc:creator>
      <dc:date>2014-04-04T15:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Secured map service has problem.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384250#M14911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Which version of ArcGIS for Server are you using?&amp;nbsp; Which of these &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//0154000005rn000000"&gt;identity store configurations&lt;/A&gt; are you using for &lt;STRONG&gt;users &lt;/STRONG&gt;and for &lt;STRONG&gt;roles&lt;/STRONG&gt;?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I,m wait...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Apr 2014 15:46:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384250#M14911</guid>
      <dc:creator>anjelinaponkerat</dc:creator>
      <dc:date>2014-04-05T15:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Secured map service has problem.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384251#M14912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Once you enter the credentials for a user who is part of a role that has access to the services, does everything work correctly from there for the remainder of your session?&amp;nbsp; Are you authenticating users at the GIS tier or Web tier (via web adaptor)?&amp;nbsp; Flex clients, like other REST applications, must be capable of providing a token to access the services that require a token. In most cases, it will not be appropriate to embed the user name and password for the service into the client-side JavaScript. Instead, a long-lived token can be obtained from the token server, and this token can be included in the client-side page. The token is then included in the request for the service.&amp;nbsp; Are you passing a GIS token via the application?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Source: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Accessing_ArcGIS_token_secured_web_services/0154000005r3000000/" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#/Accessing_ArcGIS_token_secured_web_services/0154000005r3000000/&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Apr 2014 16:37:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384251#M14912</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2014-04-05T16:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Secured map service has problem.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384252#M14913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Once you enter the credentials for a user who is part of a role that has access to the services, does everything work correctly from there for the remainder of your session?&amp;nbsp; Are you authenticating users at the GIS tier or Web tier (via web adaptor)?&amp;nbsp; Flex clients, like other REST applications, must be capable of providing a token to access the services that require a token. In most cases, it will not be appropriate to embed the user name and password for the service into the client-side JavaScript. Instead, a long-lived token can be obtained from the token server, and this token can be included in the client-side page. The token is then included in the request for the service.&amp;nbsp; Are you passing a GIS token via the application?&lt;BR /&gt;&lt;BR /&gt;Source: &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Accessing_ArcGIS_token_secured_web_services/0154000005r3000000/"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#/Accessing_ArcGIS_token_secured_web_services/0154000005r3000000/&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I enter the credential once just one map service shown and if I dont enter other credentials&amp;lt; other map services dont show on the web application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My web address is: &lt;/SPAN&gt;&lt;A href="https://****.com"&gt;https://****.com&lt;/A&gt;&lt;SPAN&gt; and when I generate token for my https it dont work for me and flex application ask user name and password again!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Apr 2014 18:25:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384252#M14913</guid>
      <dc:creator>anjelinaponkerat</dc:creator>
      <dc:date>2014-04-05T18:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Secured map service has problem.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384253#M14914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is a difference between securing services and using SSL (e.g., HTTPS), although best practice is to use them in conjunction with one another in many cases.&amp;nbsp; I am thinking that the services keep asking for authentication because no token is being passed from the Flex application.&amp;nbsp; If you're telling me that you're unable to actually generate a token using an HTTPS URL referrer, then you may have an incorrect configuration of SSL for ArcGIS for Server and/or for your Web Adaptor.&amp;nbsp; If you're using SSL, you need to configure your ArcGIS for Server site under the Security section of the Administrator Directory to "HTTP and HTTPS" or "HTTPS Only" (security &amp;gt; config &amp;gt; update).&amp;nbsp; Did you bind a security certificate to port 443 in IIS on the GIS and/or web server(s) such that the certificate uses the fully-qualified domain name of the host?&amp;nbsp; This can be a self-signed certificate or a CA certificate.&amp;nbsp; My guess is that you have configured your site to use &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//01540000066w000000"&gt;GIS Tier Authentication rather than Web Tier Authentication&lt;/A&gt;&lt;SPAN&gt;, but I just want to confirm.&amp;nbsp; Can you check in the ArcGIS Server Manager?&amp;nbsp; Also, when you say that generating a token "didn't work", do you get an error?&amp;nbsp; Please post a screenshot.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Apr 2014 18:41:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384253#M14914</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2014-04-05T18:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Secured map service has problem.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384254#M14915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;There is a difference between securing services and using SSL (e.g., HTTPS), although best practice is to use them in conjunction with one another in many cases.&amp;nbsp; I am thinking that the services keep asking for authentication because no token is being passed from the Flex application.&amp;nbsp; If you're telling me that you're unable to actually generate a token using an HTTPS URL referrer, then you may have an incorrect configuration of SSL for ArcGIS for Server and/or for your Web Adaptor.&amp;nbsp; If you're using SSL, you need to configure your ArcGIS for Server site under the Security section of the Administrator Directory to "HTTP and HTTPS" or "HTTPS Only" (security &amp;gt; config &amp;gt; update).&amp;nbsp; Did you bind a security certificate to port 443 in IIS on the GIS and/or web server(s) such that the certificate uses the fully-qualified domain name of the host?&amp;nbsp; This can be a self-signed certificate or a CA certificate.&amp;nbsp; My guess is that you have configured your site to use &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//01540000066w000000"&gt;GIS Tier Authentication rather than Web Tier Authentication&lt;/A&gt;, but I just want to confirm.&amp;nbsp; Can you check in the ArcGIS Server Manager?&amp;nbsp; Also, when you say that generating a token "didn't work", do you get an error?&amp;nbsp; Please post a screenshot.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;H&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1-My ArcGIS server has not ssl security&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2- my flex application is on linux hosting service (with port 443) and my web address is htpps://***.com&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3- I have 10 secured map service on arcgis server that has user and role.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4- When I generate token for my web address (&lt;/SPAN&gt;&lt;A href="https://***.com"&gt;https://***.com&lt;/A&gt;&lt;SPAN&gt;) and put in my config.xml, it dont work and flex application ask user name and password.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5- If I dont put token in config.xml the flex application ask user 10 times credential (this mean token dont work).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6- excuse me because of my bad english.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Apr 2014 19:12:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384254#M14915</guid>
      <dc:creator>anjelinaponkerat</dc:creator>
      <dc:date>2014-04-05T19:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Secured map service has problem.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384255#M14916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, are you implying that the Flex web app is hosted on a different machine than your ArcGIS for Server services?&amp;nbsp; You still haven't said if you're using the Web Adaptor or not, and you still haven't stated whether your ArcGIS Server Manager indicates GIS Tier or Web Tier for the authentication type.&amp;nbsp; One thing that could be an issue is your &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//01550000051q000000"&gt;cross domain policy&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; To access data from a different server other than the one hosting your Flex application, the remote server needs to have a cross-domain file in the root directory.&amp;nbsp; It may be worth checking the crossdomain.xml file on your ArcGIS for Server machine (and clientaccesspolicy.xml file on your web server if using the Web Adaptor) to ensure they are not blocking requests for your resources (services).&amp;nbsp; I am not sure if this is the problem or not, as it has been tough to understand your configuration up to this point.&amp;nbsp; However, you may want to consider opening a ticket with Esri Support.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Apr 2014 19:37:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384255#M14916</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2014-04-05T19:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Secured map service has problem.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384256#M14917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ok, are you implying that the Flex web app is hosted on a different machine than your ArcGIS for Server services?&amp;nbsp; You still haven't said if you're using the Web Adaptor or not, and you still haven't stated whether your ArcGIS Server Manager indicates GIS Tier or Web Tier for the authentication type.&amp;nbsp; One thing that could be an issue is your &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//01550000051q000000"&gt;cross domain policy&lt;/A&gt;.&amp;nbsp; To access data from a different server other than the one hosting your Flex application, the remote server needs to have a cross-domain file in the root directory.&amp;nbsp; It may be worth checking the crossdomain.xml file on your ArcGIS for Server machine (and clientaccesspolicy.xml file on your web server if using the Web Adaptor) to ensure they are not blocking requests for your resources (services).&amp;nbsp; I am not sure if this is the problem or not, as it has been tough to understand your configuration up to this point.&amp;nbsp; However, you may want to consider opening a ticket with Esri Support.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1-I,m using web adaptor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2-I dont know what is tier.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Apr 2014 05:32:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384256#M14917</guid>
      <dc:creator>anjelinaponkerat</dc:creator>
      <dc:date>2014-04-06T05:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Secured map service has problem.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384257#M14918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Flex viewer is going to require your users to log on to each secured service separately, 10 times in your case.&amp;nbsp; The only way to avoid this is to publish a single secured service that contains all of the layers.&amp;nbsp; That way, users log on only once.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 14:24:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/secured-map-service-has-problem/m-p/384257#M14918</guid>
      <dc:creator>JillHalchin</dc:creator>
      <dc:date>2014-08-05T14:24:52Z</dc:date>
    </item>
  </channel>
</rss>

