shibboleth-module-for-openpne

Created: 2008-07-24 13:43
Updated: 2016-05-08 11:07
php

README.markdown

About

This module conduct Shibboleth authentication on OpenPNE.

Environment

  • OpenPNE 2.10.x
  • PHP 5 later

Installation

Get source

  • via git

    The recommended way of installation. You pull from the github repository.

    $ git clone git://github.com/repeatedly/shibboleth-module-for-openpne.git

  • via github on the web

    The way of installation using some Web browser.

    Access to http://github.com/repeatedly/shibboleth-module-for-openpne/tree/master .

    You download the zip or tar, and decompress donwloaded file.

Install module

Run the install.sh.

$  ./install.sh [option]

Option

  • clean

    Uninstall this module.

  • template

    Replace shibbolized o_login.tpl to original o_login.tpl.

  • only(Unpopulated)

    Use Shibboleth only o_login.tpl.

    Unpopulated reason begin that Prepare of login page images is a bother.

Configration

OPENPNE_DIR/config.inc.php

OPENPNE_SSL_URL set a appropriate value, because Shibboleth use the SSL.

init.inc

  • $GLOBALS['OpenPNE']['shibboleth']['essential']

    Essential attribute mapping using Shibboleth.

    e.g.) array('username' => 'HTTP_SHIB_INETORGPERSON_MAIL');

  • OPENPNE_SHIB_AUTO_REGIST

    If true, unregistered user is registered automatically.

    If false, unregistered user fails login.

  • OPENPNE_SHIB_INVITE_ID

    This value is used to register user as invite user ID.

TODO

  • Support other version(2.12, 3, etc...)
  • Add other authentication root(e.g. pass through the user registration)
  • Improve the performance

Copyright

Copyright (c) 2008-2009 Masahiro Nakagawa

This library is released under the PHP License, version 3.01.

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more