Vivian Richard wrote:
>      Hi, I need one log-in module which will sign me in for
>      both xwiki enterprise and xwiki workspace. How do I
>      implement that.
> 

If they are both located at the same address, but under a different 
application context, like host.net/enterprise and host.net/workspaces, 
then you shouldn't do anything. If they have the same base domain name, 
like enterprise.myhost.net and workspaces.myhost.net, then you should 
change in xwiki.cfg (for both applications) the variable cookiedomains to

xwiki.authentication.cookiedomains=myhost.net

If both applications have the same cookie encryption keys 
(xwiki.authentication.validationKey and 
xwiki.authentication.encryptionKey), and the user exists in both wikis 
and has the same password, then it should work.

But this implies that all user profiles are duplicated. It would be 
better to install enterprise manager, and have two virtual wikis as 
enterprise and workspaces, and only global users. This way you make sure 
the users are defined just in one place. (you still need to change the 
cookiedomains variable). However, this is a bit more difficult to do, 
since you must manually turn an enterprise into workspaces, but it is 
doable in about 5-10 minutes.
-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to