Extension:CrowdAuthentication

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png
CrowdAuthentication

Release status: beta

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; code metrics

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 | edit source]

/* Copyright (c) 2007 River Tarnell <[email protected]>.        */
/*
 * 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 | edit source]

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

Usage[edit | edit source]

/*
 * 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();
 *
 */