|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Collaboration diagram for ilSamlIdp:Public Member Functions | |
| __construct (protected int $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) |
Private Member Functions | |
| read () | |
Private Attributes | |
| const | PROP_IDP_ID = 'idp_id' |
| const | PROP_IS_ACTIVE = 'is_active' |
| const | PROP_DEFAULT_ROLE_ID = 'default_role_id' |
| const | PROP_UID_CLAIM = 'uid_claim' |
| const | PROP_LOGIN_CLAIM = 'login_claim' |
| const | PROP_ENTITY_ID = 'entity_id' |
| const | PROP_SYNC_STATUS = 'sync_status' |
| const | PROP_ALLOW_LOCAL_AUTH = 'allow_local_auth' |
| const | PROP_ACCOUNT_MIGR_STATUS = 'account_migr_status' |
| readonly ilDBInterface | $db |
| 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 Private Attributes | |
| static array | $instances = [] |
Class ilSamlIdp.
Definition at line 25 of file class.ilSamlIdp.php.
| ilSamlIdp::__construct | ( | protected int | $idp_id = 0 | ) |
Definition at line 49 of file class.ilSamlIdp.php.
References $GLOBALS, and read().
Here is the call graph for this function:| ilSamlIdp::allowLocalAuthentication | ( | ) |
| ilSamlIdp::bindDbRecord | ( | array | $record | ) |
| array<string,mixed> | $record |
Definition at line 155 of file class.ilSamlIdp.php.
References ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), 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 117 of file class.ilSamlIdp.php.
References ilAuthUtils\AUTH_SAML, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
|
static |
Definition at line 206 of file class.ilSamlIdp.php.
Referenced by ilStartUpGUI\doSamlAuthentication().
Here is the caller graph for this function:
|
static |
Definition at line 220 of file class.ilSamlIdp.php.
Referenced by ilAuthUtils\_getActiveAuthModes(), ilAuthUtils\_isExternalAccountEnabled(), ilStartUpGUI\doSamlAuthentication(), ilUserImportParser\importBeginTag(), ilStartUpGUI\showSamlLoginForm(), and ilUserImportParser\verifyBeginTag().
Here is the caller graph for this function:
|
static |
Definition at line 235 of file class.ilSamlIdp.php.
Referenced by ilSamlIdpTableGUI\__construct(), and ilAuthUtils\_getAllAuthModes().
Here is the caller graph for this function:
|
static |
Definition at line 252 of file class.ilSamlIdp.php.
Referenced by ilAuthUtils\_getAuthModeName().
Here is the caller graph for this function:| ilSamlIdp::getDefaultRoleId | ( | ) |
| ilSamlIdp::getEntityId | ( | ) |
Definition at line 272 of file class.ilSamlIdp.php.
References $entity_id.
Referenced by ilSamlIdpTableGUI\getRecords().
Here is the caller graph for this function:
|
static |
Definition at line 58 of file class.ilSamlIdp.php.
Referenced by ilAuthProviderSaml\__construct().
Here is the caller graph for this function:| ilSamlIdp::getIdpId | ( | ) |
Definition at line 292 of file class.ilSamlIdp.php.
Referenced by ilSamlSettingsGUI\populateWithMetadata(), ilSamlSettingsGUI\saveNewIdp(), and ilSamlSettingsGUI\storeMetadata().
Here is the caller graph for this function:
|
static |
Definition at line 196 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 68 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 262 of file class.ilSamlIdp.php.
References ilAuthUtils\AUTH_SAML.
Referenced by ilAuthUtils\_getAuthMode().
Here is the caller graph for this function:| ilSamlIdp::getLoginClaim | ( | ) |
| ilSamlIdp::getUidClaim | ( | ) |
| ilSamlIdp::isAccountMigrationEnabled | ( | ) |
| ilSamlIdp::isActive | ( | ) |
Definition at line 282 of file class.ilSamlIdp.php.
References $is_active.
Referenced by ilSamlIdpTableGUI\getRecords().
Here is the caller graph for this function:
|
static |
Definition at line 182 of file class.ilSamlIdp.php.
References ilAuthUtils\AUTH_SAML.
Referenced by ilObjAuthSettingsGUI\authSettingsObject().
Here is the caller graph for this function:| ilSamlIdp::isSynchronizationEnabled | ( | ) |
| ilSamlIdp::persist | ( | ) |
Definition at line 89 of file class.ilSamlIdp.php.
References setIdpId(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Referenced by ilSamlSettingsGUI\saveNewIdp().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 77 of file class.ilSamlIdp.php.
References $res, bindDbRecord(), and ilDBConstants\T_INTEGER.
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 357 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
Here is the caller graph for this function:| ilSamlIdp::setActive | ( | bool | $is_active | ) |
Definition at line 287 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 317 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
Here is the caller graph for this function:| ilSamlIdp::setEntityId | ( | string | $entity_id | ) |
Definition at line 277 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 297 of file class.ilSamlIdp.php.
Referenced by bindDbRecord(), and persist().
Here is the caller graph for this function:| ilSamlIdp::setLocalLocalAuthenticationStatus | ( | bool | $status | ) |
Definition at line 307 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
Here is the caller graph for this function:| ilSamlIdp::setLoginClaim | ( | string | $claim | ) |
Definition at line 332 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
Here is the caller graph for this function:| ilSamlIdp::setSynchronizationStatus | ( | bool | $sync | ) |
Definition at line 347 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
Here is the caller graph for this function:| ilSamlIdp::setUidClaim | ( | string | $claim | ) |
Definition at line 322 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
Here is the caller graph for this function:| ilSamlIdp::toArray | ( | ) |
Definition at line 137 of file class.ilSamlIdp.php.
References $account_migration_status, $allow_local_auth, $default_role_id, $entity_id, $is_active, $login_claim, $sync_status, and $uid_claim.
|
private |
Definition at line 47 of file class.ilSamlIdp.php.
Referenced by isAccountMigrationEnabled(), and toArray().
|
private |
Definition at line 41 of file class.ilSamlIdp.php.
Referenced by allowLocalAuthentication(), and toArray().
|
private |
Definition at line 37 of file class.ilSamlIdp.php.
|
private |
Definition at line 42 of file class.ilSamlIdp.php.
Referenced by getDefaultRoleId(), and toArray().
|
private |
Definition at line 46 of file class.ilSamlIdp.php.
Referenced by getEntityId(), setEntityId(), and toArray().
|
staticprivate |
Definition at line 39 of file class.ilSamlIdp.php.
|
private |
Definition at line 40 of file class.ilSamlIdp.php.
Referenced by isActive(), setActive(), and toArray().
|
private |
Definition at line 44 of file class.ilSamlIdp.php.
Referenced by getLoginClaim(), and toArray().
|
private |
Definition at line 45 of file class.ilSamlIdp.php.
Referenced by isSynchronizationEnabled(), and toArray().
|
private |
Definition at line 43 of file class.ilSamlIdp.php.
Referenced by getUidClaim(), and toArray().
|
private |
Definition at line 35 of file class.ilSamlIdp.php.
|
private |
Definition at line 34 of file class.ilSamlIdp.php.
|
private |
Definition at line 29 of file class.ilSamlIdp.php.
|
private |
Definition at line 32 of file class.ilSamlIdp.php.
|
private |
Definition at line 27 of file class.ilSamlIdp.php.
|
private |
Definition at line 28 of file class.ilSamlIdp.php.
|
private |
Definition at line 31 of file class.ilSamlIdp.php.
|
private |
Definition at line 33 of file class.ilSamlIdp.php.
|
private |
Definition at line 30 of file class.ilSamlIdp.php.