|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for sspmod_radius_Auth_Source_Radius:
Collaboration diagram for sspmod_radius_Auth_Source_Radius:Public Member Functions | |
| __construct ($info, $config) | |
| Constructor for this authentication source. More... | |
Public Member Functions inherited from sspmod_core_Auth_UserPassBase | |
| __construct ($info, &$config) | |
| Constructor for this authentication source. More... | |
| setForcedUsername ($forcedUsername) | |
| Set forced username. More... | |
| getLoginLinks () | |
| Return login links from configuration. More... | |
| getRememberUsernameEnabled () | |
| Getter for the authsource config option remember.username.enabled. More... | |
| getRememberUsernameChecked () | |
| Getter for the authsource config option remember.username.checked. More... | |
| isRememberMeEnabled () | |
| Check if the "remember me" feature is enabled. More... | |
| isRememberMeChecked () | |
| Check if the "remember me" checkbox should be checked. More... | |
| authenticate (&$state) | |
| Initialize login. More... | |
Public Member Functions inherited from SimpleSAML_Auth_Source | |
| __construct ($info, &$config) | |
| Constructor for an authentication source. More... | |
| getAuthId () | |
| Retrieve the ID of this authentication source. More... | |
| authenticate (&$state) | |
| Process a request. More... | |
| reauthenticate (array &$state) | |
| Reauthenticate an user. More... | |
| initLogin ($return, $errorURL=null, array $params=array()) | |
| Start authentication. More... | |
| logout (&$state) | |
| Log out from this authentication source. More... | |
Protected Member Functions | |
| login ($username, $password) | |
| Attempt to log in using the given username and password. More... | |
| login ($username, $password) | |
| Attempt to log in using the given username and password. More... | |
Protected Member Functions inherited from SimpleSAML_Auth_Source | |
| addLogoutCallback ($assoc, $state) | |
| Add a logout callback association. More... | |
| callLogoutCallback ($assoc) | |
| Call a logout callback based on association. More... | |
Private Attributes | |
| $servers | |
| The list of radius servers to use. More... | |
| $hostname | |
| The hostname of the radius server. More... | |
| $port | |
| The port of the radius server. More... | |
| $secret | |
| The secret used when communicating with the radius server. More... | |
| $timeout | |
| The timeout for contacting the radius server. More... | |
| $retries | |
| The number of retries which should be attempted. More... | |
| $realm | |
| The realm to be added to the entered username. More... | |
| $usernameAttribute | |
| The attribute name where the username should be stored. More... | |
| $vendor | |
| The vendor for the RADIUS attributes we are interrested in. More... | |
| $vendorType | |
| The vendor-specific attribute for the RADIUS attributes we are interrested in. More... | |
| $nasIdentifier | |
| The NAS-Identifier that should be set in Access-Request packets. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from sspmod_core_Auth_UserPassBase | |
| static | handleLogin ($authStateId, $username, $password) |
| Handle login request. More... | |
Static Public Member Functions inherited from SimpleSAML_Auth_Source | |
| static | getSourcesOfType ($type) |
| Get sources of a specific type. More... | |
| static | completeAuth (&$state) |
| Complete authentication. More... | |
| static | loginCompleted ($state) |
| Called when a login operation has finished. More... | |
| static | completeLogout (&$state) |
| Complete logout. More... | |
| static | getById ($authId, $type=null) |
| Retrieve authentication source. More... | |
| static | logoutCallback ($state) |
| Called when the authentication source receives an external logout request. More... | |
| static | getSources () |
| Retrieve list of authentication sources. More... | |
Data Fields inherited from sspmod_core_Auth_UserPassBase | |
| const | STAGEID = 'sspmod_core_Auth_UserPassBase.state' |
| The string used to identify our states. More... | |
| const | AUTHID = 'sspmod_core_Auth_UserPassBase.AuthId' |
| The key of the AuthId field in the state. More... | |
Static Protected Member Functions inherited from SimpleSAML_Auth_Source | |
| static | validateSource ($source, $id) |
| Make sure that the first element of an auth source is its identifier. More... | |
Protected Attributes inherited from sspmod_core_Auth_UserPassBase | |
| $loginLinks | |
| Links to pages from login page. More... | |
| $rememberUsernameEnabled = FALSE | |
| $rememberUsernameChecked = FALSE | |
| $rememberMeEnabled = FALSE | |
| $rememberMeChecked = FALSE | |
Protected Attributes inherited from SimpleSAML_Auth_Source | |
| $authId | |
Definition at line 10 of file Radius.php.
| sspmod_radius_Auth_Source_Radius::__construct | ( | $info, | |
| $config | |||
| ) |
Constructor for this authentication source.
| array | $info | Information about this authentication source. |
| array | $config | Configuration. |
Definition at line 74 of file Radius.php.
References $config, $info, and SimpleSAML_Configuration\loadFromArray().
Here is the call graph for this function:
|
protected |
Attempt to log in using the given username and password.
| string | $username | The username the user wrote. |
| string | $password | The password the user wrote. |
Reimplemented from sspmod_core_Auth_UserPassBase.
Definition at line 117 of file Radius.php.
References $attributes, $password, $res, $server, $success, $usernameAttribute, $vendor, and SimpleSAML\Logger\info().
Here is the call graph for this function:
|
private |
The hostname of the radius server.
Definition at line 20 of file Radius.php.
|
private |
The NAS-Identifier that should be set in Access-Request packets.
Definition at line 66 of file Radius.php.
|
private |
The port of the radius server.
Definition at line 25 of file Radius.php.
|
private |
The realm to be added to the entered username.
Definition at line 45 of file Radius.php.
|
private |
The number of retries which should be attempted.
Definition at line 40 of file Radius.php.
|
private |
The secret used when communicating with the radius server.
Definition at line 30 of file Radius.php.
|
private |
The list of radius servers to use.
Definition at line 15 of file Radius.php.
|
private |
The timeout for contacting the radius server.
Definition at line 35 of file Radius.php.
|
private |
The attribute name where the username should be stored.
Definition at line 50 of file Radius.php.
Referenced by login().
|
private |
The vendor for the RADIUS attributes we are interrested in.
Definition at line 55 of file Radius.php.
Referenced by login().
|
private |
The vendor-specific attribute for the RADIUS attributes we are interrested in.
Definition at line 61 of file Radius.php.