| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
 Collaboration diagram for ilRadiusSettings:
 Collaboration diagram for ilRadiusSettings:| 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. | |
| getDefaultRole () | |
| Get default role for new radius users. | |
| setDefaultRole ($a_role) | |
| enabledCreation () | |
| Enable creation of users. | |
| enableCreation ($a_status) | |
| Enable creation. | |
| enableAccountMigration ($a_status) | |
| Enable account migration. | |
| isAccountMigrationEnabled () | |
| enabled account migration | |
| getCharset () | |
| get charset | |
| setCharset ($a_charset) | |
| set charset | |
| save () | |
| Save settings. | |
| validateRequired () | |
| Validate required. | |
| validatePort () | |
| Validate port. | |
| validateServers () | |
| Validate servers. | |
| Static Public Member Functions | |
| static | _getInstance () | 
| singleton get instance | |
| Data Fields | |
| const | RADIUS_CHARSET_UTF8 = 0 | 
| const | RADIUS_CHARSET_LATIN1 = 1 | 
| $active = false | |
| Private Member Functions | |
| __construct () | |
| singleton constructor | |
| read () | |
| Read settings. | |
| 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 53 of file class.ilRadiusSettings.php.
References $ilDB, $ilSetting, and read().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
singleton get instance
public
Definition at line 70 of file class.ilRadiusSettings.php.
References $instance.
Referenced by ilRadiusAttributeToUser\__construct(), ilAuthUtils\_getMultipleAuthModeOptions(), ilAuthUtils\_hasMultipleAuthenticationMethods(), ilObjAuthSettingsGUI\initLoginForm(), ilAuthContainerRadius\initSettings(), and ilRadiusSettingsGUI\initSettings().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRadiusSettings::enableAccountMigration | ( | $a_status | ) | 
Enable account migration.
public
| bool | status | 
Definition at line 187 of file class.ilRadiusSettings.php.
| ilRadiusSettings::enableCreation | ( | $a_status | ) | 
Enable creation.
public
Definition at line 175 of file class.ilRadiusSettings.php.
| ilRadiusSettings::enabledCreation | ( | ) | 
Enable creation of users.
public
Definition at line 163 of file class.ilRadiusSettings.php.
Referenced by save(), and validateRequired().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRadiusSettings::getCharset | ( | ) | 
get charset
public
Definition at line 209 of file class.ilRadiusSettings.php.
Referenced by save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRadiusSettings::getDefaultRole | ( | ) | 
Get default role for new radius users.
public
Definition at line 147 of file class.ilRadiusSettings.php.
Referenced by save(), and validateRequired().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRadiusSettings::getName | ( | ) | 
Definition at line 120 of file class.ilRadiusSettings.php.
Referenced by save(), and validateRequired().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRadiusSettings::getPort | ( | ) | 
Definition at line 91 of file class.ilRadiusSettings.php.
Referenced by save(), toPearAuthArray(), validatePort(), and validateRequired().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRadiusSettings::getSecret | ( | ) | 
Definition at line 99 of file class.ilRadiusSettings.php.
Referenced by save(), toPearAuthArray(), and validateRequired().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRadiusSettings::getServers | ( | ) | 
Definition at line 112 of file class.ilRadiusSettings.php.
Referenced by save(), and toPearAuthArray().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRadiusSettings::getServersAsString | ( | ) | 
Definition at line 108 of file class.ilRadiusSettings.php.
Referenced by validateRequired().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRadiusSettings::isAccountMigrationEnabled | ( | ) | 
enabled account migration
public
Definition at line 198 of file class.ilRadiusSettings.php.
Referenced by save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRadiusSettings::isActive | ( | ) | 
Definition at line 79 of file class.ilRadiusSettings.php.
Referenced by save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Read settings.
private
Definition at line 326 of file class.ilRadiusSettings.php.
References ilObjRole\_getRolesByAuthMode().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRadiusSettings::save | ( | ) | 
Save settings.
public
Definition at line 232 of file class.ilRadiusSettings.php.
References $server, ilObjRole\_resetAuthMode(), ilObjRole\_updateAuthMode(), enabledCreation(), getCharset(), getDefaultRole(), getName(), getPort(), getSecret(), getServers(), isAccountMigrationEnabled(), and isActive().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilRadiusSettings::setActive | ( | $a_status | ) | 
Definition at line 83 of file class.ilRadiusSettings.php.
| ilRadiusSettings::setCharset | ( | $a_charset | ) | 
set charset
public
| int | charset | 
Definition at line 221 of file class.ilRadiusSettings.php.
| ilRadiusSettings::setDefaultRole | ( | $a_role | ) | 
Definition at line 152 of file class.ilRadiusSettings.php.
| ilRadiusSettings::setName | ( | $a_name | ) | 
Definition at line 116 of file class.ilRadiusSettings.php.
| ilRadiusSettings::setPort | ( | $a_port | ) | 
Definition at line 87 of file class.ilRadiusSettings.php.
| ilRadiusSettings::setSecret | ( | $a_secret | ) | 
Definition at line 95 of file class.ilRadiusSettings.php.
| ilRadiusSettings::setServerString | ( | $a_server_string | ) | 
Definition at line 103 of file class.ilRadiusSettings.php.
| ilRadiusSettings::toPearAuthArray | ( | ) | 
Create options array for PEAR Auth constructor.
public
Definition at line 131 of file class.ilRadiusSettings.php.
References $server, getPort(), getSecret(), and getServers().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilRadiusSettings::validatePort | ( | ) | 
Validate port.
public
Definition at line 292 of file class.ilRadiusSettings.php.
References getPort().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilRadiusSettings::validateRequired | ( | ) | 
Validate required.
public
Definition at line 274 of file class.ilRadiusSettings.php.
References $ok, enabledCreation(), getDefaultRole(), getName(), getPort(), getSecret(), and getServersAsString().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilRadiusSettings::validateServers | ( | ) | 
Validate servers.
public
Definition at line 303 of file class.ilRadiusSettings.php.
References $server, $servers, ilUtil\isDN(), and ilUtil\isIPv4().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 42 of file class.ilRadiusSettings.php.
| ilRadiusSettings::$active = false | 
Definition at line 45 of file class.ilRadiusSettings.php.
| 
 | private | 
Definition at line 39 of file class.ilRadiusSettings.php.
| 
 | staticprivate | 
Definition at line 40 of file class.ilRadiusSettings.php.
Referenced by _getInstance().
| 
 | private | 
Definition at line 44 of file class.ilRadiusSettings.php.
Referenced by validateServers().
| 
 | private | 
Definition at line 38 of file class.ilRadiusSettings.php.
| const ilRadiusSettings::RADIUS_CHARSET_LATIN1 = 1 | 
Definition at line 35 of file class.ilRadiusSettings.php.
Referenced by ilAuthContainerRadius\__construct(), and ilRadiusSettingsGUI\prepareCharsetSelection().
| const ilRadiusSettings::RADIUS_CHARSET_UTF8 = 0 | 
Definition at line 34 of file class.ilRadiusSettings.php.
Referenced by ilRadiusSettingsGUI\prepareCharsetSelection().