ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct ($a_idp_id=0) | |
persist () | |
delete () | |
Deletes an idp with all relvant mapping rules. More... | |
toArray () | |
bindDbRecord (array $record) | |
getEntityId () | |
setEntityId ($entity_id) | |
isActive () | |
setActive ($is_active) | |
getIdpId () | |
setIdpId ($idp_id) | |
allowLocalAuthentication () | |
setLocalLocalAuthenticationStatus ($status) | |
getDefaultRoleId () | |
setDefaultRoleId ($role_id) | |
setUidClaim ($claim) | |
getUidClaim () | |
setLoginClaim ($claim) | |
getLoginClaim () | |
isSynchronizationEnabled () | |
setSynchronizationStatus ($sync) | |
isAccountMigrationEnabled () | |
setAccountMigrationStatus ($status) | |
Static Public Member Functions | |
static | getFirstActiveIdp () |
static | getInstanceByIdpId ($a_idp_id) |
static | isAuthModeSaml ($a_auth_mode) |
static | getIdpIdByAuthMode ($a_auth_mode) |
static | getActiveIdpList () |
static | getAllIdps () |
static | getAuthModeByKey ($a_auth_key) |
static | getKeyByAuthMode ($a_auth_mode) |
Protected Attributes | |
$db | |
$idp_id | |
$is_active = false | |
$allow_local_auth = false | |
$default_role_id = false | |
$uid_claim = '' | |
$login_claim = '' | |
$sync_status = false | |
$entity_id = '' | |
$account_migration_status = false | |
Static Protected Attributes | |
static | $idp_as_data = array() |
Private Member Functions | |
read () | |
Static Private Attributes | |
static | $instances = array() |
Class ilSamlIdp.
Definition at line 8 of file class.ilSamlIdp.php.
ilSamlIdp::__construct | ( | $a_idp_id = 0 | ) |
int | $a_idp_id |
Definition at line 73 of file class.ilSamlIdp.php.
References $GLOBALS, and read().
ilSamlIdp::allowLocalAuthentication | ( | ) |
Definition at line 368 of file class.ilSamlIdp.php.
References $allow_local_auth.
Referenced by persist(), and toArray().
ilSamlIdp::bindDbRecord | ( | array | $record | ) |
array | $record |
Definition at line 192 of file class.ilSamlIdp.php.
References $form, $metadata, ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), setAccountMigrationStatus(), setActive(), setDefaultRoleId(), setEntityId(), setIdpId(), setLocalLocalAuthenticationStatus(), setLoginClaim(), setSynchronizationStatus(), and setUidClaim().
Referenced by read().
ilSamlIdp::delete | ( | ) |
Deletes an idp with all relvant mapping rules.
Furthermore the auth_mode of the relevant user accounts will be switched to 'default'
Definition at line 156 of file class.ilSamlIdp.php.
References array, AUTH_SAML, and getIdpId().
|
static |
Definition at line 256 of file class.ilSamlIdp.php.
Referenced by ilAuthUtils\_getActiveAuthModes(), ilAuthUtils\_isExternalAccountEnabled(), ilStartUpGUI\doSamlAuthentication(), ilUserImportParser\importBeginTag(), ilStartUpGUI\showSamlLoginForm(), and ilUserImportParser\verifyBeginTag().
|
static |
Definition at line 272 of file class.ilSamlIdp.php.
References $DIC, $idp, $res, $row, and array.
Referenced by ilAuthUtils\_getAllAuthModes(), and ilSamlIdpTableGUI\getItems().
|
static |
string | $a_auth_key |
Definition at line 293 of file class.ilSamlIdp.php.
References array.
Referenced by ilAuthUtils\_getAuthModeName().
ilSamlIdp::getDefaultRoleId | ( | ) |
Definition at line 384 of file class.ilSamlIdp.php.
References $default_role_id.
Referenced by persist(), and toArray().
ilSamlIdp::getEntityId | ( | ) |
Definition at line 320 of file class.ilSamlIdp.php.
References $entity_id.
Referenced by persist(), and toArray().
|
static |
Definition at line 87 of file class.ilSamlIdp.php.
Referenced by ilAuthProviderSaml\__construct().
ilSamlIdp::getIdpId | ( | ) |
Definition at line 352 of file class.ilSamlIdp.php.
References $idp_id.
Referenced by delete(), persist(), ilSamlSettingsGUI\populateWithMetadata(), read(), ilSamlSettingsGUI\storeMetadata(), and toArray().
|
static |
string | $a_auth_mode |
Definition at line 243 of file class.ilSamlIdp.php.
Referenced by ilObjAuthSettingsGUI\authSettingsObject(), ilAuthUtils\getAuthModeTranslation(), ilAuthProviderFactory\getProviderByAuthMode(), ilAuthUtils\isLocalPasswordEnabledForAuthMode(), and ilAuthUtils\isPasswordModificationEnabled().
|
static |
int | $a_idp_id |
Definition at line 102 of file class.ilSamlIdp.php.
Referenced by ilAuthProviderSaml\__construct(), ilObjAuthSettingsGUI\authSettingsObject(), ilAuthUtils\getAuthModeTranslation(), ilSamlSettingsGUI\initIdp(), ilAuthUtils\isLocalPasswordEnabledForAuthMode(), and ilAuthUtils\isPasswordModificationEnabled().
|
static |
string | $a_auth_mode |
Definition at line 307 of file class.ilSamlIdp.php.
References array, and AUTH_SAML.
Referenced by ilAuthUtils\_getAuthMode().
ilSamlIdp::getLoginClaim | ( | ) |
Definition at line 424 of file class.ilSamlIdp.php.
References $login_claim.
Referenced by persist(), and toArray().
ilSamlIdp::getUidClaim | ( | ) |
Definition at line 408 of file class.ilSamlIdp.php.
References $uid_claim.
Referenced by persist(), and toArray().
ilSamlIdp::isAccountMigrationEnabled | ( | ) |
Definition at line 448 of file class.ilSamlIdp.php.
References $account_migration_status.
Referenced by persist(), and toArray().
ilSamlIdp::isActive | ( | ) |
Definition at line 336 of file class.ilSamlIdp.php.
References $is_active.
Referenced by persist(), and toArray().
|
static |
string | $a_auth_mode |
Definition at line 228 of file class.ilSamlIdp.php.
References $GLOBALS, and AUTH_SAML.
Referenced by ilObjAuthSettingsGUI\authSettingsObject().
ilSamlIdp::isSynchronizationEnabled | ( | ) |
Definition at line 432 of file class.ilSamlIdp.php.
References $sync_status.
Referenced by persist(), and toArray().
ilSamlIdp::persist | ( | ) |
Definition at line 129 of file class.ilSamlIdp.php.
References allowLocalAuthentication(), array, getDefaultRoleId(), getEntityId(), getIdpId(), getLoginClaim(), getUidClaim(), isAccountMigrationEnabled(), isActive(), isSynchronizationEnabled(), and setIdpId().
|
private |
ilException |
Definition at line 114 of file class.ilSamlIdp.php.
References $query, $res, bindDbRecord(), and getIdpId().
Referenced by __construct().
ilSamlIdp::setAccountMigrationStatus | ( | $status | ) |
boolean | $status |
Definition at line 456 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
ilSamlIdp::setActive | ( | $is_active | ) |
boolean | $is_active |
Definition at line 344 of file class.ilSamlIdp.php.
References $is_active.
Referenced by bindDbRecord().
ilSamlIdp::setDefaultRoleId | ( | $role_id | ) |
int | $role_id |
Definition at line 392 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
ilSamlIdp::setEntityId | ( | $entity_id | ) |
string | $entity_id |
Definition at line 328 of file class.ilSamlIdp.php.
References $entity_id.
Referenced by bindDbRecord().
ilSamlIdp::setIdpId | ( | $idp_id | ) |
int | $idp_id |
Definition at line 360 of file class.ilSamlIdp.php.
References $idp_id.
Referenced by bindDbRecord(), and persist().
ilSamlIdp::setLocalLocalAuthenticationStatus | ( | $status | ) |
$status | boolean |
Definition at line 376 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
ilSamlIdp::setLoginClaim | ( | $claim | ) |
$claim | string |
Definition at line 416 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
ilSamlIdp::setSynchronizationStatus | ( | $sync | ) |
boolean | $sync |
Definition at line 440 of file class.ilSamlIdp.php.
References $sync.
Referenced by bindDbRecord().
ilSamlIdp::setUidClaim | ( | $claim | ) |
$claim | string |
Definition at line 400 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
ilSamlIdp::toArray | ( | ) |
Definition at line 174 of file class.ilSamlIdp.php.
References allowLocalAuthentication(), array, getDefaultRoleId(), getEntityId(), getIdpId(), getLoginClaim(), getUidClaim(), isAccountMigrationEnabled(), isActive(), and isSynchronizationEnabled().
|
protected |
Definition at line 63 of file class.ilSamlIdp.php.
Referenced by isAccountMigrationEnabled().
|
protected |
Definition at line 33 of file class.ilSamlIdp.php.
Referenced by allowLocalAuthentication().
|
protected |
Definition at line 13 of file class.ilSamlIdp.php.
|
protected |
Definition at line 38 of file class.ilSamlIdp.php.
Referenced by getDefaultRoleId().
|
protected |
Definition at line 58 of file class.ilSamlIdp.php.
Referenced by getEntityId(), and setEntityId().
|
staticprotected |
Definition at line 68 of file class.ilSamlIdp.php.
|
protected |
Definition at line 23 of file class.ilSamlIdp.php.
Referenced by getIdpId(), and setIdpId().
|
staticprivate |
Definition at line 18 of file class.ilSamlIdp.php.
|
protected |
Definition at line 28 of file class.ilSamlIdp.php.
Referenced by isActive(), and setActive().
|
protected |
Definition at line 48 of file class.ilSamlIdp.php.
Referenced by getLoginClaim().
|
protected |
Definition at line 53 of file class.ilSamlIdp.php.
Referenced by isSynchronizationEnabled().
|
protected |
Definition at line 43 of file class.ilSamlIdp.php.
Referenced by getUidClaim().