99 if(is_object(self::$instance))
123 $this->account_security_mode = $a_mode;
146 $this->password_chars_and_numbers_enabled = $a_chars_and_numbers_enabled;
170 $this->password_special_chars_enabled = $a_password_special_chars_enabled;
192 $this->password_min_length = $a_password_min_length;
212 $this->password_max_length = $a_password_max_length;
232 $this->password_max_age = $a_password_max_age;
252 $this->login_max_attempts = $a_login_max_attempts;
273 $this->https_header_enable = $varname;
283 $this->https_header_name = $varname;
293 $this->https_header_value = $varname;
333 $this->https_enable = $value;
355 $this->password_change_on_first_login_enabled = $a_password_change_on_first_login_enabled;
403 $query =
"SELECT object_reference.ref_id FROM object_reference,tree,object_data ".
404 "WHERE tree.parent = ".$ilDB->quote(SYSTEM_FOLDER_ID).
" ".
405 "AND object_data.type = 'ps' ".
406 "AND object_reference.ref_id = tree.child ".
407 "AND object_reference.obj_id = object_data.obj_id";
408 $res = $this->db->query($query);
410 $this->ref_id = $row[
"ref_id"];
412 $this->https_header_enable = (bool) $this->settings->get(
'ps_auto_https_enabled',
false);
413 $this->https_header_name = (string) $this->settings->get(
'ps_auto_https_headername',
"ILIAS_HTTPS_ENABLED");
414 $this->https_header_value = (string) $this->settings->get(
'ps_auto_https_headervalue',
"1");
415 $this->https_enable = (boolean) $this->settings->get(
'https',
false);
417 $this->account_security_mode = (int) $this->settings->get(
'ps_account_security_mode',0);
418 $this->password_chars_and_numbers_enabled = (bool) $this->settings->get(
'ps_password_chars_and_numbers_enabled',
false);
419 $this->password_special_chars_enabled = (bool) $this->settings->get(
'ps_password_special_chars_enabled',
false);
420 $this->password_min_length = (int) $this->settings->get(
'ps_password_min_length',0);
421 $this->password_max_length = (int) $this->settings->get(
'ps_password_max_length',0);
422 $this->password_max_age = (int) $this->settings->get(
'ps_password_max_age',0);
423 $this->login_max_attempts = (int) $this->settings->get(
'ps_login_max_attempts',0);
425 $this->password_change_on_first_login_enabled = (bool) $this->settings->get(
'ps_password_change_on_first_login_enabled',
false);
440 return ilSecuritySettings::SECURITY_SETTINGS_ERR_CODE_AUTO_HTTPS;
442 include_once
'./classes/class.ilHTTPS.php';
481 return $password_min_length_error_code;