You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by cpaulson <cp...@aurea.com> on 2014/08/06 08:50:34 UTC

How to do Multiple repository system

I am trying to design multi-tenant system. Need to create separate repository
for each organization. Is that possible to do that.  If it is possible then
how to share User management information between repositories.



--
View this message in context: http://jackrabbit.510166.n4.nabble.com/How-to-do-Multiple-repository-system-tp4661189.html
Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.

Re: How to do Multiple repository system

Posted by Alexander Klimetschek <ak...@adobe.com>.
On 05.08.2014, at 23:50, cpaulson <cp...@aurea.com> wrote:

> I am trying to design multi-tenant system. Need to create separate repository
> for each organization. Is that possible to do that.

Generally, you have 2 options:

a) share the repository, design multi-tenant content structures, make sure to shield them from each other using ACLs; can be more efficient (just on JVM etc.)
b) use separate repositories; requires one JVM for each, separate underlying storage, request routing to different instances, more outside configuration/deployment overhead

> If it is possible then
> how to share User management information between repositories.

With a), you can use the built-in user management, you just have to make sure user ids from different tenants are separate, e.g. "bob@foocompany.com" vs. "bob@acme.com".

With b), you could use ldap (built in with Oak) or another external mechanism by using JAAS / a custom LoginModule.

[1] http://jackrabbit.apache.org/oak/docs/security/authentication/ldap.html

HTH,
Alex

Re: How to do Multiple repository system

Posted by cpaulson <cp...@aurea.com>.
Thanks,
Alex



--
View this message in context: http://jackrabbit.510166.n4.nabble.com/How-to-do-Multiple-repository-system-tp4661189p4661236.html
Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.