Hi,

I would not cluster the users, nor would I cluster the roles. I think both 
these workspaces contain nodes that are set up differently on author and public 
systems.

Instead, you can configure the public user database to store its data in a 
different workspace. I created a workspace called "publicusers" for this. 
There were basically 2 steps:
1) Create a subclass of info.magnolia.cms.security.HierarchicalUserManager 
which uses the alternate workspace.
You only need to override the method getHierarchyManager() in order to return 
the hierarchymanager for your alternate workspace.
You configure your class under config-->server->security->userManagers->public

2) Change the tree config for the public users tree so they are displayed in 
the admin-GUI.
The configuration for the tree can be found under:
Config->modules->public_user_registration->trees->usersPublic
Change the repository to your clustered repo.

For setting up the cluster, you need to modify repositories.xml. Add a second 
repository definition. Map the workspaces you want to cluster ("data" and 
"publicusers") to use the second repository definition.
Each repository definition has its own jackrabbit.xml configuration file. In 
the configuration file for the second repository you have to set things up to 
be cluster-compatible (ie use only the database, no filesystem).

Regards from Vienna,

Richard

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] 
Im Auftrag von Roland Polzer
Gesendet: Dienstag, 15. Jänner 2013 15:22
An: Magnolia User-List
Betreff: AW: [magnolia-user] JCR Cluster Config ?

>Shared repos are user, roles and data.

Can you really share the user repository? 
I thought the anonymous user needs to be different on author and public


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, 
E-mail to: <[email protected]>
----------------------------------------------------------------




----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to