Extension:CrowdAuthentication

From MediaWiki.org

Jump to: navigation, search

       

Manual on MediaWiki Extensions
List of MediaWiki Extensions
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 Download snapshot

Subversion [Help]
Browse source code

check usage (experimental)

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

[edit] License

/* 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.
 */

[edit] Download

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

[edit] Usage

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