ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilAuthFrontendCredentialsShibboleth.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5include_once './Services/Authentication/classes/Frontend/class.ilAuthFrontendCredentials.php';
6include_once './Services/Authentication/interfaces/interface.ilAuthCredentials.php';
7
15{
19 private $settings = null;
20
21
25 public function __construct()
26 {
27 parent::__construct();
28
29 include_once './Services/Administration/classes/class.ilSetting.php';
30 $this->settings = $GLOBALS['ilSetting'];
31 }
32
33
37 protected function getSettings()
38 {
39 return $this->settings;
40 }
41
45 public function initFromRequest()
46 {
47 //$this->getLogger()->dump($_SERVER, ilLogLevel::DEBUG);
48 $this->setUsername($this->settings->get('shib_login',''));
49 $this->setPassword('');
50 }
51}
52?>
An exception for terminatinating execution or to throw for unit testing.
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
Interface of auth credentials.
settings()
Definition: settings.php:2