ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
isActive () | |
setActive ($a_status) | |
setPort ($a_port) | |
getPort () | |
setSecret ($a_secret) | |
getSecret () | |
setServerString ($a_server_string) | |
getServersAsString () | |
getServers () | |
setName ($a_name) | |
getName () | |
toPearAuthArray () | |
Create options array for PEAR Auth constructor. More... | |
getDefaultRole () | |
Get default role for new radius users. More... | |
setDefaultRole ($a_role) | |
enabledCreation () | |
Enable creation of users. More... | |
enableCreation ($a_status) | |
Enable creation. More... | |
enableAccountMigration ($a_status) | |
Enable account migration. More... | |
isAccountMigrationEnabled () | |
enabled account migration More... | |
getCharset () | |
get charset More... | |
setCharset ($a_charset) | |
set charset More... | |
save () | |
Save settings. More... | |
validateRequired () | |
Validate required. More... | |
validatePort () | |
Validate port. More... | |
validateServers () | |
Validate servers. More... | |
Static Public Member Functions | |
static | _getInstance () |
singleton get instance More... | |
Data Fields | |
const | RADIUS_CHARSET_UTF8 = 0 |
const | RADIUS_CHARSET_LATIN1 = 1 |
const | SYNC_DISABLED = 0 |
const | SYNC_RADIUS = 1 |
const | SYNC_LDAP = 2 |
$active = false | |
Private Member Functions | |
__construct () | |
singleton constructor More... | |
read () | |
Read settings. More... | |
Private Attributes | |
$settings | |
$db | |
$account_migration = false | |
$servers = array() | |
Static Private Attributes | |
static | $instance = null |
Definition at line 32 of file class.ilRadiusSettings.php.
|
private |
singleton constructor
private
Definition at line 57 of file class.ilRadiusSettings.php.
References $ilDB, $ilSetting, read(), and settings().
|
static |
singleton get instance
public
Definition at line 74 of file class.ilRadiusSettings.php.
Referenced by ilAuthProviderRadius\__construct(), ilRadiusAttributeToUser\__construct(), ilAuthUtils\_getMultipleAuthModeOptions(), ilAuthUtils\_hasMultipleAuthenticationMethods(), ilAuthLoginPageEditorGUI\initLoginForm(), ilRadiusSettingsGUI\initSettings(), and ilAuthModeDetermination\read().
ilRadiusSettings::enableAccountMigration | ( | $a_status | ) |
Enable account migration.
public
bool | status |
Definition at line 189 of file class.ilRadiusSettings.php.
ilRadiusSettings::enableCreation | ( | $a_status | ) |
ilRadiusSettings::enabledCreation | ( | ) |
Enable creation of users.
public
Definition at line 165 of file class.ilRadiusSettings.php.
Referenced by save(), and validateRequired().
ilRadiusSettings::getCharset | ( | ) |
get charset
public
Definition at line 211 of file class.ilRadiusSettings.php.
Referenced by save().
ilRadiusSettings::getDefaultRole | ( | ) |
Get default role for new radius users.
public
Definition at line 149 of file class.ilRadiusSettings.php.
Referenced by save(), and validateRequired().
ilRadiusSettings::getName | ( | ) |
Definition at line 123 of file class.ilRadiusSettings.php.
References $name.
Referenced by save(), and validateRequired().
ilRadiusSettings::getPort | ( | ) |
Definition at line 94 of file class.ilRadiusSettings.php.
Referenced by save(), toPearAuthArray(), validatePort(), and validateRequired().
ilRadiusSettings::getSecret | ( | ) |
Definition at line 102 of file class.ilRadiusSettings.php.
Referenced by save(), toPearAuthArray(), and validateRequired().
ilRadiusSettings::getServers | ( | ) |
Definition at line 115 of file class.ilRadiusSettings.php.
Referenced by save(), and toPearAuthArray().
ilRadiusSettings::getServersAsString | ( | ) |
Definition at line 111 of file class.ilRadiusSettings.php.
Referenced by validateRequired().
ilRadiusSettings::isAccountMigrationEnabled | ( | ) |
enabled account migration
public
Definition at line 200 of file class.ilRadiusSettings.php.
Referenced by save().
ilRadiusSettings::isActive | ( | ) |
Definition at line 82 of file class.ilRadiusSettings.php.
Referenced by save().
|
private |
Read settings.
private
Definition at line 320 of file class.ilRadiusSettings.php.
References $m, $s, $sets, ilObjRole\_getRolesByAuthMode(), and settings().
Referenced by __construct().
ilRadiusSettings::save | ( | ) |
Save settings.
public
Definition at line 234 of file class.ilRadiusSettings.php.
References $server, ilObjRole\_resetAuthMode(), ilObjRole\_updateAuthMode(), enabledCreation(), getCharset(), getDefaultRole(), getName(), getPort(), getSecret(), getServers(), isAccountMigrationEnabled(), isActive(), and settings().
ilRadiusSettings::setActive | ( | $a_status | ) |
Definition at line 86 of file class.ilRadiusSettings.php.
ilRadiusSettings::setCharset | ( | $a_charset | ) |
ilRadiusSettings::setDefaultRole | ( | $a_role | ) |
Definition at line 154 of file class.ilRadiusSettings.php.
ilRadiusSettings::setName | ( | $a_name | ) |
Definition at line 119 of file class.ilRadiusSettings.php.
ilRadiusSettings::setPort | ( | $a_port | ) |
Definition at line 90 of file class.ilRadiusSettings.php.
ilRadiusSettings::setSecret | ( | $a_secret | ) |
Definition at line 98 of file class.ilRadiusSettings.php.
ilRadiusSettings::setServerString | ( | $a_server_string | ) |
Definition at line 106 of file class.ilRadiusSettings.php.
ilRadiusSettings::toPearAuthArray | ( | ) |
Create options array for PEAR Auth constructor.
public
Definition at line 134 of file class.ilRadiusSettings.php.
References $server, getPort(), getSecret(), and getServers().
ilRadiusSettings::validatePort | ( | ) |
Validate port.
public
Definition at line 288 of file class.ilRadiusSettings.php.
References getPort().
ilRadiusSettings::validateRequired | ( | ) |
Validate required.
public
Definition at line 271 of file class.ilRadiusSettings.php.
References $ok, enabledCreation(), getDefaultRole(), getName(), getPort(), getSecret(), and getServersAsString().
ilRadiusSettings::validateServers | ( | ) |
Validate servers.
public
Definition at line 299 of file class.ilRadiusSettings.php.
References $server, $servers, ilUtil\isDN(), and ilUtil\isIPv4().
|
private |
Definition at line 46 of file class.ilRadiusSettings.php.
ilRadiusSettings::$active = false |
Definition at line 49 of file class.ilRadiusSettings.php.
|
private |
Definition at line 43 of file class.ilRadiusSettings.php.
|
staticprivate |
Definition at line 44 of file class.ilRadiusSettings.php.
|
private |
Definition at line 48 of file class.ilRadiusSettings.php.
Referenced by validateServers().
|
private |
Definition at line 42 of file class.ilRadiusSettings.php.
const ilRadiusSettings::RADIUS_CHARSET_LATIN1 = 1 |
Definition at line 35 of file class.ilRadiusSettings.php.
Referenced by ilRadiusSettingsGUI\prepareCharsetSelection().
const ilRadiusSettings::RADIUS_CHARSET_UTF8 = 0 |
Definition at line 34 of file class.ilRadiusSettings.php.
Referenced by ilRadiusSettingsGUI\prepareCharsetSelection().
const ilRadiusSettings::SYNC_DISABLED = 0 |
Definition at line 37 of file class.ilRadiusSettings.php.
Referenced by ilRadiusSettingsGUI\save(), and ilRadiusSettingsGUI\settings().
const ilRadiusSettings::SYNC_LDAP = 2 |
Definition at line 39 of file class.ilRadiusSettings.php.
Referenced by ilRadiusSettingsGUI\save(), and ilRadiusSettingsGUI\settings().
const ilRadiusSettings::SYNC_RADIUS = 1 |
Definition at line 38 of file class.ilRadiusSettings.php.
Referenced by ilRadiusSettingsGUI\save(), and ilRadiusSettingsGUI\settings().