ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct (protected int $idp_id=0) | |
persist () | |
delete () | |
Deletes an idp with all relevant mapping rules. More... | |
toArray () | |
bindDbRecord (array $record) | |
bindForm (StandardForm $form) | |
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 string | PROP_IDP_ID = 'idp_id' |
const string | PROP_IS_ACTIVE = 'is_active' |
const string | PROP_DEFAULT_ROLE_ID = 'default_role_id' |
const string | PROP_UID_CLAIM = 'uid_claim' |
const string | PROP_LOGIN_CLAIM = 'login_claim' |
const string | PROP_ENTITY_ID = 'entity_id' |
const string | PROP_SYNC_STATUS = 'sync_status' |
const string | PROP_ALLOW_LOCAL_AUTH = 'allow_local_auth' |
const string | 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 = [] |
Definition at line 23 of file class.ilSamlIdp.php.
ilSamlIdp::__construct | ( | protected int | $idp_id = 0 | ) |
Definition at line 47 of file class.ilSamlIdp.php.
References $GLOBALS, and read().
ilSamlIdp::allowLocalAuthentication | ( | ) |
ilSamlIdp::bindDbRecord | ( | array | $record | ) |
array<string,mixed> | $record |
Definition at line 153 of file class.ilSamlIdp.php.
References setAccountMigrationStatus(), setActive(), setDefaultRoleId(), setEntityId(), setIdpId(), setLocalLocalAuthenticationStatus(), setLoginClaim(), setSynchronizationStatus(), and setUidClaim().
Referenced by read().
ilSamlIdp::bindForm | ( | StandardForm | $form | ) |
Definition at line 166 of file class.ilSamlIdp.php.
References $data, isSynchronizationEnabled(), null, setAccountMigrationStatus(), setDefaultRoleId(), setLocalLocalAuthenticationStatus(), setLoginClaim(), setSynchronizationStatus(), and setUidClaim().
Referenced by ilSamlSettingsGUI\saveNewIdp().
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 115 of file class.ilSamlIdp.php.
References ilAuthUtils\AUTH_SAML, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
|
static |
Definition at line 208 of file class.ilSamlIdp.php.
Referenced by ilStartUpGUI\doSamlAuthentication().
|
static |
Definition at line 222 of file class.ilSamlIdp.php.
Referenced by ilAuthUtils\_getActiveAuthModes(), ilAuthUtils\_isExternalAccountEnabled(), ilStartUpGUI\doSamlAuthentication(), ilUserImportParser\importBeginTag(), ilStartUpGUI\showSamlLoginForm(), and ilUserImportParser\verifyBeginTag().
|
static |
Definition at line 237 of file class.ilSamlIdp.php.
Referenced by ilSamlIdpTableGUI\__construct(), and ilAuthUtils\_getAllAuthModes().
|
static |
Definition at line 254 of file class.ilSamlIdp.php.
Referenced by ilAuthUtils\_getAuthModeName().
ilSamlIdp::getDefaultRoleId | ( | ) |
ilSamlIdp::getEntityId | ( | ) |
Definition at line 274 of file class.ilSamlIdp.php.
References $entity_id.
Referenced by ilSamlIdpTableGUI\getRecords().
|
static |
Definition at line 56 of file class.ilSamlIdp.php.
Referenced by ilAuthProviderSaml\__construct().
ilSamlIdp::getIdpId | ( | ) |
Definition at line 294 of file class.ilSamlIdp.php.
Referenced by ilSamlSettingsGUI\populateWithMetadata(), ilSamlSettingsGUI\saveNewIdp(), and ilSamlSettingsGUI\storeMetadata().
|
static |
Definition at line 198 of file class.ilSamlIdp.php.
References null.
Referenced by ilObjAuthSettingsGUI\authSettingsObject(), ilObjAuthSettingsGUI\buildRegistrationRoleMappingForm(), ilAuthUtils\getAuthModeTranslation(), ilAuthProviderFactory\getProviderByAuthMode(), and ilAuthUtils\isLocalPasswordEnabledForAuthMode().
|
static |
Definition at line 66 of file class.ilSamlIdp.php.
Referenced by ilAuthProviderSaml\__construct(), ilObjAuthSettingsGUI\authSettingsObject(), ilObjAuthSettingsGUI\buildRegistrationRoleMappingForm(), ilAuthUtils\getAuthModeTranslation(), ilSamlSettingsGUI\initIdp(), and ilAuthUtils\isLocalPasswordEnabledForAuthMode().
|
static |
Definition at line 264 of file class.ilSamlIdp.php.
References ilAuthUtils\AUTH_SAML.
Referenced by ilAuthUtils\_getAuthMode().
ilSamlIdp::getLoginClaim | ( | ) |
ilSamlIdp::getUidClaim | ( | ) |
ilSamlIdp::isAccountMigrationEnabled | ( | ) |
ilSamlIdp::isActive | ( | ) |
Definition at line 284 of file class.ilSamlIdp.php.
References $is_active.
Referenced by ilSamlIdpTableGUI\getRecords().
|
static |
Definition at line 184 of file class.ilSamlIdp.php.
References ilAuthUtils\AUTH_SAML.
Referenced by ilObjAuthSettingsGUI\authSettingsObject().
ilSamlIdp::isSynchronizationEnabled | ( | ) |
Definition at line 344 of file class.ilSamlIdp.php.
References $sync_status.
Referenced by bindForm().
ilSamlIdp::persist | ( | ) |
Definition at line 87 of file class.ilSamlIdp.php.
References setIdpId(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Referenced by ilSamlSettingsGUI\saveNewIdp().
|
private |
Definition at line 75 of file class.ilSamlIdp.php.
References $res, bindDbRecord(), and ilDBConstants\T_INTEGER.
Referenced by __construct().
ilSamlIdp::setAccountMigrationStatus | ( | bool | $status | ) |
Definition at line 359 of file class.ilSamlIdp.php.
Referenced by bindDbRecord(), and bindForm().
ilSamlIdp::setActive | ( | bool | $is_active | ) |
Definition at line 289 of file class.ilSamlIdp.php.
References $is_active.
Referenced by bindDbRecord().
ilSamlIdp::setDefaultRoleId | ( | int | $role_id | ) |
Definition at line 319 of file class.ilSamlIdp.php.
Referenced by bindDbRecord(), and bindForm().
ilSamlIdp::setEntityId | ( | string | $entity_id | ) |
Definition at line 279 of file class.ilSamlIdp.php.
References $entity_id.
Referenced by bindDbRecord().
ilSamlIdp::setIdpId | ( | int | $idp_id | ) |
Definition at line 299 of file class.ilSamlIdp.php.
Referenced by bindDbRecord(), and persist().
ilSamlIdp::setLocalLocalAuthenticationStatus | ( | bool | $status | ) |
Definition at line 309 of file class.ilSamlIdp.php.
Referenced by bindDbRecord(), and bindForm().
ilSamlIdp::setLoginClaim | ( | string | $claim | ) |
Definition at line 334 of file class.ilSamlIdp.php.
Referenced by bindDbRecord(), and bindForm().
ilSamlIdp::setSynchronizationStatus | ( | bool | $sync | ) |
Definition at line 349 of file class.ilSamlIdp.php.
Referenced by bindDbRecord(), and bindForm().
ilSamlIdp::setUidClaim | ( | string | $claim | ) |
Definition at line 324 of file class.ilSamlIdp.php.
Referenced by bindDbRecord(), and bindForm().
ilSamlIdp::toArray | ( | ) |
Definition at line 135 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 45 of file class.ilSamlIdp.php.
Referenced by isAccountMigrationEnabled(), and toArray().
|
private |
Definition at line 39 of file class.ilSamlIdp.php.
Referenced by allowLocalAuthentication(), and toArray().
|
private |
Definition at line 35 of file class.ilSamlIdp.php.
|
private |
Definition at line 40 of file class.ilSamlIdp.php.
Referenced by getDefaultRoleId(), and toArray().
|
private |
Definition at line 44 of file class.ilSamlIdp.php.
Referenced by getEntityId(), setEntityId(), and toArray().
|
staticprivate |
Definition at line 37 of file class.ilSamlIdp.php.
|
private |
Definition at line 38 of file class.ilSamlIdp.php.
Referenced by isActive(), setActive(), and toArray().
|
private |
Definition at line 42 of file class.ilSamlIdp.php.
Referenced by getLoginClaim(), and toArray().
|
private |
Definition at line 43 of file class.ilSamlIdp.php.
Referenced by isSynchronizationEnabled(), and toArray().
|
private |
Definition at line 41 of file class.ilSamlIdp.php.
Referenced by getUidClaim(), and toArray().
|
private |
Definition at line 33 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 30 of file class.ilSamlIdp.php.
|
private |
Definition at line 25 of file class.ilSamlIdp.php.
|
private |
Definition at line 26 of file class.ilSamlIdp.php.
|
private |
Definition at line 29 of file class.ilSamlIdp.php.
|
private |
Definition at line 31 of file class.ilSamlIdp.php.
|
private |
Definition at line 28 of file class.ilSamlIdp.php.