Secured REST Services Throws Error in Viewer
I have a viewer that works fine if I am using public REST services from our AGS. It even loads fine if I add secured services that are open to the entire organization. However, if I add secured services that are locked down to several specific Windows AD Security groups, my site won't load.
In fact, it throws the error 'Viewer with ID 'TestSecured' not found (Chrome Developer's Tool) and tries to redirect me to a LG demo site (http://gedemo.geocortex.com/Geocortex/Essentials/Prod/REST/info?f=json)
Anyone else seen this same issue?
AGS: 10.4.0
GE: 4.5.0
HTML5: 2.6.0
Thanks,
Mark
0
-
Hi Mark,
As you could imagine, this is unexpected behaviour and will need a closer look. I would suggest submitting a support case to support@latitudegeo.com and if possible include:
1) the version numbers you are using (4.5.0/2.6.0)
2) a Fiddler capture of the failure (http://www.telerik.com/fiddler/fiddlercap)
3) a screenshot of the errors from the developer tools
Thanks,
Wayne Richard
Latitude Geographics Group Ltd.
Head Office: 300 – 1117 Wharf Street Victoria, BC Canada V8W 1T7
Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com
Developers of Geocortex web-based mapping software | www.geocortex.com
An Esri Platinum Business Partner0 -
Hi Mark,
That's a strange one! One thing you could check is to take a look in the configured map service on your site, edit the connection settings, and make sure that you are acting like the connected windows user (which from your post sounds like what you are trying to do). The default is to connect as the configured user only. Here's a screenshot to show you what I am refering to:
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90760000000XcjB&feoid=Body&refid=0EM60000000XwD4" _/_img_
I hope this helps!
Thanks,
Danny0 -
Danny,
I've tested with my Windows credentials and it works just fine. However, I do not want to store my credentials to make this work. I need to know why it's not passing through/inhereting the user's AD credentials to access the REST service.
-Mark0 -
Also Danny, if I remove my credentials and select 'Connected Windows User' under 'Act Like'. It works as expected. Very odd.
-Mark0 -
Hi Mark,
That's what I would expect it to do :)
When you make the service connection, you need to supply the user account that has permission to access the map service (like your account for instance), but once the service is added to the map, you can set the permissions so that rather than connecting with the configured account, we connect as the current windows user instead.
I hope this helps! As Wayne suggested, if you are still having problems, please open a case, and myself, or one of the other analysts would be happy to have a look with you.
Cheers!
Danny0 -
My Fiddler install is acting up. Look for a case submission tomorrow.
-Mark0 -
Hi Danny
May I used this post to ask you a question ?
I added my secure connection like you (Configured User Only), Test Connection is true.
But when I come back on my map, it asks me the credential again.
What iswrong ?
Best Regard
Jérôme.0 -
Hi Jérôme,
Just to confirm, are you signed into the viewer using Windows Integrated security? If you are being prompted for a password, it sounds to me like:
A) You are not signed in, or
B) The user you are signed in as does not have permission to access the map service.
I hope that helps!
Thanks,
Danny0 -
Hi Danny,
I used Windows Integrated security. But for a specific map service i want to use another credential.
The map service is delivered by an another team and the security is not Windows Integrated, i have a user and a password.
I was thinking that it was possible to store this credential in the map service definition. But everytime i'm launching the viewer, it asks me the credential :(
Jérôme.0 -
Hi Jérôme,
By default, Essentials will connect with the credentials you configure in Essentials Manager. The change that Mark is asking about sounds like the opposite of what you want to do. I would suggest referring to section 11.2 of the GE Administrator and Developer guide to find instructions for adding a secured map service connection using specific credentials.
If you're still having trouble, I would suggest you open a support case, so we can assist you via a screen sharing session!
I hope this helps :)
Thanks,
Danny0 -
ok Danny, thank you, I'll investigate;)
Best Regard,
Jérôme.0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
11 kommentarer