[xwiki-devs] log in module for both enterprise and workspace
Hi, I need one log-in module which will sign me in for both xwiki enterprise and xwiki workspace. How do I implement that. Regards, Viv
Hi Vivian, On Aug 29, 2008, at 5:37 PM, 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.
By using some external authentication mechanism: * LDAP * container authentication * apache authentication Thanks -Vincent
Thanks. Does that mean that I will need to install a LDAP server where I have my xwiki engines? If that is so what is your opinion about OpenLDAP? Regards... On Fri, Aug 29, 2008 at 3:29 PM, Vincent Massol <[email protected]> wrote:
Hi Vivian,
On Aug 29, 2008, at 5:37 PM, 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.
By using some external authentication mechanism: * LDAP * container authentication * apache authentication
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
One more question when you mentioned "Apache authentication" did you mean "Apache Directory Server"? Sorry I am new in this LDAP so asking too many basic questions. Regards... On Fri, Aug 29, 2008 at 6:31 PM, Vivian Richard <[email protected]> wrote:
Thanks. Does that mean that I will need to install a LDAP server where I have my xwiki engines? If that is so what is your opinion about OpenLDAP?
Regards...
On Fri, Aug 29, 2008 at 3:29 PM, Vincent Massol <[email protected]> wrote:
Hi Vivian,
On Aug 29, 2008, at 5:37 PM, 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.
By using some external authentication mechanism: * LDAP * container authentication * apache authentication
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
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/
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 <[email protected]> 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 [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (3)
-
Sergiu Dumitriu -
Vincent Massol -
Vivian Richard