[MapProxy] Implement Mapproxy Authentication with Key/Token

Berger, Steffen s.berger at atenekom.eu
Fri Feb 15 05:58:45 PST 2019


Hi,
I'm building a Django-based UserManagement to plugin into MapProxy's Authentication/Authorization system.
With Basic Auth everthing works fine, but I would also like to allow users to authenticate with a token (e.g uuid)

I had the idea to add this token to the URL http://myurl.de/<uuid>/service?<http://myurl.de/uuid/service?>. It need some adoption of the "PATH_INFO" in the authentication middleware, but it works fine except on thing:

It is not possible to use the URL in a Desktop GIS system, because the OnlineResource URL in the Capabilites Document does (of course) not contain the token.

And here comes the question:
Is possible the modify the OnlineResource Url within the Authentication/Authorization Middleware?


Thanks in Advance!

Steffen



[cid:atene_logo_1133be95-9699-480d-b2d9-203a3b08d087.png]

Steffen Berger
Anwendungsentwicklung
Tel. +49 30 22183-3534 | Fax +49 30 22183-1199
s.berger at atenekom.eu
atene KOM GmbH
Agentur für Kommunikation, Organisation und Management
Invalidenstr. 91 | 10115 Berlin



www.atenekom.eu<http://www.atenekom.eu/> | Datenschutzerklärung<https://atenekom.eu/impressum/datenschutz/>
Apps <https://atenekom.eu/kompetenzen/foerdermittelberatung/foerdermittel-app/> | facebook<https://www.facebook.com/atenekom> | XING<https://www.xing.com/companies/atenekomgmbh%25257Cagenturf%2525C3%25259Crkommunikationorganisationundmanagement?user_view=true> | YouTube<http://www.youtube.com/profile?user=atenekom>

Geschäftsführer: Tim Brauckmüller  |  AG Berlin Charlottenburg  |  HRB 111699  |  USt-ID: DE259091767



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20190215/bbeeefa1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: atene_logo_1133be95-9699-480d-b2d9-203a3b08d087.png
Type: image/png
Size: 12897 bytes
Desc: atene_logo_1133be95-9699-480d-b2d9-203a3b08d087.png
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20190215/bbeeefa1/attachment-0001.png>


More information about the MapProxy mailing list