MediaWiki REMOTE_USER auto-login with AuthManager

The authentication mechanism has been revamped in version 1.27 of MediaWiki; it now uses AuthManager instead of AuthPlugin. Can someone provide any tips on how one could go about re-spinning the Extension:Auth_remoteuser auto-login feature using $_SERVER['REMOTE_USER']? My understanding is that I would need to implement an Authentication Provider, but I'm not sure where to start. Update: A code example would be nice.


I see your question has been answered elsewhere, but for the record there is documentation and an update guide available, and as explained there, you probably want to implement ImmutableSessionProviderWithCookie. The phpdoc for that class and its parents has further instructions.

Need Your Help

Importing which library?

apache xpath import

recently I downloaded this open source project and I am trying to compile it.

Android Understanding Heap Sizes

android heap virtual-machine dalvik ddms

I'm fairly new to Android development and I can't seem to grasp the Java Out of Memory exception. I know it means that my app has gone over the VM budget but after Googling this many times I still ...