Thanks Sergui for taking time to nicely explaining the
best option. Actually I also need to use MS silverlight
as my front end. So how do I connect silverlight front
end with the xwiki engine? Like after getting the ID
and PW from the front end where do I pass them to get
authenticated, suppose I do install 2 virtual xwikis and
have global users?
On Sat, Aug 30, 2008 at 1:34 AM, Sergiu Dumitriu <sergiu(a)xwiki.com> wrote:
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
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs