ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilAuthFrontendCredentialsShibboleth Class Reference

Description of class class. More...

+ Inheritance diagram for ilAuthFrontendCredentialsShibboleth:
+ Collaboration diagram for ilAuthFrontendCredentialsShibboleth:

Public Member Functions

 __construct ()
 Constructor. More...
 
 initFromRequest ()
 Init credentials from request. More...
 
- Public Member Functions inherited from ilAuthFrontendCredentials
 __construct ()
 
 getLogger ()
 Get logger. More...
 
 setLogger (ilLogger $logger)
 Set Logger. More...
 
 setUsername ($a_name)
 Set username. More...
 
 getUsername ()
 Get username. More...
 
 setPassword ($a_password)
 Set password. More...
 
 getPassword ()
 Get password. More...
 
 setCaptchaCode ($a_code)
 Set captcha code. More...
 
 getCaptchaCode ()
 Get captcha code. More...
 
 setAuthMode ($a_auth_mode)
 Set auth mode. More...
 
 getAuthMode ()
 Get auth mode. More...
 

Protected Member Functions

 getSettings ()
 

Private Attributes

 $settings = null
 

Detailed Description

Description of class class.

Author
Stefan Meyer smeye.nosp@m.r.il.nosp@m.ias@g.nosp@m.mx.d.nosp@m.e

Definition at line 14 of file class.ilAuthFrontendCredentialsShibboleth.php.

Constructor & Destructor Documentation

◆ __construct()

ilAuthFrontendCredentialsShibboleth::__construct ( )

Constructor.

Definition at line 25 of file class.ilAuthFrontendCredentialsShibboleth.php.

References $GLOBALS, and settings().

26  {
27  parent::__construct();
28 
29  include_once './Services/Administration/classes/class.ilSetting.php';
30  $this->settings = $GLOBALS['DIC']['ilSetting'];
31  }
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
settings()
Definition: settings.php:2
+ Here is the call graph for this function:

Member Function Documentation

◆ getSettings()

ilAuthFrontendCredentialsShibboleth::getSettings ( )
protected

◆ initFromRequest()

ilAuthFrontendCredentialsShibboleth::initFromRequest ( )

Init credentials from request.

Definition at line 45 of file class.ilAuthFrontendCredentialsShibboleth.php.

References ilAuthFrontendCredentials\setPassword(), settings(), and ilAuthFrontendCredentials\setUsername().

46  {
47  //$this->getLogger()->dump($_SERVER, ilLogLevel::DEBUG);
48  $this->setUsername($this->settings->get('shib_login', ''));
49  $this->setPassword('');
50  }
setPassword($a_password)
Set password.
settings()
Definition: settings.php:2
+ Here is the call graph for this function:

Field Documentation

◆ $settings

ilAuthFrontendCredentialsShibboleth::$settings = null
private

Definition at line 19 of file class.ilAuthFrontendCredentialsShibboleth.php.

Referenced by getSettings().


The documentation for this class was generated from the following file: