|
ILIAS
release_8 Revision v8.24
|
Shibboleth role assignment rule. More...
Collaboration diagram for ilShibbolethRoleAssignmentRule:Public Member Functions | |
| __construct (int $a_rule_id=0) | |
| setRuleId (int $a_id) | |
| getRuleId () | |
| setRoleId (int $a_id) | |
| getRoleId () | |
| setName (string $a_name) | |
| getName () | |
| setValue (string $a_value) | |
| getValue () | |
| enablePlugin (bool $a_status) | |
| isPluginActive () | |
| enableAddOnUpdate (bool $a_status) | |
| isAddOnUpdateEnabled () | |
| enableRemoveOnUpdate (bool $a_status) | |
| isRemoveOnUpdateEnabled () | |
| setPluginId (?string $a_id) | |
| getPluginId () | |
| conditionToString () | |
| validate () | |
| delete () | |
| add () | |
| update () | |
| matches (array $a_data) | |
| doesMatch (array $a_data) | |
Protected Member Functions | |
| wildcardCompare (string $a_str1, string $a_str2) | |
Private Member Functions | |
| read () | |
Private Attributes | |
| const | ERR_MISSING_NAME = 'shib_missing_attr_name' |
| const | ERR_MISSING_VALUE = 'shib_missing_attr_value' |
| const | ERR_MISSING_ROLE = 'shib_missing_role' |
| const | ERR_MISSING_PLUGIN_ID = 'shib_missing_plugin_id' |
| const | TABLE_NAME = 'shib_role_assignment' |
| ilDBInterface | $db |
| int | $rule_id |
| int | $role_id = 0 |
| string | $attribute_name = '' |
| string | $attribute_value = '' |
| bool | $plugin_active = false |
| bool | $add_on_update = false |
| bool | $remove_on_update = false |
| string | $plugin_id = null |
Shibboleth role assignment rule.
Definition at line 25 of file class.ilShibbolethRoleAssignmentRule.php.
| ilShibbolethRoleAssignmentRule::__construct | ( | int | $a_rule_id = 0 | ) |
| ilShibbolethRoleAssignmentRule::add | ( | ) |
Definition at line 173 of file class.ilShibbolethRoleAssignmentRule.php.
References $query, getName(), getPluginId(), getRoleId(), getValue(), isAddOnUpdateEnabled(), isPluginActive(), isRemoveOnUpdateEnabled(), and setRuleId().
Here is the call graph for this function:| ilShibbolethRoleAssignmentRule::conditionToString | ( | ) |
Definition at line 132 of file class.ilShibbolethRoleAssignmentRule.php.
References $DIC, $lng, getName(), getPluginId(), getValue(), and isPluginActive().
Referenced by ilAuthShibbolethSettingsGUI\confirmDeleteRules().
Here is the call graph for this function:
Here is the caller graph for this function:| ilShibbolethRoleAssignmentRule::delete | ( | ) |
Definition at line 162 of file class.ilShibbolethRoleAssignmentRule.php.
References $query, and getRuleId().
Referenced by ilAuthShibbolethSettingsGUI\deleteRules().
Here is the call graph for this function:
Here is the caller graph for this function:| ilShibbolethRoleAssignmentRule::doesMatch | ( | array | $a_data | ) |
Definition at line 241 of file class.ilShibbolethRoleAssignmentRule.php.
References ilShibbolethRoleAssignmentRules\callPlugin(), getName(), getPluginId(), getValue(), and isPluginActive().
Here is the call graph for this function:| ilShibbolethRoleAssignmentRule::enableAddOnUpdate | ( | bool | $a_status | ) |
Definition at line 102 of file class.ilShibbolethRoleAssignmentRule.php.
Referenced by read().
Here is the caller graph for this function:| ilShibbolethRoleAssignmentRule::enablePlugin | ( | bool | $a_status | ) |
Definition at line 92 of file class.ilShibbolethRoleAssignmentRule.php.
Referenced by read().
Here is the caller graph for this function:| ilShibbolethRoleAssignmentRule::enableRemoveOnUpdate | ( | bool | $a_status | ) |
Definition at line 112 of file class.ilShibbolethRoleAssignmentRule.php.
Referenced by read().
Here is the caller graph for this function:| ilShibbolethRoleAssignmentRule::getName | ( | ) |
Definition at line 77 of file class.ilShibbolethRoleAssignmentRule.php.
References $attribute_name.
Referenced by add(), conditionToString(), doesMatch(), ilAuthShibbolethSettingsGUI\getRuleValues(), matches(), update(), and validate().
Here is the caller graph for this function:| ilShibbolethRoleAssignmentRule::getPluginId | ( | ) |
Definition at line 127 of file class.ilShibbolethRoleAssignmentRule.php.
References $plugin_id.
Referenced by add(), conditionToString(), doesMatch(), ilAuthShibbolethSettingsGUI\getRuleValues(), matches(), update(), and validate().
Here is the caller graph for this function:| ilShibbolethRoleAssignmentRule::getRoleId | ( | ) |
Definition at line 67 of file class.ilShibbolethRoleAssignmentRule.php.
References $role_id.
Referenced by add(), ilAuthShibbolethSettingsGUI\confirmDeleteRules(), ilAuthShibbolethSettingsGUI\getRuleValues(), update(), and validate().
Here is the caller graph for this function:| ilShibbolethRoleAssignmentRule::getRuleId | ( | ) |
Definition at line 57 of file class.ilShibbolethRoleAssignmentRule.php.
References $rule_id.
Referenced by delete(), read(), and update().
Here is the caller graph for this function:| ilShibbolethRoleAssignmentRule::getValue | ( | ) |
Definition at line 87 of file class.ilShibbolethRoleAssignmentRule.php.
References $attribute_value.
Referenced by add(), conditionToString(), doesMatch(), ilAuthShibbolethSettingsGUI\getRuleValues(), matches(), update(), and validate().
Here is the caller graph for this function:| ilShibbolethRoleAssignmentRule::isAddOnUpdateEnabled | ( | ) |
Definition at line 107 of file class.ilShibbolethRoleAssignmentRule.php.
References $add_on_update.
Referenced by add(), ilAuthShibbolethSettingsGUI\getRuleValues(), and update().
Here is the caller graph for this function:| ilShibbolethRoleAssignmentRule::isPluginActive | ( | ) |
Definition at line 97 of file class.ilShibbolethRoleAssignmentRule.php.
References $plugin_active.
Referenced by add(), conditionToString(), doesMatch(), ilAuthShibbolethSettingsGUI\getRuleValues(), matches(), update(), and validate().
Here is the caller graph for this function:| ilShibbolethRoleAssignmentRule::isRemoveOnUpdateEnabled | ( | ) |
Definition at line 117 of file class.ilShibbolethRoleAssignmentRule.php.
References $remove_on_update.
Referenced by add(), ilAuthShibbolethSettingsGUI\getRuleValues(), and update().
Here is the caller graph for this function:| ilShibbolethRoleAssignmentRule::matches | ( | array | $a_data | ) |
Definition at line 214 of file class.ilShibbolethRoleAssignmentRule.php.
References ilShibbolethRoleAssignmentRules\callPlugin(), getName(), getPluginId(), getValue(), isPluginActive(), and wildcardCompare().
Here is the call graph for this function:
|
private |
Definition at line 261 of file class.ilShibbolethRoleAssignmentRule.php.
References $query, $res, enableAddOnUpdate(), enablePlugin(), enableRemoveOnUpdate(), ilDBConstants\FETCHMODE_OBJECT, getRuleId(), setName(), setPluginId(), setRoleId(), and setValue().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilShibbolethRoleAssignmentRule::setName | ( | string | $a_name | ) |
Definition at line 72 of file class.ilShibbolethRoleAssignmentRule.php.
Referenced by read().
Here is the caller graph for this function:| ilShibbolethRoleAssignmentRule::setPluginId | ( | ?string | $a_id | ) |
Definition at line 122 of file class.ilShibbolethRoleAssignmentRule.php.
Referenced by read().
Here is the caller graph for this function:| ilShibbolethRoleAssignmentRule::setRoleId | ( | int | $a_id | ) |
Definition at line 62 of file class.ilShibbolethRoleAssignmentRule.php.
Referenced by read().
Here is the caller graph for this function:| ilShibbolethRoleAssignmentRule::setRuleId | ( | int | $a_id | ) |
Definition at line 52 of file class.ilShibbolethRoleAssignmentRule.php.
Referenced by add().
Here is the caller graph for this function:| ilShibbolethRoleAssignmentRule::setValue | ( | string | $a_value | ) |
Definition at line 82 of file class.ilShibbolethRoleAssignmentRule.php.
Referenced by read().
Here is the caller graph for this function:| ilShibbolethRoleAssignmentRule::update | ( | ) |
Definition at line 191 of file class.ilShibbolethRoleAssignmentRule.php.
References $query, getName(), getPluginId(), getRoleId(), getRuleId(), getValue(), isAddOnUpdateEnabled(), isPluginActive(), and isRemoveOnUpdateEnabled().
Here is the call graph for this function:| ilShibbolethRoleAssignmentRule::validate | ( | ) |
Definition at line 143 of file class.ilShibbolethRoleAssignmentRule.php.
References ERR_MISSING_NAME, ERR_MISSING_PLUGIN_ID, ERR_MISSING_ROLE, ERR_MISSING_VALUE, getName(), getPluginId(), getRoleId(), getValue(), and isPluginActive().
Here is the call graph for this function:
|
protected |
Definition at line 234 of file class.ilShibbolethRoleAssignmentRule.php.
Referenced by matches().
Here is the caller graph for this function:
|
private |
Definition at line 39 of file class.ilShibbolethRoleAssignmentRule.php.
Referenced by isAddOnUpdateEnabled().
|
private |
Definition at line 36 of file class.ilShibbolethRoleAssignmentRule.php.
Referenced by getName().
|
private |
Definition at line 37 of file class.ilShibbolethRoleAssignmentRule.php.
Referenced by getValue().
|
private |
Definition at line 33 of file class.ilShibbolethRoleAssignmentRule.php.
|
private |
Definition at line 38 of file class.ilShibbolethRoleAssignmentRule.php.
Referenced by isPluginActive().
|
private |
Definition at line 41 of file class.ilShibbolethRoleAssignmentRule.php.
Referenced by getPluginId().
|
private |
Definition at line 40 of file class.ilShibbolethRoleAssignmentRule.php.
Referenced by isRemoveOnUpdateEnabled().
|
private |
Definition at line 35 of file class.ilShibbolethRoleAssignmentRule.php.
Referenced by getRoleId().
|
private |
Definition at line 34 of file class.ilShibbolethRoleAssignmentRule.php.
Referenced by getRuleId().
|
private |
Definition at line 27 of file class.ilShibbolethRoleAssignmentRule.php.
Referenced by validate().
|
private |
Definition at line 30 of file class.ilShibbolethRoleAssignmentRule.php.
Referenced by validate().
|
private |
Definition at line 29 of file class.ilShibbolethRoleAssignmentRule.php.
Referenced by validate().
|
private |
Definition at line 28 of file class.ilShibbolethRoleAssignmentRule.php.
Referenced by validate().
|
private |
Definition at line 31 of file class.ilShibbolethRoleAssignmentRule.php.