[mapguide-internals] Using MapGuide credentials for feature sources

Bruce Dechant bruce.dechant at autodesk.com
Thu Nov 1 17:49:10 EDT 2007


There are handled exactly the same way except that they are specified in Studio at the time you create the feature source.

-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Zac Spitzer
Sent: November 1, 2007 3:39 PM
To: MapGuide Internals Mail List
Subject: Re: [mapguide-internals] Using MapGuide credentials for feature sources

Hi Bruce,

What about the %MG_USERNAME% and %MG_PASSWORD% variant's?

z

On 11/2/07, Bruce Dechant <bruce.dechant at autodesk.com> wrote:
> Hi All,
>
> This question came up in the PSC meeting that I unfortunately missed.
>
> In Studio when you specify the "Use MapGuide credentials" for the feature source there are 2 parameters that will get substituted in the feature source when it is accessed they are %MG_LOGIN_USERNAME% and %MG_LOGIN_PASSWORD%.
> MapGuide will substitute the currently connected user login credentials when this feature source is accessed. So ensure that when you use this type of credentials that the underlying feature source has a matching user/password for when you login.
>
> A potential cause for error when using it this way is that when you are authoring a map and creating a feature source this way you are an "Administrator" and then later test it out in your web browser as an "Anonymous" user. One user may have access to the feature source and the other may not.
>
> Thanks,
> Bruce
>
>
> _______________________________________________
> mapguide-internals mailing list
> mapguide-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>


--
Zac Spitzer
http://zacster.blogspot.com/
+61 405 847 168 (aussie moible)
_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals


More information about the mapguide-internals mailing list