|
ILIAS
release_8 Revision v8.24
|
Collaboration diagram for ilSamlIdp:Public Member Functions | |
| __construct (int $a_idp_id=0) | |
| persist () | |
| delete () | |
| Deletes an idp with all relevant mapping rules. More... | |
| toArray () | |
| bindDbRecord (array $record) | |
| getEntityId () | |
| setEntityId (string $entity_id) | |
| isActive () | |
| setActive (bool $is_active) | |
| getIdpId () | |
| setIdpId (int $idp_id) | |
| allowLocalAuthentication () | |
| setLocalLocalAuthenticationStatus (bool $status) | |
| getDefaultRoleId () | |
| setDefaultRoleId (int $role_id) | |
| setUidClaim (string $claim) | |
| getUidClaim () | |
| setLoginClaim (string $claim) | |
| getLoginClaim () | |
| isSynchronizationEnabled () | |
| setSynchronizationStatus (bool $sync) | |
| isAccountMigrationEnabled () | |
| setAccountMigrationStatus (bool $status) | |
Static Public Member Functions | |
| static | getFirstActiveIdp () |
| static | getInstanceByIdpId (int $a_idp_id) |
| static | isAuthModeSaml (string $a_auth_mode) |
| static | getIdpIdByAuthMode (string $a_auth_mode) |
| static | geIdpIdByEntityId (string $entityId) |
| static | getActiveIdpList () |
| static | getAllIdps () |
| static | getAuthModeByKey (string $a_auth_key) |
| static | getKeyByAuthMode (string $a_auth_mode) |
Protected Attributes | |
| ilDBInterface | $db |
| int | $idp_id |
| bool | $is_active = false |
| bool | $allow_local_auth = false |
| int | $default_role_id = 0 |
| string | $uid_claim = '' |
| string | $login_claim = '' |
| bool | $sync_status = false |
| string | $entity_id = '' |
| bool | $account_migration_status = false |
Static Protected Attributes | |
| static array | $idp_as_data = [] |
Private Member Functions | |
| read () | |
Static Private Attributes | |
| static array | $instances = [] |
Class ilSamlIdp.
Definition at line 25 of file class.ilSamlIdp.php.
| ilSamlIdp::__construct | ( | int | $a_idp_id = 0 | ) |
Definition at line 42 of file class.ilSamlIdp.php.
References $GLOBALS, and read().
Here is the call graph for this function:| ilSamlIdp::allowLocalAuthentication | ( | ) |
Definition at line 297 of file class.ilSamlIdp.php.
References $allow_local_auth.
Referenced by persist(), and toArray().
Here is the caller graph for this function:| ilSamlIdp::bindDbRecord | ( | array | $record | ) |
| array<string,mixed> | $record |
Definition at line 149 of file class.ilSamlIdp.php.
References setAccountMigrationStatus(), setActive(), setDefaultRoleId(), setEntityId(), setIdpId(), setLocalLocalAuthenticationStatus(), setLoginClaim(), setSynchronizationStatus(), and setUidClaim().
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSamlIdp::delete | ( | ) |
Deletes an idp with all relevant mapping rules.
Furthermore, the auth_mode of the relevant user accounts will be switched to 'default'
Definition at line 111 of file class.ilSamlIdp.php.
References ilAuthUtils\AUTH_SAML, and getIdpId().
Here is the call graph for this function:
|
static |
Definition at line 200 of file class.ilSamlIdp.php.
References $entityId.
Referenced by ilStartUpGUI\doSamlAuthentication().
Here is the caller graph for this function:
|
static |
Definition at line 214 of file class.ilSamlIdp.php.
Referenced by ilAuthUtils\_getActiveAuthModes(), ilAuthUtils\_isExternalAccountEnabled(), ilStartUpGUI\doSamlAuthentication(), getFirstActiveIdp(), ilUserImportParser\importBeginTag(), ilStartUpGUI\showSamlLoginForm(), and ilUserImportParser\verifyBeginTag().
Here is the caller graph for this function:
|
static |
Definition at line 230 of file class.ilSamlIdp.php.
Referenced by ilAuthUtils\_getAllAuthModes(), and ilSamlIdpTableGUI\getItems().
Here is the caller graph for this function:
|
static |
Definition at line 247 of file class.ilSamlIdp.php.
Referenced by ilAuthUtils\_getAuthModeName().
Here is the caller graph for this function:| ilSamlIdp::getDefaultRoleId | ( | ) |
Definition at line 307 of file class.ilSamlIdp.php.
References $default_role_id.
Referenced by persist(), and toArray().
Here is the caller graph for this function:| ilSamlIdp::getEntityId | ( | ) |
Definition at line 267 of file class.ilSamlIdp.php.
References $entity_id.
Referenced by persist(), and toArray().
Here is the caller graph for this function:
|
static |
Definition at line 52 of file class.ilSamlIdp.php.
References getActiveIdpList().
Referenced by ilAuthProviderSaml\__construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSamlIdp::getIdpId | ( | ) |
Definition at line 287 of file class.ilSamlIdp.php.
References $idp_id.
Referenced by delete(), persist(), ilSamlSettingsGUI\populateWithMetadata(), read(), ilSamlSettingsGUI\saveNewIdp(), ilSamlSettingsGUI\storeMetadata(), and toArray().
Here is the caller graph for this function:
|
static |
Definition at line 190 of file class.ilSamlIdp.php.
Referenced by ilObjAuthSettingsGUI\authSettingsObject(), ilAuthUtils\getAuthModeTranslation(), ilAuthProviderFactory\getProviderByAuthMode(), and ilAuthUtils\isLocalPasswordEnabledForAuthMode().
Here is the caller graph for this function:
|
static |
Definition at line 62 of file class.ilSamlIdp.php.
Referenced by ilAuthProviderSaml\__construct(), ilObjAuthSettingsGUI\authSettingsObject(), ilAuthUtils\getAuthModeTranslation(), ilSamlSettingsGUI\initIdp(), and ilAuthUtils\isLocalPasswordEnabledForAuthMode().
Here is the caller graph for this function:
|
static |
Definition at line 257 of file class.ilSamlIdp.php.
References ilAuthUtils\AUTH_SAML.
Referenced by ilAuthUtils\_getAuthMode().
Here is the caller graph for this function:| ilSamlIdp::getLoginClaim | ( | ) |
Definition at line 332 of file class.ilSamlIdp.php.
References $login_claim.
Referenced by persist(), and toArray().
Here is the caller graph for this function:| ilSamlIdp::getUidClaim | ( | ) |
Definition at line 322 of file class.ilSamlIdp.php.
References $uid_claim.
Referenced by persist(), and toArray().
Here is the caller graph for this function:| ilSamlIdp::isAccountMigrationEnabled | ( | ) |
Definition at line 347 of file class.ilSamlIdp.php.
References $account_migration_status.
Referenced by persist(), and toArray().
Here is the caller graph for this function:| ilSamlIdp::isActive | ( | ) |
Definition at line 277 of file class.ilSamlIdp.php.
References $is_active.
Referenced by persist(), and toArray().
Here is the caller graph for this function:
|
static |
Definition at line 176 of file class.ilSamlIdp.php.
References ilAuthUtils\AUTH_SAML.
Referenced by ilObjAuthSettingsGUI\authSettingsObject().
Here is the caller graph for this function:| ilSamlIdp::isSynchronizationEnabled | ( | ) |
Definition at line 337 of file class.ilSamlIdp.php.
References $sync_status.
Referenced by persist(), and toArray().
Here is the caller graph for this function:| ilSamlIdp::persist | ( | ) |
Definition at line 83 of file class.ilSamlIdp.php.
References allowLocalAuthentication(), getDefaultRoleId(), getEntityId(), getIdpId(), getLoginClaim(), getUidClaim(), isAccountMigrationEnabled(), isActive(), isSynchronizationEnabled(), and setIdpId().
Referenced by ilSamlSettingsGUI\saveNewIdp().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 71 of file class.ilSamlIdp.php.
References $query, $res, bindDbRecord(), and getIdpId().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSamlIdp::setAccountMigrationStatus | ( | bool | $status | ) |
Definition at line 352 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
Here is the caller graph for this function:| ilSamlIdp::setActive | ( | bool | $is_active | ) |
Definition at line 282 of file class.ilSamlIdp.php.
References $is_active.
Referenced by bindDbRecord().
Here is the caller graph for this function:| ilSamlIdp::setDefaultRoleId | ( | int | $role_id | ) |
Definition at line 312 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
Here is the caller graph for this function:| ilSamlIdp::setEntityId | ( | string | $entity_id | ) |
Definition at line 272 of file class.ilSamlIdp.php.
References $entity_id.
Referenced by bindDbRecord().
Here is the caller graph for this function:| ilSamlIdp::setIdpId | ( | int | $idp_id | ) |
Definition at line 292 of file class.ilSamlIdp.php.
References $idp_id.
Referenced by bindDbRecord(), and persist().
Here is the caller graph for this function:| ilSamlIdp::setLocalLocalAuthenticationStatus | ( | bool | $status | ) |
Definition at line 302 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
Here is the caller graph for this function:| ilSamlIdp::setLoginClaim | ( | string | $claim | ) |
Definition at line 327 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
Here is the caller graph for this function:| ilSamlIdp::setSynchronizationStatus | ( | bool | $sync | ) |
Definition at line 342 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
Here is the caller graph for this function:| ilSamlIdp::setUidClaim | ( | string | $claim | ) |
Definition at line 317 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
Here is the caller graph for this function:| ilSamlIdp::toArray | ( | ) |
Definition at line 131 of file class.ilSamlIdp.php.
References allowLocalAuthentication(), getDefaultRoleId(), getEntityId(), getIdpId(), getLoginClaim(), getUidClaim(), isAccountMigrationEnabled(), isActive(), and isSynchronizationEnabled().
Here is the call graph for this function:
|
protected |
Definition at line 38 of file class.ilSamlIdp.php.
Referenced by isAccountMigrationEnabled().
|
protected |
Definition at line 32 of file class.ilSamlIdp.php.
Referenced by allowLocalAuthentication().
|
protected |
Definition at line 27 of file class.ilSamlIdp.php.
|
protected |
Definition at line 33 of file class.ilSamlIdp.php.
Referenced by getDefaultRoleId().
|
protected |
Definition at line 37 of file class.ilSamlIdp.php.
Referenced by getEntityId(), and setEntityId().
|
staticprotected |
Definition at line 40 of file class.ilSamlIdp.php.
|
protected |
Definition at line 30 of file class.ilSamlIdp.php.
Referenced by getIdpId(), and setIdpId().
|
staticprivate |
Definition at line 29 of file class.ilSamlIdp.php.
|
protected |
Definition at line 31 of file class.ilSamlIdp.php.
Referenced by isActive(), and setActive().
|
protected |
Definition at line 35 of file class.ilSamlIdp.php.
Referenced by getLoginClaim().
|
protected |
Definition at line 36 of file class.ilSamlIdp.php.
Referenced by isSynchronizationEnabled().
|
protected |
Definition at line 34 of file class.ilSamlIdp.php.
Referenced by getUidClaim().