ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Public Member Functions | |
setServer (string $a_server) | |
getServer () | |
setPort (int $a_port) | |
getPort () | |
setUri (string $a_uri) | |
getUri () | |
setLoginInstruction (string $a_inst) | |
getLoginInstruction () | |
setActive ($a_active) | |
isActive () | |
enableUserCreation ($a_uc) | |
isUserCreationEnabled () | |
enableLocalAuthentication ($a_local) | |
isLocalAuthenticationEnabled () | |
setDefaultRole ($a_role) | |
getDefaultRole () | |
save () | |
Static Public Member Functions | |
static | getInstance () |
Get singleton instance. More... | |
Data Fields | |
const | SYNC_DISABLED = 0 |
const | SYNC_CAS = 1 |
const | SYNC_LDAP = 2 |
Protected Member Functions | |
__construct () | |
Singleton constructor. More... | |
Private Member Functions | |
read () | |
getStorage () | |
Private Attributes | |
ilSetting | $storage |
string | $server = '' |
int | $port = 0 |
string | $uri = '' |
string | $login_instructions = '' |
bool | $active = false |
bool | $create_users = false |
bool | $allow_local = false |
int | $user_default_role = 0 |
int | $default_role = 0 |
Static Private Attributes | |
static ilCASSettings | $instance = null |
Definition at line 22 of file class.ilCASSettings.php.
|
protected |
Singleton constructor.
Definition at line 44 of file class.ilCASSettings.php.
ilCASSettings::enableLocalAuthentication | ( | $a_local | ) |
Definition at line 123 of file class.ilCASSettings.php.
Referenced by read().
ilCASSettings::enableUserCreation | ( | $a_uc | ) |
Definition at line 113 of file class.ilCASSettings.php.
Referenced by read().
ilCASSettings::getDefaultRole | ( | ) |
Definition at line 138 of file class.ilCASSettings.php.
References $default_role.
Referenced by save().
|
static |
Get singleton instance.
Definition at line 55 of file class.ilCASSettings.php.
Referenced by ilAuthProviderCAS\__construct(), ilCASSettingsGUI\__construct(), and ilCASSettingsTest\setGlobalVariable().
ilCASSettings::getLoginInstruction | ( | ) |
Definition at line 98 of file class.ilCASSettings.php.
References $login_instructions.
Referenced by save().
ilCASSettings::getPort | ( | ) |
Definition at line 78 of file class.ilCASSettings.php.
References $port.
Referenced by save().
ilCASSettings::getServer | ( | ) |
Definition at line 68 of file class.ilCASSettings.php.
References $server.
Referenced by save().
|
private |
Definition at line 167 of file class.ilCASSettings.php.
References $storage.
Referenced by read(), and save().
ilCASSettings::getUri | ( | ) |
Definition at line 88 of file class.ilCASSettings.php.
References $uri.
Referenced by save().
ilCASSettings::isActive | ( | ) |
Definition at line 108 of file class.ilCASSettings.php.
References $active.
Referenced by save().
ilCASSettings::isLocalAuthenticationEnabled | ( | ) |
Definition at line 128 of file class.ilCASSettings.php.
References $allow_local.
Referenced by save().
ilCASSettings::isUserCreationEnabled | ( | ) |
Definition at line 118 of file class.ilCASSettings.php.
References $create_users.
Referenced by save().
|
private |
Definition at line 155 of file class.ilCASSettings.php.
References enableLocalAuthentication(), enableUserCreation(), getStorage(), setActive(), setDefaultRole(), setLoginInstruction(), setPort(), setServer(), and setUri().
Referenced by __construct().
ilCASSettings::save | ( | ) |
Definition at line 143 of file class.ilCASSettings.php.
References getDefaultRole(), getLoginInstruction(), getPort(), getServer(), getStorage(), getUri(), isActive(), isLocalAuthenticationEnabled(), and isUserCreationEnabled().
ilCASSettings::setActive | ( | $a_active | ) |
Definition at line 103 of file class.ilCASSettings.php.
Referenced by read().
ilCASSettings::setDefaultRole | ( | $a_role | ) |
Definition at line 133 of file class.ilCASSettings.php.
Referenced by read().
ilCASSettings::setLoginInstruction | ( | string | $a_inst | ) |
Definition at line 93 of file class.ilCASSettings.php.
Referenced by read().
ilCASSettings::setPort | ( | int | $a_port | ) |
Definition at line 73 of file class.ilCASSettings.php.
Referenced by read().
ilCASSettings::setServer | ( | string | $a_server | ) |
Definition at line 63 of file class.ilCASSettings.php.
Referenced by read().
ilCASSettings::setUri | ( | string | $a_uri | ) |
Definition at line 83 of file class.ilCASSettings.php.
Referenced by read().
|
private |
Definition at line 35 of file class.ilCASSettings.php.
Referenced by isActive().
|
private |
Definition at line 37 of file class.ilCASSettings.php.
Referenced by isLocalAuthenticationEnabled().
|
private |
Definition at line 36 of file class.ilCASSettings.php.
Referenced by isUserCreationEnabled().
|
private |
Definition at line 39 of file class.ilCASSettings.php.
Referenced by getDefaultRole().
|
staticprivate |
Definition at line 28 of file class.ilCASSettings.php.
|
private |
Definition at line 34 of file class.ilCASSettings.php.
Referenced by getLoginInstruction().
|
private |
Definition at line 32 of file class.ilCASSettings.php.
Referenced by getPort().
|
private |
Definition at line 31 of file class.ilCASSettings.php.
Referenced by getServer().
|
private |
Definition at line 30 of file class.ilCASSettings.php.
Referenced by getStorage().
|
private |
Definition at line 33 of file class.ilCASSettings.php.
Referenced by getUri().
|
private |
Definition at line 38 of file class.ilCASSettings.php.
const ilCASSettings::SYNC_CAS = 1 |
Definition at line 25 of file class.ilCASSettings.php.
Referenced by ilCASSettingsGUI\initFormSettings(), and ilCASSettingsGUI\save().
const ilCASSettings::SYNC_DISABLED = 0 |
Definition at line 24 of file class.ilCASSettings.php.
Referenced by ilCASSettingsGUI\initFormSettings(), and ilCASSettingsGUI\save().
const ilCASSettings::SYNC_LDAP = 2 |
Definition at line 26 of file class.ilCASSettings.php.
Referenced by ilCASSettingsGUI\initFormSettings(), and ilCASSettingsGUI\save().