[mapguide-users] MapGuide Viewer asks for Password on Right Click
Chris Claydon
chris.claydon at autodesk.com
Thu Mar 1 15:53:05 EST 2007
I can reproduce this behavior if I include a valid session ID in the URL used to launch a web layout in a browser. E.g.
http://localhost:8008/mapguide/mapviewerajax/?WEBLAYOUT=Library%3a%2f%2fSamples%2fSheboygan%2fLayouts%2fSheboyganPhp.WebLayout&LOCALE=en&SESSION=33433ada-0000-1000-8003-005056c00008_en_906FAA630AF20AF10AF0
The session is used for authentication, so I don't get prompted for a username and password when the page loads. However, if I then right-click on the properties pane, the authentication dialog pops up. This is presumably because the session ID does not get passed into that pane, which is a bug.
If I don't specify the session ID in the URL, I have to authenticate up front, which sets the credentials in the headers used by the browser for all subsequent requests - hence no more password dialogs.
Note that Studio does include the session ID in the request used to generate its previews. This is why the secondary authentication bug manifests itself.
Chris.
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Chris Gountanis
Sent: February 26, 2007 11:57 AM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] MapGuide Viewer asks for Password on Right Click
Here is something strange. It only pops an auth box in IE7. Firefox is good
to go :X
Chris
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Dave Wilson
Sent: Monday, February 26, 2007 12:50 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] MapGuide Viewer asks for Password on Right
Click
We've seen this behaviour in the Layer Preview within Studio. You can drag
to expose the legend. If you attempt to enable the layers the Authentication
fires. Whatever frame code is here likely is not getting the session id
passed to it is my guess.
Dave
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Andy Morsell
Sent: Monday, February 26, 2007 11:46 AM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] MapGuide Viewer asks for Password on Right
Click
I haven't seen that even when using my own wrapper. The sample application
does not behave that way either. I'm wondering if you have some other web
server authentication issues going on.
http://data.mapguide.com/mapguide/phpviewersample/ajaxviewersample.php
Andy
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Chris Gountanis
Sent: Monday, February 26, 2007 10:30 AM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] MapGuide Viewer asks for Password on Right
Click
It happens when you bring in the viewer using your own wrapper. The use does
not have to enter in the password since your app does the user auth session
id stuff but then right clicking on the left bars (Layers/Properties) brings
up a enter user password box.
Basically the development guide walks you through using the viewer in your
own frame or iframe so I am sure others have seen this. Just was hoping to
not touch code in the viewer so I can get updates when new releases are out.
Chris
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Andy Morsell
Sent: Monday, February 26, 2007 11:23 AM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] MapGuide Viewer asks for Password on Right
Click
I don't see that behavior in a web layout in either IE or Firefox ........
Andy
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Chris Gountanis
Sent: Monday, February 26, 2007 8:47 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] MapGuide Viewer asks for Password on Right Click
Is there a way to fix the viewer so it does not ask the user for a password
when they right click the Layers ^ bar or the Properties ^ bar within the
left frame area?
Chris
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
More information about the mapguide-users
mailing list