Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3414

Mutlitenancy Support Integration

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Servlets Resolver 2.3.2, Engine 2.3.0, API 2.6.0, Resource Resolver 1.1.0
    • Fix Version/s: None
    • Component/s: API, Engine

      Description

      Based on the proposal for the multi-tenancy integration: https://cwiki.apache.org/confluence/display/SLING/Multitenancy+Support+Integration this is the issue to track it.
      The Tenant module (contrib/extension/tenant) is just the data structure and Felix UI to handle Tenants but it does not provide any functionality to actually enable multi-tenancy in Sling.
      As described in the original proposal https://cwiki.apache.org/confluence/display/SLING/Multitenancy+Support there must be support for a per-call enhancement of the Search Path in order to prepend the Search Path with the Tenant specific search path. This needs to be done in the Resource's Resource Path but also in the Servlet Resolver which uses the Administrative Resource Resolver and so need to change its Search Path on a per-call basis. Finally the Servlet Resolver needs to change its Caching mechanisms to let Servlets being cache per tenant (if on the tenant search path) in order to provide a tenant specific view.
      Because the tenant can be identified by different means like subdomains, path, cookies, parameters etc the Tenant module cannot provide a catch-all implementation. Therefore sling should provide a Service interface for the client to implement on how to obtain a tenant id.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              andysch Andreas Schaefer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: