/** * Shibboleth login page. * * Actual authentication is provided by the Shibboleth Apache security module. * Shibboleth must be properly installed and configured. Then this page must * be secured through an Apache security directive. * * 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. * * @license see /license.txt * @author Laurent Opprecht <*****@*****.**>, Nicolas Rod for the University of Geneva */ include_once dirname(__FILE__) . '/init.php'; /* ============================================================================== TEST SECTION ============================================================================== * * @todo: Only for testing. Comment that out for production * */ //Shibboleth::session()->logout(); //ShibbolethTest::helper()->setup_new_student_no_email(); //ShibbolethTest::helper()->setup_staff(); //ShibbolethTest::helper()->setup_new_teacher(); //ShibbolethTest::helper()->setup_new_student(); //ShibbolethTest::helper()->setup_new_minimal_data(); ShibbolethController::instance()->login();
<?php namespace Shibboleth; /** * Display the Request another status/additional rights. The request is emailed * to the shibboleth and platform administrators for processing. * * Users such as staff that can be either student or teachers are presented with * this page upon first login. * * Other users - teachers, students - are directly logged-in. * * @license see /license.txt * @author Laurent Opprecht <*****@*****.**>, Nicolas Rod for the University of Geneva */ $dir = dirname(__FILE__); include_once "{$dir}/../../init.php"; ShibbolethController::instance()->request_status();
<?php namespace Shibboleth; /** * Administratrive login. Useful when the standard login is not available anymore * which is usually the case. * * This page allow administrators to log into the application using the standard * Chamilo method when Shibboleth is not available. * * @license see /license.txt * @author Laurent Opprecht <*****@*****.**>, Nicolas Rod for the University of Geneva */ $dir = dirname(__FILE__); include_once "{$dir}/../../init.php"; ShibbolethController::instance()->admin_login();