|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Auth prvider for ecs auth. More...
Inheritance diagram for ilAuthProviderECS:
Collaboration diagram for ilAuthProviderECS:Public Member Functions | |
| __construct (\ilAuthCredentials $credentials) | |
| Constructor. More... | |
| getAbreviation () | |
| get abbreviation More... | |
| getMID () | |
| get mid More... | |
| setMID (int $a_mid) | |
| setCurrentServer (ilECSSetting $server) | |
| Set current server. More... | |
| getCurrentServer () | |
| Get current server. More... | |
| getServerSettings () | |
| Get server settings. More... | |
| doAuthentication (\ilAuthStatus $status) | |
| Try ecs authentication. More... | |
| handleLogin () | |
| Called from base class after successful login. More... | |
| initRemoteUserWithRemoteId () | |
| validateHash () | |
| Validate ECS hash. More... | |
Public Member Functions inherited from ilAuthProvider | |
| __construct (ilAuthCredentials $credentials) | |
| getLogger () | |
| getCredentials () | |
Public Member Functions inherited from ilAuthProviderInterface | |
| doAuthentication (ilAuthStatus $status) | |
Protected Member Functions | |
| handleLoginByAuthMode (ilAuthStatus $status) | |
| Redirects to shibboleth login; to standard login page for LDAP based authentication or authenticates/creates a local account. More... | |
| resumeCurrentSession () | |
| createUser (ilECSUser $user) | |
| create new user More... | |
| updateUser (ilECSUser $user, int $a_local_user_id) | |
| update existing user More... | |
| resetMailOptions (int $a_usr_id) | |
| Reset mail options to "local only". More... | |
Protected Member Functions inherited from ilAuthProvider | |
| handleAuthenticationFail (ilAuthStatus $status, string $a_reason) | |
Protected Attributes | |
| int | $mid = null |
| string | $abreviation = null |
| ilECSSetting | $currentServer |
| ilECSServerSettings | $servers |
| ilECSAuthFactory | $auth_factory |
Private Member Functions | |
| initECSServices () | |
| Init ECS Services. More... | |
Private Attributes | |
| ilIniFile | $clientIniFile |
| ilRbacAdmin | $rbacAdmin |
| ilSetting | $setting |
| ilLanguage | $lng |
| Refinery | $refinery |
| HTTPServices | $http |
| ilAuthSession | $authSession |
| ilCtrlInterface | $ctrl |
Auth prvider for ecs auth.
Definition at line 29 of file class.ilAuthProviderECS.php.
| ilAuthProviderECS::__construct | ( | \ilAuthCredentials | $credentials | ) |
Constructor.
| \ilAuthCredentials | $credentials |
Definition at line 52 of file class.ilAuthProviderECS.php.
References ilAuthProvider\$credentials, $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), initECSServices(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
protected |
create new user
Definition at line 344 of file class.ilAuthProviderECS.php.
References ilAuthUtils\_generateLogin(), ilObject\_writeImportId(), getAbreviation(), getCurrentServer(), ilECSUser\getEmail(), ilECSUser\getFirstname(), ilECSUser\getImportId(), ilECSUser\getInstitution(), ilECSUser\getLastname(), ilAuthProvider\getLogger(), ilECSUser\getLogin(), IL_CAL_DATETIME, IL_CAL_UNIX, ilObjUser\PASSWD_CRYPTED, resetMailOptions(), and SYSTEM_USER_ID.
Referenced by handleLogin().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAuthProviderECS::doAuthentication | ( | \ilAuthStatus | $status | ) |
Try ecs authentication.
Definition at line 121 of file class.ilAuthProviderECS.php.
References $server, ilECSServerSettings\ACTIVE_SERVER, ilAuthProvider\getLogger(), getServerSettings(), ilAuthProvider\handleAuthenticationFail(), handleLoginByAuthMode(), setCurrentServer(), and validateHash().
Here is the call graph for this function:| ilAuthProviderECS::getAbreviation | ( | ) |
get abbreviation
Definition at line 75 of file class.ilAuthProviderECS.php.
References $abreviation.
Referenced by createUser().
Here is the caller graph for this function:| ilAuthProviderECS::getCurrentServer | ( | ) |
Get current server.
Definition at line 104 of file class.ilAuthProviderECS.php.
References $currentServer.
Referenced by createUser(), handleLogin(), handleLoginByAuthMode(), initRemoteUserWithRemoteId(), resumeCurrentSession(), updateUser(), and validateHash().
Here is the caller graph for this function:| ilAuthProviderECS::getMID | ( | ) |
get mid
Definition at line 83 of file class.ilAuthProviderECS.php.
References $mid.
Referenced by handleLogin(), handleLoginByAuthMode(), and initRemoteUserWithRemoteId().
Here is the caller graph for this function:| ilAuthProviderECS::getServerSettings | ( | ) |
Get server settings.
Definition at line 112 of file class.ilAuthProviderECS.php.
References $servers.
Referenced by doAuthentication().
Here is the caller graph for this function:| ilAuthProviderECS::handleLogin | ( | ) |
Called from base class after successful login.
Definition at line 216 of file class.ilAuthProviderECS.php.
References ilObjUser\_lookupId(), ilObject\_lookupObjIdByImportId(), createUser(), getCurrentServer(), ilAuthProvider\getLogger(), getMID(), ILIAS\FileDelivery\http(), and updateUser().
Referenced by handleLoginByAuthMode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Redirects to shibboleth login; to standard login page for LDAP based authentication or authenticates/creates a local account.
Definition at line 146 of file class.ilAuthProviderECS.php.
References getCurrentServer(), ilAuthProvider\getLogger(), getMID(), ilAuthProvider\handleAuthenticationFail(), handleLogin(), ILIAS\FileDelivery\http(), initRemoteUserWithRemoteId(), ILIAS\Repository\refinery(), resumeCurrentSession(), ilAuthStatus\setAuthenticatedUserId(), ilAuthStatus\setStatus(), and ilAuthStatus\STATUS_AUTHENTICATED.
Referenced by doAuthentication().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Init ECS Services.
Definition at line 336 of file class.ilAuthProviderECS.php.
References ilECSServerSettings\getInstance().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAuthProviderECS::initRemoteUserWithRemoteId | ( | ) |
Definition at line 244 of file class.ilAuthProviderECS.php.
References getCurrentServer(), getMID(), and ILIAS\FileDelivery\http().
Referenced by handleLoginByAuthMode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Reset mail options to "local only".
Definition at line 431 of file class.ilAuthProviderECS.php.
References ILIAS\UI\Implementation\Component\Input\Field\$options, and ilMailOptions\INCOMING_LOCAL.
Referenced by createUser(), and updateUser().
Here is the caller graph for this function:
|
protected |
Definition at line 190 of file class.ilAuthProviderECS.php.
References ilObjUser\_lookupExternalAccount(), ANONYMOUS_USER_ID, getCurrentServer(), ilAuthProvider\getLogger(), and ILIAS\FileDelivery\http().
Referenced by handleLoginByAuthMode().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAuthProviderECS::setCurrentServer | ( | ilECSSetting | $server | ) |
Set current server.
Definition at line 96 of file class.ilAuthProviderECS.php.
References $server.
Referenced by doAuthentication().
Here is the caller graph for this function:| ilAuthProviderECS::setMID | ( | int | $a_mid | ) |
Definition at line 88 of file class.ilAuthProviderECS.php.
Referenced by validateHash().
Here is the caller graph for this function:
|
protected |
update existing user
Definition at line 396 of file class.ilAuthProviderECS.php.
References getCurrentServer(), ilECSUser\getEmail(), ilECSUser\getFirstname(), ilECSUser\getImportId(), ilECSUser\getInstitution(), ilECSUser\getLastname(), ilAuthProvider\getLogger(), and resetMailOptions().
Referenced by handleLogin().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAuthProviderECS::validateHash | ( | ) |
Validate ECS hash.
Definition at line 261 of file class.ilAuthProviderECS.php.
References Vendor\Package\$e, $res, getCurrentServer(), ilECSCommunityReader\getInstanceByServerId(), ilAuthProvider\getLogger(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), and setMID().
Referenced by doAuthentication().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 41 of file class.ilAuthProviderECS.php.
Referenced by getAbreviation().
|
protected |
Definition at line 45 of file class.ilAuthProviderECS.php.
|
private |
Definition at line 37 of file class.ilAuthProviderECS.php.
|
private |
Definition at line 31 of file class.ilAuthProviderECS.php.
|
private |
Definition at line 38 of file class.ilAuthProviderECS.php.
|
protected |
Definition at line 43 of file class.ilAuthProviderECS.php.
Referenced by getCurrentServer().
|
private |
Definition at line 36 of file class.ilAuthProviderECS.php.
|
private |
Definition at line 34 of file class.ilAuthProviderECS.php.
|
protected |
Definition at line 40 of file class.ilAuthProviderECS.php.
Referenced by getMID().
|
private |
Definition at line 32 of file class.ilAuthProviderECS.php.
|
private |
Definition at line 35 of file class.ilAuthProviderECS.php.
|
protected |
Definition at line 44 of file class.ilAuthProviderECS.php.
Referenced by getServerSettings().
|
private |
Definition at line 33 of file class.ilAuthProviderECS.php.