Thread:Project:Support desk/Configuring Open AM with Mediawiki

Hello,

Versions Mediawiki- mediawiki-1.20.5 PHP - php-5.3.20-nts-Win32-VC9-x86 OpenAM - Philip Pedersens vei 1, 1366 Lysaker, Norway (Is this the same, I am not sure about this)

I have downloaded the extension (php_http.dll) and deployed in PHP framework. And added OpenAM.PHP and modified localsettings.php as suggested in the link http://www.mediawiki.org/wiki/Extension:OpenAM.

I am using SAML standard, and I am having one application developed in Asp.net MVC which I have configured with OpenAM using SAML standard and working fine. While configuring this I have included some XML files (sp.xml, sp-extended.xml, fedlet.cot, idp-extended.xml and idp.xml).

But in mediakwiki there nowhere mentioned about these files to configure, I am bit confused about this.

In localsettings I have given as bellow

require_once( "$IP/extensions/OpenAM/OpenAM.php" ); // You MUST set the distAuth URL $wgAuth->setDistAuthUrl( 'http://lms.XXXXXXX.com:9090/openam/SSORedirect/metaAlias/idp/' ); // You MUST set the identity URL $wgAuth->setIdentityUrl( 'http://lms.XXXXXXX.com:9090/openam/' ); // Set this to the OpenSSO profile attribute that holds users' MediaWiki names $wgAuth->setUid( 'uid' ); // You will only need to change the cookie name if you have changed it on the OpenSSO server (recommended) $wgAuth->setCookie( 'iPlanetDirectoryPro' ); // new $wgAuth->setLdapGroups( 'ldap-groups' );
 * 1) OpenAM
 * 2) More info: http://www.mediawiki.org/wiki/Extension:OpenAM

Can you please check this once.

And for service provider creation we need to give sp.xml for fedlet creation, I don’t know how to configure this for mediawiki.

Regards, Harinath