ILIAS
trunk Revision v11.0_alpha-1871-gde1fee8db3d
|
Class ilShibbolethSettings. More...
Public Member Functions | |
array | __construct () |
getUserFields () | |
read () | |
get (string $a_keyword, ?string $a_default_value=null) | |
getAll () | |
set (string $a_key, string $a_val) | |
store () | |
getDefaultRole () | |
setDefaultRole (int $role_id) | |
getIdPList () | |
setIdPList (string $list) | |
getLoginButton () | |
setLoginButton (string $login_button) | |
getOrganisationSelectionType () | |
setOrganisationSelectionType (string $type) | |
isActive () | |
setActive (bool $status) | |
isLocalAuthAllowed () | |
setAllowLocalAuth (bool $status) | |
getAccountCreation () | |
setAccountCreation (string $value) | |
getFederationName () | |
setFederationName (string $federation) | |
Data Fields | |
const | ACCOUNT_CREATION_ENABLED = "enabled" |
const | ACCOUNT_CREATION_WITH_APPROVAL = "with_approval" |
const | ACCOUNT_CREATION_DISABLED = "disabled" |
Protected Attributes | |
ilSetting | $settings |
array | $data = [] |
array | $user_fields |
Private Attributes | |
const | PREFIX = 'shib_' |
const | DEFAULT_IDP_LIST = "urn:mace:organization1:providerID, Example Organization 1\nurn:mace:organization2:providerID, Example Organization 2, /Shibboleth.sso/WAYF/SWITCHaai" |
const | DEFAULT_LOGIN_BUTTON = "assets/images/auth/shib_login_button.svg" |
const | DEFAULT_ORGANISATION_SELECTION = "external_wayf" |
Class ilShibbolethSettings.
Definition at line 8 of file class.ilShibbolethSettings.php.
array ilShibbolethSettings::__construct | ( | ) |
Definition at line 54 of file class.ilShibbolethSettings.php.
References $DIC, read(), and ILIAS\Repository\settings().
ilShibbolethSettings::get | ( | string | $a_keyword, |
?string | $a_default_value = null |
||
) |
Definition at line 83 of file class.ilShibbolethSettings.php.
ilShibbolethSettings::getAccountCreation | ( | ) |
Definition at line 168 of file class.ilShibbolethSettings.php.
ilShibbolethSettings::getAll | ( | ) |
ilShibbolethSettings::getDefaultRole | ( | ) |
Definition at line 108 of file class.ilShibbolethSettings.php.
ilShibbolethSettings::getFederationName | ( | ) |
Definition at line 178 of file class.ilShibbolethSettings.php.
ilShibbolethSettings::getIdPList | ( | ) |
Definition at line 118 of file class.ilShibbolethSettings.php.
ilShibbolethSettings::getLoginButton | ( | ) |
Definition at line 128 of file class.ilShibbolethSettings.php.
ilShibbolethSettings::getOrganisationSelectionType | ( | ) |
Definition at line 138 of file class.ilShibbolethSettings.php.
ilShibbolethSettings::getUserFields | ( | ) |
Definition at line 65 of file class.ilShibbolethSettings.php.
References $user_fields.
ilShibbolethSettings::isActive | ( | ) |
Definition at line 148 of file class.ilShibbolethSettings.php.
ilShibbolethSettings::isLocalAuthAllowed | ( | ) |
Definition at line 158 of file class.ilShibbolethSettings.php.
ilShibbolethSettings::read | ( | ) |
Definition at line 70 of file class.ilShibbolethSettings.php.
References null, and ILIAS\Repository\settings().
Referenced by __construct().
ilShibbolethSettings::set | ( | string | $a_key, |
string | $a_val | ||
) |
Definition at line 95 of file class.ilShibbolethSettings.php.
ilShibbolethSettings::setAccountCreation | ( | string | $value | ) |
Definition at line 173 of file class.ilShibbolethSettings.php.
ilShibbolethSettings::setActive | ( | bool | $status | ) |
Definition at line 153 of file class.ilShibbolethSettings.php.
ilShibbolethSettings::setAllowLocalAuth | ( | bool | $status | ) |
Definition at line 163 of file class.ilShibbolethSettings.php.
ilShibbolethSettings::setDefaultRole | ( | int | $role_id | ) |
Definition at line 113 of file class.ilShibbolethSettings.php.
ilShibbolethSettings::setFederationName | ( | string | $federation | ) |
Definition at line 183 of file class.ilShibbolethSettings.php.
ilShibbolethSettings::setIdPList | ( | string | $list | ) |
Definition at line 123 of file class.ilShibbolethSettings.php.
ilShibbolethSettings::setLoginButton | ( | string | $login_button | ) |
Definition at line 133 of file class.ilShibbolethSettings.php.
ilShibbolethSettings::setOrganisationSelectionType | ( | string | $type | ) |
Definition at line 143 of file class.ilShibbolethSettings.php.
ilShibbolethSettings::store | ( | ) |
Definition at line 101 of file class.ilShibbolethSettings.php.
References ILIAS\Repository\settings().
|
protected |
Definition at line 32 of file class.ilShibbolethSettings.php.
Referenced by getAll().
|
protected |
Definition at line 31 of file class.ilShibbolethSettings.php.
|
protected |
Definition at line 35 of file class.ilShibbolethSettings.php.
Referenced by getUserFields().
const ilShibbolethSettings::ACCOUNT_CREATION_DISABLED = "disabled" |
Definition at line 29 of file class.ilShibbolethSettings.php.
Referenced by ilAuthProviderShibboleth\doAuthentication(), and ilShibbolethSettingsForm\initForm().
const ilShibbolethSettings::ACCOUNT_CREATION_ENABLED = "enabled" |
Definition at line 27 of file class.ilShibbolethSettings.php.
Referenced by ilAuthProviderShibboleth\doAuthentication(), and ilShibbolethSettingsForm\initForm().
const ilShibbolethSettings::ACCOUNT_CREATION_WITH_APPROVAL = "with_approval" |
Definition at line 28 of file class.ilShibbolethSettings.php.
Referenced by ilAuthProviderShibboleth\doAuthentication(), and ilShibbolethSettingsForm\initForm().
|
private |
Definition at line 17 of file class.ilShibbolethSettings.php.
|
private |
Definition at line 21 of file class.ilShibbolethSettings.php.
|
private |
Definition at line 25 of file class.ilShibbolethSettings.php.
|
private |
Definition at line 13 of file class.ilShibbolethSettings.php.