ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
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 24 of file class.ilCASSettings.php.
|
protected |
Singleton constructor.
Definition at line 46 of file class.ilCASSettings.php.
ilCASSettings::enableLocalAuthentication | ( | $a_local | ) |
Definition at line 125 of file class.ilCASSettings.php.
Referenced by read().
ilCASSettings::enableUserCreation | ( | $a_uc | ) |
Definition at line 115 of file class.ilCASSettings.php.
Referenced by read().
ilCASSettings::getDefaultRole | ( | ) |
Definition at line 140 of file class.ilCASSettings.php.
References $default_role.
Referenced by save().
|
static |
Get singleton instance.
Definition at line 57 of file class.ilCASSettings.php.
Referenced by ilAuthProviderCAS\__construct(), ilCASSettingsGUI\__construct(), and ilCASSettingsTest\setGlobalVariable().
ilCASSettings::getLoginInstruction | ( | ) |
Definition at line 100 of file class.ilCASSettings.php.
References $login_instructions.
Referenced by save().
ilCASSettings::getPort | ( | ) |
Definition at line 80 of file class.ilCASSettings.php.
References $port.
Referenced by save().
ilCASSettings::getServer | ( | ) |
Definition at line 70 of file class.ilCASSettings.php.
References $server.
Referenced by save().
|
private |
Definition at line 169 of file class.ilCASSettings.php.
References $storage.
Referenced by read(), and save().
ilCASSettings::getUri | ( | ) |
Definition at line 90 of file class.ilCASSettings.php.
References $uri.
Referenced by save().
ilCASSettings::isActive | ( | ) |
Definition at line 110 of file class.ilCASSettings.php.
References $active.
Referenced by save().
ilCASSettings::isLocalAuthenticationEnabled | ( | ) |
Definition at line 130 of file class.ilCASSettings.php.
References $allow_local.
Referenced by save().
ilCASSettings::isUserCreationEnabled | ( | ) |
Definition at line 120 of file class.ilCASSettings.php.
References $create_users.
Referenced by save().
|
private |
Definition at line 157 of file class.ilCASSettings.php.
References enableLocalAuthentication(), enableUserCreation(), getStorage(), ILIAS\UI\examples\Progress\Bar\server(), setActive(), setDefaultRole(), setLoginInstruction(), setPort(), setServer(), and setUri().
Referenced by __construct().
ilCASSettings::save | ( | ) |
Definition at line 145 of file class.ilCASSettings.php.
References getDefaultRole(), getLoginInstruction(), getPort(), getServer(), getStorage(), getUri(), isActive(), isLocalAuthenticationEnabled(), and isUserCreationEnabled().
ilCASSettings::setActive | ( | $a_active | ) |
Definition at line 105 of file class.ilCASSettings.php.
Referenced by read().
ilCASSettings::setDefaultRole | ( | $a_role | ) |
Definition at line 135 of file class.ilCASSettings.php.
Referenced by read().
ilCASSettings::setLoginInstruction | ( | string | $a_inst | ) |
Definition at line 95 of file class.ilCASSettings.php.
Referenced by read().
ilCASSettings::setPort | ( | int | $a_port | ) |
Definition at line 75 of file class.ilCASSettings.php.
Referenced by read().
ilCASSettings::setServer | ( | string | $a_server | ) |
Definition at line 65 of file class.ilCASSettings.php.
References ILIAS\UI\examples\Progress\Bar\server().
Referenced by read().
ilCASSettings::setUri | ( | string | $a_uri | ) |
Definition at line 85 of file class.ilCASSettings.php.
Referenced by read().
|
private |
Definition at line 37 of file class.ilCASSettings.php.
Referenced by isActive().
|
private |
Definition at line 39 of file class.ilCASSettings.php.
Referenced by isLocalAuthenticationEnabled().
|
private |
Definition at line 38 of file class.ilCASSettings.php.
Referenced by isUserCreationEnabled().
|
private |
Definition at line 41 of file class.ilCASSettings.php.
Referenced by getDefaultRole().
|
staticprivate |
Definition at line 30 of file class.ilCASSettings.php.
|
private |
Definition at line 36 of file class.ilCASSettings.php.
Referenced by getLoginInstruction().
|
private |
Definition at line 34 of file class.ilCASSettings.php.
Referenced by getPort().
|
private |
Definition at line 33 of file class.ilCASSettings.php.
Referenced by getServer().
|
private |
Definition at line 32 of file class.ilCASSettings.php.
Referenced by getStorage().
|
private |
Definition at line 35 of file class.ilCASSettings.php.
Referenced by getUri().
|
private |
Definition at line 40 of file class.ilCASSettings.php.
const ilCASSettings::SYNC_CAS = 1 |
Definition at line 27 of file class.ilCASSettings.php.
Referenced by ilCASSettingsGUI\initFormSettings(), and ilCASSettingsGUI\save().
const ilCASSettings::SYNC_DISABLED = 0 |
Definition at line 26 of file class.ilCASSettings.php.
Referenced by ilCASSettingsGUI\initFormSettings(), and ilCASSettingsGUI\save().
const ilCASSettings::SYNC_LDAP = 2 |
Definition at line 28 of file class.ilCASSettings.php.
Referenced by ilCASSettingsGUI\initFormSettings(), and ilCASSettingsGUI\save().