|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Description of class class. More...
Inheritance diagram for ilAuthProviderRadius:
Collaboration diagram for ilAuthProviderRadius:Public Member Functions | |||
| __construct (\ilAuthCredentials $credentials) | |||
| createNewAccount (\ilAuthStatus $status) | |||
| create new account More... | |||
| doAuthentication (\ilAuthStatus $status) | |||
| do authentication More... | |||
| getExternalAccountName () | |||
| get external account name More... | |||
| getTriggerAuthMode () | |||
| get trigger auth mode More... | |||
| getUserAuthModeName () | |||
| get user auth mode name More... | |||
| migrateAccount (ilAuthStatus $status) | |||
Migrate existing account to radius authentication Create new account.
| |||
Public Member Functions inherited from ilAuthProvider | |||
| __construct (ilAuthCredentials $credentials) | |||
| Constructor. More... | |||
| getLogger () | |||
| Get logger. More... | |||
| getCredentials () | |||
| doAuthentication (\ilAuthStatus $status) | |||
| Do authentication. More... | |||
Public Member Functions inherited from ilAuthProviderAccountMigrationInterface | |||
| getTriggerAuthMode () | |||
| Get auth mode which triggered the account migration 2_1 for ldap account migration with server id 1 11 for apache auth. More... | |||
| getUserAuthModeName () | |||
| Get user auth mode name ldap_1 for ldap account migration with server id 1 apache for apache auth. More... | |||
| getExternalAccountName () | |||
| Get external account name. More... | |||
| migrateAccount (ilAuthStatus $status) | |||
| Create new account. More... | |||
| createNewAccount (ilAuthStatus $status) | |||
| Create new ILIAS account for external_account. More... | |||
Data Fields | |
| const | CONNECT_TIMEOUT = 3 |
| const | RETRIES = 1 |
Data Fields inherited from ilAuthProvider | |
| const | STATUS_UNDEFINED = 0 |
| const | STATUS_AUTHENTICATION_SUCCESS = 1 |
| const | STATUS_AUTHENTICATION_FAILED = 2 |
| const | STATUS_MIGRATION = 3 |
Private Attributes | |
| $settings = null | |
| $external_account = '' | |
Additional Inherited Members | |
Protected Member Functions inherited from ilAuthProvider | |
| handleAuthenticationFail (ilAuthStatus $status, $a_reason) | |
| Handle failed authentication. More... | |
Description of class class.
Definition at line 15 of file class.ilAuthProviderRadius.php.
| ilAuthProviderRadius::__construct | ( | \ilAuthCredentials | $credentials | ) |
Definition at line 28 of file class.ilAuthProviderRadius.php.
References ilAuthProvider\$credentials, ILIAS\GlobalScreen\Provider\__construct(), ilRadiusSettings\_getInstance(), and settings().
Here is the call graph for this function:| ilAuthProviderRadius::createNewAccount | ( | \ilAuthStatus | $status | ) |
create new account
| \ilAuthStatus | $status |
Definition at line 41 of file class.ilAuthProviderRadius.php.
| ilAuthProviderRadius::doAuthentication | ( | \ilAuthStatus | $status | ) |
do authentication
| \ilAuthStatus | $status |
Implements ilAuthProviderInterface.
Definition at line 49 of file class.ilAuthProviderRadius.php.
References $result, $server, ilAuthProvider\$status, ilObjUser\_checkExternalAuthAccount(), ilObjUser\_lookupId(), ilAuthProvider\getCredentials(), ilAuthProvider\getLogger(), ilAuthProvider\handleAuthenticationFail(), ilAuthStatus\setStatus(), settings(), and ilAuthStatus\STATUS_AUTHENTICATED.
Here is the call graph for this function:| ilAuthProviderRadius::getExternalAccountName | ( | ) |
get external account name
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 103 of file class.ilAuthProviderRadius.php.
References $external_account.
| ilAuthProviderRadius::getTriggerAuthMode | ( | ) |
get trigger auth mode
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 112 of file class.ilAuthProviderRadius.php.
References AUTH_RADIUS.
| ilAuthProviderRadius::getUserAuthModeName | ( | ) |
get user auth mode name
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 121 of file class.ilAuthProviderRadius.php.
| ilAuthProviderRadius::migrateAccount | ( | ilAuthStatus | $status | ) |
Migrate existing account to radius authentication Create new account.
| ilAuthStatus |
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 130 of file class.ilAuthProviderRadius.php.
|
private |
Definition at line 25 of file class.ilAuthProviderRadius.php.
Referenced by getExternalAccountName().
|
private |
Definition at line 23 of file class.ilAuthProviderRadius.php.
| const ilAuthProviderRadius::CONNECT_TIMEOUT = 3 |
Definition at line 17 of file class.ilAuthProviderRadius.php.
| const ilAuthProviderRadius::RETRIES = 1 |
Definition at line 18 of file class.ilAuthProviderRadius.php.