e8ab3a48c6
- Token validation is done against the template - Template is always extended with default values for auth and placeholders - MapConfig is extended, in order to validate auth_toknes, with template info: - template name - template auth - No more locks to create, update or delete templates - Trusting in redis' hash semantics - Some tradeoffs: * A client having more templates than allowed by a race condition between limit (HLEN) check and creation (HSET) * Updating a template could happen while the deleting it, resulting in in a new template * Templates already instantiated will be accessible thrught their layergroup so it is possible to continue requesting tiles/grids/etc. - Authorization is now handled by template maps |
||
---|---|---|
.. | ||
cache_validator.js | ||
health_check.js | ||
multilayer.js | ||
server.js | ||
templates.js |