ILIAS  release_7 Revision v7.30-3-g800a261c036
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 {
28
29 include_once './Services/Administration/classes/class.ilSetting.php';
30 $this->settings = $GLOBALS['DIC']['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}
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
Definition: PEAR.php:64
An exception for terminatinating execution or to throw for unit testing.
Interface of auth credentials.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
settings()
Definition: settings.php:2