Extension:CrowdAuthentication

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
CrowdAuthentication
Release status: unmaintained
Implementation User identity
Description Allow users to authenticate from Atlassian Crowd
Author(s) River Tarnell (Katetalk)
MediaWiki 1.11.0
License see below
Download Template:WikimediaDownload/svn
Translate the CrowdAuthentication extension if it is available at translatewiki.net
Check usage and version matrix.

The CrowdAuthentication plugin allows users to authenticate from the Atlassian Crowd SSO system. See the source for details on how to use it.

License[edit]

/* Copyright (c) 2007 River Tarnell <river@wikimedia.org>.        */
/*
 * Permission is granted to anyone to use this software for any purpose,
 * including commercial applications, and to alter it and redistribute it
 * freely. This software is provided 'as-is', without any express or implied
 * warranty.
 */

Download[edit]

Download the latest snapshot and extract it to your extensions directory.

Usage[edit]

/*
 * AuthPlugin that authenticates users against Atlassian Crowd.
 *
 * To use it, add something like this to LocalSettings.php:
 *
 *    require_once("$IP/extensions/CrowdAuthentication/CrowdAuthentication.php");
 *    $caApplicationName = 'mediawiki';
 *    $caApplicationPassword = 'whatever';
 *    $caCrowdServerUrl = 'http://localhost:8095/crowd/services';
 *    $caDefaultGroups = array("jira-users", "confluence-users");
 *    $caImportGroups = true;
 *    $caOverwriteLocalGroups = false;
 *    $wgAuth = new CrowdAuthenticator();
 *
 */