19 declare(strict_types=1);
50 $this->storage = $DIC->settings();
59 if (self::$instance) {
60 return self::$instance;
75 public function setPort(
int $a_port): void
77 $this->port = $a_port;
85 public function setUri(
string $a_uri): void
97 $this->login_instructions = $a_inst;
107 $this->active = $a_active;
117 $this->create_users = $a_uc;
127 $this->allow_local = $a_local;
137 $this->default_role = $a_role;
160 $this->
setPort((
int) $this->
getStorage()->
get(
'cas_port', (
string) $this->port));
enableUserCreation($a_uc)
isLocalAuthenticationEnabled()
static ilCASSettings $instance
server()
description: > This example shows how a Progress Bar can be rendered and updated by the server...
setLoginInstruction(string $a_inst)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
__construct()
Singleton constructor.
enableLocalAuthentication($a_local)
string $login_instructions
setServer(string $a_server)
static getInstance()
Get singleton instance.