Hi All,

I have created an issue [0] to track support for multi-tenancy in sling.

I have also added a first cut implementation that provides basic building 
blocks [1]

[1] provides following

*         Tenant and TenantProvider abstraction at sling

*         Basic JCR based TenantProvider

*         An adapter factory to adapt resourceResolver to tenant, based on 
logged in user

TODO:

*         externalize the logic of identifying tenant based on logged in User.

*         Add support to resolve resource to a tenant, for use cases where 
there is no logged in user and execution is happening in some admin context. 
i.e. observation listener.

With above basic support, we can later add support for new Tenant Aware 
JcrResourceResolver.

Please comment on the patch/issue.

Thanks,
Amit
[0] https://issues.apache.org/jira/browse/SLING-2656
[1] https://github.com/amitxlnc/sling/compare/mt




Reply via email to