Re: [mapguide-users] impersonate mapagent to server

2017-01-10 Thread David Hequet
Ok i see what you can do building your own mapagent.. But not sure that it
can help me. I don't know how you can impersonte the final MgHttpRequest and
mapserver to use it.

My idea was that the final process ("mapserver.exe" service) know who i am.
So Oracle know who i am. 

Basic usage: in a view with "SYS_CONTEXT('USERENV','OS_USER')" col, display
my username in MapGuide Tooltip (right now it show the local system acount
who run mapserver.exe).

Heavy usage: connect Oracle to a VPD and filter shown based on connected
user.

thank you, i learnerd some usefull trick with mapagent



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/impersonate-mapagent-to-server-tp5298061p5302728.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] impersonate mapagent to server

2017-01-09 Thread David Hequet
thank you, i will give it a try



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/impersonate-mapagent-to-server-tp5298061p5302618.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] impersonate mapagent to server

2016-12-06 Thread Jackie Ng
You can use MgHttpRequest and MgHttpResponse to wrap the real mapagent and
present a mapagent-like HTTP interface to any client applications. Then in
your wrapper, you can set up whatever required credentials so that Oracle
knows who is connecting.

There's an old .net example on my github demonstrating this:
https://github.com/jumpinjackie/mapagent-dotnet-sample

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/impersonate-mapagent-to-server-tp5298061p5298961.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users