25 include_once
'Auth/HTTP.php';
57 $a_options[
'sessionSharing'] =
false;
59 parent::__construct($container,$a_options);
60 $this->setSessionName(
"_authhttp".md5(CLIENT_ID));
61 $this->setRealm(CLIENT_ID);
72 if(isset(
$_GET[
'mount-instructions']))
74 $GLOBALS[
'ilLog']->write(
'Trying authentication as anonymous for displaying mount instructions');
75 $this->username =
'anonymous';
76 $this->password =
'anonymous';
94 if(!parent::failedLoginObserver($a_username,$a_auth))
96 $GLOBALS[
'ilLog']->write(__METHOD__.
': HTTP authentication failed. Sending status 401');
97 $this->drawLogin($a_username);
assignData()
Overwritten to allow passwordless mount-instructions.
failedLoginObserver($a_username, $a_auth)
Failed login.
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
Base class for ilAuth, ilAuthHTTP ....
__construct($container, $a_options=array())
Constructor.
supportsRedirects()
Returns true, if the current auth mode allows redirection to e.g to loginScreen, public section...
Create styles array
The data for the language used.