ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Public Member Functions | |
__construct (int $a_idp_id=0) | |
persist () | |
delete () | |
Deletes an idp with all relvant 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 ($entityId) |
static | getActiveIdpList () |
static | getAllIdps () |
static | getAuthModeByKey (string $a_auth_key) |
static | getKeyByAuthMode (string $a_auth_mode) |
Protected Attributes | |
$db | |
$idp_id | |
$is_active = false | |
$allow_local_auth = false | |
$default_role_id = 0 | |
$uid_claim = '' | |
$login_claim = '' | |
$sync_status = false | |
$entity_id = '' | |
$account_migration_status = false | |
Static Protected Attributes | |
static | $idp_as_data = [] |
Private Member Functions | |
read () | |
Static Private Attributes | |
static | $instances = [] |
Class ilSamlIdp.
Definition at line 8 of file class.ilSamlIdp.php.
ilSamlIdp::__construct | ( | int | $a_idp_id = 0 | ) |
int | $a_idp_id |
Definition at line 38 of file class.ilSamlIdp.php.
References $GLOBALS, and read().
ilSamlIdp::allowLocalAuthentication | ( | ) |
Definition at line 353 of file class.ilSamlIdp.php.
References $allow_local_auth.
Referenced by persist(), and toArray().
ilSamlIdp::bindDbRecord | ( | array | $record | ) |
array | $record |
Definition at line 158 of file class.ilSamlIdp.php.
References 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 120 of file class.ilSamlIdp.php.
References AUTH_SAML, and getIdpId().
|
static |
string | $entityId |
Definition at line 227 of file class.ilSamlIdp.php.
References $entityId.
Referenced by ilStartUpGUI\doSamlAuthentication().
|
static |
Definition at line 241 of file class.ilSamlIdp.php.
Referenced by ilAuthUtils\_getActiveAuthModes(), ilAuthUtils\_isExternalAccountEnabled(), ilStartUpGUI\doSamlAuthentication(), ilUserImportParser\importBeginTag(), ilStartUpGUI\showSamlLoginForm(), and ilUserImportParser\verifyBeginTag().
|
static |
Definition at line 257 of file class.ilSamlIdp.php.
Referenced by ilAuthUtils\_getAllAuthModes(), and ilSamlIdpTableGUI\getItems().
|
static |
string | $a_auth_key |
Definition at line 278 of file class.ilSamlIdp.php.
Referenced by ilAuthUtils\_getAuthModeName().
ilSamlIdp::getDefaultRoleId | ( | ) |
Definition at line 369 of file class.ilSamlIdp.php.
References $default_role_id.
Referenced by persist(), and toArray().
ilSamlIdp::getEntityId | ( | ) |
Definition at line 305 of file class.ilSamlIdp.php.
References $entity_id.
Referenced by persist(), and toArray().
|
static |
ilSamlException |
Definition at line 52 of file class.ilSamlIdp.php.
Referenced by ilAuthProviderSaml\__construct().
ilSamlIdp::getIdpId | ( | ) |
Definition at line 337 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 213 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 66 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 292 of file class.ilSamlIdp.php.
References AUTH_SAML.
Referenced by ilAuthUtils\_getAuthMode().
ilSamlIdp::getLoginClaim | ( | ) |
Definition at line 409 of file class.ilSamlIdp.php.
References $login_claim.
Referenced by persist(), and toArray().
ilSamlIdp::getUidClaim | ( | ) |
Definition at line 393 of file class.ilSamlIdp.php.
References $uid_claim.
Referenced by persist(), and toArray().
ilSamlIdp::isAccountMigrationEnabled | ( | ) |
Definition at line 433 of file class.ilSamlIdp.php.
References $account_migration_status.
Referenced by persist(), and toArray().
ilSamlIdp::isActive | ( | ) |
Definition at line 321 of file class.ilSamlIdp.php.
References $is_active.
Referenced by persist(), and toArray().
|
static |
string | $a_auth_mode |
Definition at line 194 of file class.ilSamlIdp.php.
References $GLOBALS, and AUTH_SAML.
Referenced by ilObjAuthSettingsGUI\authSettingsObject().
ilSamlIdp::isSynchronizationEnabled | ( | ) |
Definition at line 417 of file class.ilSamlIdp.php.
References $sync_status.
Referenced by persist(), and toArray().
ilSamlIdp::persist | ( | ) |
Definition at line 93 of file class.ilSamlIdp.php.
References allowLocalAuthentication(), getDefaultRoleId(), getEntityId(), getIdpId(), getLoginClaim(), getUidClaim(), isAccountMigrationEnabled(), isActive(), isSynchronizationEnabled(), and setIdpId().
|
private |
ilException |
Definition at line 78 of file class.ilSamlIdp.php.
References $query, $res, bindDbRecord(), and getIdpId().
Referenced by __construct().
ilSamlIdp::setAccountMigrationStatus | ( | bool | $status | ) |
bool | $status |
Definition at line 441 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
ilSamlIdp::setActive | ( | bool | $is_active | ) |
bool | $is_active |
Definition at line 329 of file class.ilSamlIdp.php.
References $is_active.
Referenced by bindDbRecord().
ilSamlIdp::setDefaultRoleId | ( | int | $role_id | ) |
int | $role_id |
Definition at line 377 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
ilSamlIdp::setEntityId | ( | string | $entity_id | ) |
string | $entity_id |
Definition at line 313 of file class.ilSamlIdp.php.
References $entity_id.
Referenced by bindDbRecord().
ilSamlIdp::setIdpId | ( | int | $idp_id | ) |
int | $idp_id |
Definition at line 345 of file class.ilSamlIdp.php.
References $idp_id.
Referenced by bindDbRecord(), and persist().
ilSamlIdp::setLocalLocalAuthenticationStatus | ( | bool | $status | ) |
$status | boolean |
Definition at line 361 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
ilSamlIdp::setLoginClaim | ( | string | $claim | ) |
$claim | string |
Definition at line 401 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
ilSamlIdp::setSynchronizationStatus | ( | bool | $sync | ) |
bool | $sync |
Definition at line 425 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
ilSamlIdp::setUidClaim | ( | string | $claim | ) |
$claim | string |
Definition at line 385 of file class.ilSamlIdp.php.
Referenced by bindDbRecord().
ilSamlIdp::toArray | ( | ) |
Definition at line 140 of file class.ilSamlIdp.php.
References allowLocalAuthentication(), getDefaultRoleId(), getEntityId(), getIdpId(), getLoginClaim(), getUidClaim(), isAccountMigrationEnabled(), isActive(), and isSynchronizationEnabled().
|
protected |
Definition at line 31 of file class.ilSamlIdp.php.
Referenced by isAccountMigrationEnabled().
|
protected |
Definition at line 19 of file class.ilSamlIdp.php.
Referenced by allowLocalAuthentication().
|
protected |
Definition at line 11 of file class.ilSamlIdp.php.
|
protected |
Definition at line 21 of file class.ilSamlIdp.php.
Referenced by getDefaultRoleId().
|
protected |
Definition at line 29 of file class.ilSamlIdp.php.
Referenced by getEntityId(), and setEntityId().
|
staticprotected |
Definition at line 33 of file class.ilSamlIdp.php.
|
protected |
Definition at line 15 of file class.ilSamlIdp.php.
Referenced by getIdpId(), and setIdpId().
|
staticprivate |
Definition at line 13 of file class.ilSamlIdp.php.
|
protected |
Definition at line 17 of file class.ilSamlIdp.php.
Referenced by isActive(), and setActive().
|
protected |
Definition at line 25 of file class.ilSamlIdp.php.
Referenced by getLoginClaim().
|
protected |
Definition at line 27 of file class.ilSamlIdp.php.
Referenced by isSynchronizationEnabled().
|
protected |
Definition at line 23 of file class.ilSamlIdp.php.
Referenced by getUidClaim().