|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ilAuthProviderSaml:
Collaboration diagram for ilAuthProviderSaml:Public Member Functions | |
| __construct (ilAuthCredentials $credentials, ?int $a_idp_id=null) | |
| doAuthentication (ilAuthStatus $status) | |
| migrateAccount (ilAuthStatus $status) | |
| Create new account. More... | |
| createNewAccount (ilAuthStatus $status) | |
| Create new ILIAS account for external_account. More... | |
| setExternalAccountName (string $a_name) | |
| getExternalAccountName () | |
| Get external account name. More... | |
| 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... | |
Public Member Functions inherited from ilAuthProvider | |
| __construct (ilAuthCredentials $credentials) | |
| getLogger () | |
| getCredentials () | |
| doAuthentication (ilAuthStatus $status) | |
| 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... | |
Private Member Functions | |
| determineUidFromAttributes () | |
| handleSamlAuth (ilAuthStatus $status) | |
| importUser (?string $a_internal_login, string $a_external_account, array $a_user_data=[]) | |
| buildUserAttributeXml (ilXmlWriter $xml_writer, ilExternalAuthUserAttributeMappingRule $rule, string $value) | |
| initUserDefinedFields () | |
Private Attributes | |
| const string | LOG_COMPONENT = 'auth' |
| const string | ERR_WRONG_LOGIN = 'err_wrong_login' |
| const string | SESSION_TMP_ATTRIBUTES = 'tmp_attributes' |
| const string | SESSION_TMP_RETURN_TO = 'tmp_return_to' |
| ilSamlIdp | $idp |
| readonly ilLanguage | $lng |
| readonly Profile | $profile |
| array | $attributes = [] |
| string | $return_to = '' |
| string | $uid = '' |
| bool | $force_new_account = false |
| string | $migration_account = '' |
| array | $user_defined_fields = null |
Additional Inherited Members | |
Protected Member Functions inherited from ilAuthProvider | |
| handleAuthenticationFail (ilAuthStatus $status, string $a_reason) | |
Definition at line 23 of file class.ilAuthProviderSaml.php.
| ilAuthProviderSaml::__construct | ( | ilAuthCredentials | $credentials, |
| ?int | $a_idp_id = null |
||
| ) |
Definition at line 46 of file class.ilAuthProviderSaml.php.
References ilAuthProvider\$credentials, $DIC, ILIAS\GlobalScreen\Provider\__construct(), ilSamlIdp\getFirstActiveIdp(), ilSamlIdp\getInstanceByIdpId(), ILIAS\Repository\lng(), and ILIAS\Repository\profile().
Here is the call graph for this function:
|
private |
Definition at line 397 of file class.ilAuthProviderSaml.php.
References ilExternalAuthUserAttributeMappingRule\getAttribute(), ilLoggerFactory\getLogger(), initUserDefinedFields(), and ilXmlWriter\xmlElement().
Referenced by importUser().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAuthProviderSaml::createNewAccount | ( | ilAuthStatus | $status | ) |
Create new ILIAS account for external_account.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 271 of file class.ilAuthProviderSaml.php.
References ilSession\get(), ilAuthProvider\getCredentials(), ilAuthProvider\getLogger(), ilAuthProvider\handleAuthenticationFail(), and handleSamlAuth().
Here is the call graph for this function:
|
private |
Definition at line 67 of file class.ilAuthProviderSaml.php.
Referenced by doAuthentication().
Here is the caller graph for this function:| ilAuthProviderSaml::doAuthentication | ( | ilAuthStatus | $status | ) |
Implements ilAuthProviderInterface.
Definition at line 84 of file class.ilAuthProviderSaml.php.
References Vendor\Package\$e, determineUidFromAttributes(), ilAuthProvider\getLogger(), ilAuthProvider\handleAuthenticationFail(), and handleSamlAuth().
Here is the call graph for this function:| ilAuthProviderSaml::getExternalAccountName | ( | ) |
Get external account name.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 297 of file class.ilAuthProviderSaml.php.
References $migration_account.
| ilAuthProviderSaml::getTriggerAuthMode | ( | ) |
Get auth mode which triggered the account migration 2_1 for ldap account migration with server id 1 11 for apache auth.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 302 of file class.ilAuthProviderSaml.php.
References ilAuthUtils\AUTH_SAML.
Referenced by handleSamlAuth().
Here is the caller graph for this function:| ilAuthProviderSaml::getUserAuthModeName | ( | ) |
Get user auth mode name ldap_1 for ldap account migration with server id 1 apache for apache auth.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 307 of file class.ilAuthProviderSaml.php.
Referenced by handleSamlAuth(), and importUser().
Here is the caller graph for this function:
|
private |
Definition at line 105 of file class.ilAuthProviderSaml.php.
References $GLOBALS, ilObjUser\_checkExternalAuthAccount(), ilObjUser\_loginExists(), ilObjUser\_lookupId(), ilObjUser\_writeAuthMode(), ilAuthUtils\AUTH_LOCAL, ilLoggerFactory\getLogger(), getTriggerAuthMode(), getUserAuthModeName(), ilAuthProvider\handleAuthenticationFail(), importUser(), ilSession\set(), ilAuthStatus\setAuthenticatedUserId(), setExternalAccountName(), ilAuthStatus\setStatus(), ilAuthStatus\STATUS_ACCOUNT_MIGRATION_REQUIRED, and ilAuthStatus\STATUS_AUTHENTICATED.
Referenced by createNewAccount(), and doAuthentication().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 312 of file class.ilAuthProviderSaml.php.
References Vendor\Package\$e, ilAuthUtils\_generateLogin(), ilObjUser\_lookupId(), buildUserAttributeXml(), ilAuthProvider\getLogger(), ilLoggerFactory\getLogger(), getUserAuthModeName(), ilUserImportParser\IL_USER_MAPPING_ID, ILIAS\Repository\lng(), ilStr\strToLower(), and USER_FOLDER_ID.
Referenced by handleSamlAuth().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 518 of file class.ilAuthProviderSaml.php.
References ILIAS\Repository\profile().
Referenced by buildUserAttributeXml().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAuthProviderSaml::migrateAccount | ( | ilAuthStatus | $status | ) |
Create new account.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 267 of file class.ilAuthProviderSaml.php.
| ilAuthProviderSaml::setExternalAccountName | ( | string | $a_name | ) |
Definition at line 292 of file class.ilAuthProviderSaml.php.
Referenced by handleSamlAuth().
Here is the caller graph for this function:
|
private |
Definition at line 36 of file class.ilAuthProviderSaml.php.
|
private |
Definition at line 39 of file class.ilAuthProviderSaml.php.
|
private |
Definition at line 32 of file class.ilAuthProviderSaml.php.
|
private |
Definition at line 33 of file class.ilAuthProviderSaml.php.
|
private |
Definition at line 40 of file class.ilAuthProviderSaml.php.
Referenced by getExternalAccountName().
|
private |
Definition at line 34 of file class.ilAuthProviderSaml.php.
|
private |
Definition at line 37 of file class.ilAuthProviderSaml.php.
|
private |
Definition at line 38 of file class.ilAuthProviderSaml.php.
|
private |
Definition at line 44 of file class.ilAuthProviderSaml.php.
|
private |
Definition at line 27 of file class.ilAuthProviderSaml.php.
|
private |
Definition at line 25 of file class.ilAuthProviderSaml.php.
|
private |
Definition at line 29 of file class.ilAuthProviderSaml.php.
|
private |
Definition at line 30 of file class.ilAuthProviderSaml.php.