shibboleth authentication module #4554: change credits

skala
Laurent Opprecht 14 years ago
parent cd58673b01
commit 2203d73ae9
  1. 5
      documentation/credits.html
  2. 5
      main/auth/shibboleth/_readme.txt
  3. 5
      main/auth/shibboleth/app/controller/shibboleth_controller.class.php
  4. 10
      main/auth/shibboleth/app/lib/model.class.php
  5. 5
      main/auth/shibboleth/app/lib/scaffolder/scaffolder.class.php
  6. 5
      main/auth/shibboleth/app/lib/scaffolder/template/default.php
  7. 5
      main/auth/shibboleth/app/lib/scaffolder/template/model.php
  8. 5
      main/auth/shibboleth/app/lib/scaffolder/template/public.php
  9. 5
      main/auth/shibboleth/app/lib/shibboleth_config.class.php
  10. 5
      main/auth/shibboleth/app/lib/shibboleth_session.class.php
  11. 5
      main/auth/shibboleth/app/lib/store.class.php
  12. 5
      main/auth/shibboleth/app/model/scaffold/user.class.php
  13. 5
      main/auth/shibboleth/app/model/shibboleth_store.class.php
  14. 5
      main/auth/shibboleth/app/model/shibboleth_user.class.php
  15. 5
      main/auth/shibboleth/app/model/user.class.php
  16. 5
      main/auth/shibboleth/app/shibboleth.class.php
  17. 5
      main/auth/shibboleth/app/view/admin_login.php
  18. 5
      main/auth/shibboleth/app/view/request.php
  19. 6
      main/auth/shibboleth/app/view/shibboleth_display.class.php
  20. 5
      main/auth/shibboleth/app/view/shibboleth_email_form.class.php
  21. 5
      main/auth/shibboleth/app/view/shibboleth_status_request_form.class.php
  22. 5
      main/auth/shibboleth/config-dist.php
  23. 5
      main/auth/shibboleth/config.php
  24. 5
      main/auth/shibboleth/config/aai.class.php
  25. 5
      main/auth/shibboleth/db/shibboleth_upgrade.class.php
  26. 5
      main/auth/shibboleth/index.php
  27. 5
      main/auth/shibboleth/init.php
  28. 5
      main/auth/shibboleth/login.php
  29. 5
      main/auth/shibboleth/script/scaffold.php
  30. 5
      main/auth/shibboleth/test/shibboleth_test.class.php
  31. 5
      main/auth/shibboleth/test/shibboleth_test_helper.class.php
  32. 5
      main/auth/shibboleth/test/test.php
  33. 5
      main/auth/shibboleth/test/test_no_email.php

@ -487,6 +487,11 @@ rewritten by
<li>Nanogong integration: Juan Carlos Raña Trabado</li> <li>Nanogong integration: Juan Carlos Raña Trabado</li>
<li>Wami-recorder integration: Juan Carlos Raña Trabado</li> <li>Wami-recorder integration: Juan Carlos Raña Trabado</li>
</ul> </ul>
<h2>Shibboleth authentication, plugins, etc - University of Geneva</h2>
<ul>
<li>Laurent Opprecht</li>
<li>Nicolas Rod</li>
</ul>
<h1>Translations</h1> <h1>Translations</h1>
There are too much translators to list them all. Please check http://translate.chamilo.org <br /> There are too much translators to list them all. Please check http://translate.chamilo.org <br />

@ -1,8 +1,7 @@
Shibboleth authentication module. Shibboleth authentication module.
@copyright (c) 2012 University of Geneva @license see /license.txt
@license GNU General Public License - http://www.gnu.org/copyleft/gpl.html @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
@author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod
To use install Shibboleth on your web server and secure the application url To use install Shibboleth on your web server and secure the application url
with a web server security directive. with a web server security directive.

@ -3,9 +3,8 @@
/** /**
* Controller for the Shibboleth authentication system. * Controller for the Shibboleth authentication system.
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>
*/ */
class ShibbolethController class ShibbolethController
{ {

@ -1,16 +1,10 @@
<?php <?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/** /**
* Description of model * Description of model
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>
*/ */
class Model class Model
{ {

@ -4,9 +4,8 @@
* Scaffolder. Genereate code templates from the database layout. * Scaffolder. Genereate code templates from the database layout.
* See /template/ for the code being generated * See /template/ for the code being generated
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>
*/ */
class Scaffolder class Scaffolder
{ {

@ -2,9 +2,8 @@
/** /**
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>
*/ */
echo '<?php'; echo '<?php';

@ -2,9 +2,8 @@
/** /**
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>
*/ */
echo '<?php'; echo '<?php';

@ -2,9 +2,8 @@
/** /**
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>
*/ */
echo '<?php'; echo '<?php';

@ -4,9 +4,8 @@
* Shibboleth configuration. All configuration for the Shibboleth authentication * Shibboleth configuration. All configuration for the Shibboleth authentication
* plugin: field names mapping, etc. * plugin: field names mapping, etc.
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod
*/ */
class ShibbolethConfig class ShibbolethConfig
{ {

@ -4,9 +4,8 @@
* A Chamilo user session. Used as there is no session object so far provided by the core API. * A Chamilo user session. Used as there is no session object so far provided by the core API.
* Should be moved to the core library.Prefixed by Shibboleth to avoid name clashes. * Should be moved to the core library.Prefixed by Shibboleth to avoid name clashes.
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod
*/ */
class ShibbolethSession class ShibbolethSession
{ {

@ -5,9 +5,8 @@
* *
* One store = one table. * One store = one table.
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>
*/ */
class Store class Store
{ {

@ -7,9 +7,8 @@
* *
* Model for table user * Model for table user
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>
*/ */
class _User class _User
{ {

@ -7,9 +7,8 @@
* *
* If a user is not authenticated nothing is returned. * If a user is not authenticated nothing is returned.
* *
* @copyright 2010, University of Geneva * @license see /license.txt
* @author laurent.opprecht@unige.ch, Nicolas Rod * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @license GNU, http://www.gnu.org/licenses/gpl.html
*/ */
class ShibbolethStore class ShibbolethStore
{ {

@ -4,9 +4,8 @@
* Represent a Shibboleth user. Not to be missunderstand with a Chamilo user * Represent a Shibboleth user. Not to be missunderstand with a Chamilo user
* since they don't have the same attributes. * since they don't have the same attributes.
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod
*/ */
class ShibbolethUser class ShibbolethUser
{ {

@ -12,9 +12,8 @@ require_once dirname(__FILE__) . '/scaffold/user.class.php';
* modifications without touching the generated file. Don't modify _User as * modifications without touching the generated file. Don't modify _User as
* it may change in the future. Instead add modifications to this class. * it may change in the future. Instead add modifications to this class.
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>
*/ */
class User extends _User class User extends _User
{ {

@ -4,9 +4,8 @@
* Shibboleth main class. Provides access to various Shibboleth sub components and * Shibboleth main class. Provides access to various Shibboleth sub components and
* provides the high level functionalities. * provides the high level functionalities.
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod
*/ */
class Shibboleth class Shibboleth
{ {

@ -7,9 +7,8 @@
* This page allow administrators to log into the application using the standard * This page allow administrators to log into the application using the standard
* Chamilo method when Shibboleth is not available. * Chamilo method when Shibboleth is not available.
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod
*/ */
$dir = dirname(__FILE__); $dir = dirname(__FILE__);
include_once("$dir/../../init.php"); include_once("$dir/../../init.php");

@ -9,9 +9,8 @@
* *
* Other users - teachers, students - are directly logged-in. * Other users - teachers, students - are directly logged-in.
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod
*/ */
$dir = dirname(__FILE__); $dir = dirname(__FILE__);
include_once("$dir/../../init.php"); include_once("$dir/../../init.php");

@ -3,10 +3,8 @@
/** /**
* Utility display functions tailored for the Shibboleth pluging. * Utility display functions tailored for the Shibboleth pluging.
* *
* * @license see /license.txt
* @copyright (c) 2012 University of Geneva * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html
* @author Laurent Opprecht <laurent@opprecht.info>
*/ */
class ShibbolethDisplay class ShibbolethDisplay
{ {

@ -6,9 +6,8 @@
* *
* @todo: add email validation * @todo: add email validation
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod
*/ */
class ShibbolethEmailForm class ShibbolethEmailForm
{ {

@ -4,9 +4,8 @@
* Status request form. Display a form allowing the user to request additional * Status request form. Display a form allowing the user to request additional
* rights/ another status. * rights/ another status.
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod
*/ */
class ShibbolethStatusRequestForm class ShibbolethStatusRequestForm
{ {

@ -6,9 +6,8 @@
* *
* By default set up the aai configuration. * By default set up the aai configuration.
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod
*/ */
require_once dirname(__FILE__) . '/config/aai.class.php'; require_once dirname(__FILE__) . '/config/aai.class.php';

@ -3,9 +3,8 @@
/** /**
* Shibboleth configuration. See /config/aai.php for an example. * Shibboleth configuration. See /config/aai.php for an example.
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod
*/ */
require_once dirname(__FILE__) . '/config/aai.class.php'; require_once dirname(__FILE__) . '/config/aai.class.php';

@ -3,9 +3,8 @@
/** /**
* Shibboleth configuration for the AAI federation. * Shibboleth configuration for the AAI federation.
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>
*/ */
class aai class aai
{ {

@ -5,9 +5,8 @@
* Upgrade is checked at each user login so there is no need to manually run * Upgrade is checked at each user login so there is no need to manually run
* an upgrade. * an upgrade.
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>
*/ */
class ShibbolethUpgrade class ShibbolethUpgrade
{ {

@ -3,7 +3,6 @@
* Display nothing. This ensure Apache doesn't display the list of files and folders * Display nothing. This ensure Apache doesn't display the list of files and folders
* when it is not propertly configured. * when it is not propertly configured.
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod
*/ */

@ -4,9 +4,8 @@
* Initialize the Shibboleth authentication system. All scripts that can be directly * Initialize the Shibboleth authentication system. All scripts that can be directly
* called must include this file * called must include this file
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod
*/ */
$__dir = dirname(__FILE__) . '/'; $__dir = dirname(__FILE__) . '/';

@ -10,9 +10,8 @@
* When Shibboleth is properly set up this page will only be available for * When Shibboleth is properly set up this page will only be available for
* authenticated users. The plugin ensure those people are created and logged in. * authenticated users. The plugin ensure those people are created and logged in.
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod
*/ */
include_once(dirname(__FILE__) . '/init.php'); include_once(dirname(__FILE__) . '/init.php');

@ -6,9 +6,8 @@
* *
* Will only run when the server is a test server. * Will only run when the server is a test server.
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>
*/ */
$dir = dirname(__FILE__); $dir = dirname(__FILE__);
include_once($dir . '/../init.php'); include_once($dir . '/../init.php');

@ -4,9 +4,8 @@
* Various Unit Tests. Note that those tests create users in the database but * Various Unit Tests. Note that those tests create users in the database but
* don't delete them. * don't delete them.
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>
*/ */
class ShibbolethTest class ShibbolethTest
{ {

@ -3,9 +3,8 @@
/** /**
* Helper functions for the tests. Set up various dummy user types: teacher, student, etc. * Helper functions for the tests. Set up various dummy user types: teacher, student, etc.
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>
*/ */
class ShibbolethTestHelper class ShibbolethTestHelper
{ {

@ -3,9 +3,8 @@
/** /**
* Run unit tests. Server needs to be a test server to run those. * Run unit tests. Server needs to be a test server to run those.
* *
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>
*/ */
include_once(dirname(__FILE__) . '/../init.php'); include_once(dirname(__FILE__) . '/../init.php');

@ -1,9 +1,8 @@
<?php <?php
/** /**
* @copyright (c) 2012 University of Geneva * @license see /license.txt
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
* @author Laurent Opprecht <laurent@opprecht.info>
*/ */
include_once(dirname(__FILE__) . '/../init.php'); include_once(dirname(__FILE__) . '/../init.php');

Loading…
Cancel
Save