You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Amit Gupta (JIRA)" <ji...@apache.org> on 2012/11/08 10:58:11 UTC

[jira] [Commented] (SLING-2656) Multitenancy support

    [ https://issues.apache.org/jira/browse/SLING-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493076#comment-13493076 ] 

Amit Gupta commented on SLING-2656:
-----------------------------------

A first cut implementation is available at
https://github.com/amitxlnc/sling/compare/mt

I have added Tenant and TenantProvider interfaces. and a basic implementation for JCR based TenantProvider. 
Also, I have added a JcrTenantAdapterFactory that can adapt ResourceResolver to a 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.
                
> Multitenancy support
> --------------------
>
>                 Key: SLING-2656
>                 URL: https://issues.apache.org/jira/browse/SLING-2656
>             Project: Sling
>          Issue Type: New Feature
>          Components: API, JCR
>    Affects Versions: API 2.2.4
>            Reporter: Amit Gupta
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Adding support for proposal listed at
> https://cwiki.apache.org/SLING/multitenancy-support.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira