User talk:Stevel

From MediaWiki.org
Jump to: navigation, search

Contents

[edit] Disabling automatic user account creation

Hi,

Could you please have a look at an issue I'm trying to resolve with the shibauthplugin?

Extension talk:Shibboleth Authentication#Problem .28MW 1.13.29 - How can I disable automatic user account creation.3F

Everything else is working great, and it was easy to setup!

Thanks, Matt


Mr. Stevel,

Shibboleth 2.0 runs on shibbolet2.xml, which is slightly different with the original shibboleth.xml. Do you have some reference/correction for this SSO extension configuration?

Thanks, dannguyen@ucsd.edu

Hi,

Until my university upgrades its shib implementation, I can't check the configuration. It shouldn't require specific configuration once you have shibboleth working on your domain. Check the shibboleth 2 documentation for information on configuring your service provider.

--Stevel 22:49, 25 August 2008 (UTC)

[edit] MW 1.3 bug?

Hi, can you please have a look at Extension_talk:Shibboleth_Authentication#Problems_with_MW_1.13 ?

Thanks,

Kristof

[edit] Changes to Accomodate Shib2 Discover Service

Hi Steve,

I've been working with your extension under a Shib 2.x SP and had to make a few changes to the ShibLinkAdd function to accommodate using a new style Discover Service instead of a traditional WAYF. I'd love to contribute the changes if you'd like to have them.

Essentially, I added a new config variable  :

//Are you using an old style WAYF (Shib 1.3) or new style Discover Service (Shib 2.x)?
//Values are WAYF or DS, defaults to WAYF
$shib_WAYFStyle = "DS";


And I switch on it to determine how the URI of the wayf is formed. Here's the modified function:

/* Add login link */
function ShibLinkAdd(&$personal_urls, $title)
{
    global $shib_WAYF, $shib_LoginHint, $shib_Https, $shib_AssertionConsumerServiceURL;
    global $shib_WAYFStyle;
    if (! isset($shib_AssertionConsumerServiceURL) || $shib_AssertionConsumerServiceURL == '')
        $shib_AssertionConsumerServiceURL = "/Shibboleth.sso";
    if (! isset($shib_Https))
        $shib_Https = false;
    $pageurl = $title->getLocalUrl();
    if (! isset($shib_LoginHint))
        $shib_LoginHint = "Login via Single Sign-on";
 
    if (! isset($shib_WAYFStyle) || $shib_WAYFStyle != 'DS') {
        $shib_WAYFUriPath =  $shib_AssertionConsumerServiceURL . "/WAYF/" . $shib_WAYF;
    } else {
        $shib_WAYFUriPath =  $shib_AssertionConsumerServiceURL . "/" . $shib_WAYF;
    }
 
    $personal_urls['SSOlogin'] = array(
            'text' => $shib_LoginHint,
            'href' => ($shib_Https ? 'https' :  'http') .'://' . $_SERVER['HTTP_HOST'] .
           $shib_WAYFUriPath .
            '?target=' . (isset($_SERVER['HTTPS']) ? 'https' : 'http') .
            '://' . $_SERVER['HTTP_HOST'] . $pageurl, );
    return true;
}

Thanks for keeping up the extension. Take care...

Barry Johnson

Clemson University

[edit] Issue with MediaWiki 1.18 and Shibboleth

Can you look at Extension_talk:Shibboleth_Authentication#Problem_with_MW_1.18 ?

Thanks,

--Todd

ToddDTaft 17:45, 20 January 2012 (UTC)

Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox