Actualización
This commit is contained in:
35
main/auth/shibboleth/login.php
Normal file
35
main/auth/shibboleth/login.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
namespace Shibboleth;
|
||||
|
||||
/**
|
||||
* 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 <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
|
||||
*/
|
||||
include_once __DIR__.'/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();
|
||||
Reference in New Issue
Block a user