2

Is there any way that I can integrate the UserCake user management system with MediaWiki? I want to link the accounts in each system so users can log into both with the same username and password.

Rudi Visser
  • 21,350
  • 5
  • 71
  • 97
Christopher
  • 2,103
  • 4
  • 22
  • 32

3 Answers3

4

There is no existing system to do this. You can create an extension for MediaWiki to do this without too much trouble. Basing it off an existing extension is probably a good starting point. By looking at AuthJoomla, AuthBugzilla and AuthSymfony you should get a good idea of how MediaWiki's authentication extension API operates. It's really just a matter of creating the class, getting it to call the relevant UC functions and then loading it as an extension into MW.

Having said that, UserCake seems unmaintained. It may be worth taking this opportunity to migrate your users to another authentication system. If you are using credentials between several applications you might want to look at something like LDAP.

mjec
  • 1,817
  • 12
  • 20
1

I know that this is a really old question, but UserSpice is the fully PDO/OOP spiritual successor to UserCake and would probably be better equipped to handle this. It would take some modification, but it could be done.

Dan Hoover
  • 235
  • 1
  • 14
0

May I recommend that you use other ways to secure you applications. Take a look at Windows Azure ACS that gives you security federation to Facebook, Google, Yahoo and more.

This allows you to focus on your application and not security protocols.

Azure ACS supports many different of protocols and works great with PHP as well as .Net based applications.

I did a quick search and found the http://www.mediawiki.org/wiki/Extension:OpenID that can use Azure ACS. (Access Control Services)

There are other alternatives to ACS such as Ping Identity and OpenSSO; But ACS is a cheap alternative to Ping.

Frode Stenstrøm
  • 1,048
  • 7
  • 24