ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Static Public Member Functions | |
static | isAuthenticationForced () |
static | handleForcedAuthentication () |
static | _getAuthMode (?string $a_auth_mode) |
static | _getAuthModeName ($a_auth_key) |
static | _getActiveAuthModes () |
static | _getAllAuthModes () |
static | _generateLogin (string $a_login) |
generate free login by starting with a default string and adding postfix numbers More... | |
static | _hasMultipleAuthenticationMethods () |
static | _getMultipleAuthModeOptions (ilLanguage $lng) |
static | _isExternalAccountEnabled () |
Check if an external account name is required. More... | |
static | _allowPasswordModificationByAuthMode ($a_auth_mode) |
Allow password modification. More... | |
static | _needsExternalAccountByAuthMode ($a_auth_mode) |
Check if chosen auth mode needs an external account entry. More... | |
static | isLocalPasswordEnabledForAuthMode ($a_authmode) |
Check if local password validation is enabled for a specific auth_mode. More... | |
static | isPasswordModificationEnabled ($a_authmode) |
Check if password modification is enabled. More... | |
static | supportsLocalPasswordValidation ($a_authmode) |
Check if local password validation is supported. More... | |
static | getAuthPlugins () |
static | getAuthModeTranslation (string $a_auth_key, string $auth_name='') |
Data Fields | |
const int | LOCAL_PWV_FULL = 1 |
const int | LOCAL_PWV_NO = 2 |
const int | LOCAL_PWV_USER = 3 |
const int | AUTH_LOCAL = 1 |
const int | AUTH_LDAP = 2 |
const int | AUTH_SCRIPT = 4 |
const int | AUTH_SHIBBOLETH = 5 |
const int | AUTH_SOAP = 7 |
const int | AUTH_HTTP = 8 |
const int | AUTH_ECS = 9 |
const int | AUTH_APACHE = 11 |
const int | AUTH_SAML = 12 |
const int | AUTH_OPENID_CONNECT = 15 |
const int | AUTH_PROVIDER_LTI = 22 |
const array | REGEX_DELIMITERS = ['/', '~', '@', ';', '%', '`', '#'] |
Private Attributes | |
const int | AUTH_INACTIVE = 18 |
const int | AUTH_MULTIPLE = 20 |
const int | AUTH_SESSION = 21 |
const int | AUTH_SOAP_NO_ILIAS_USER = -100 |
const int | AUTH_LDAP_NO_ILIAS_USER = -200 |
const int | AUTH_APACHE_FAILED = -500 |
const int | AUTH_SAML_FAILED = -501 |
const int | AUTH_MODE_INACTIVE = -1000 |
const int | AUTH_SOAP_NO_ILIAS_USER_BUT_EMAIL = -101 |
const int | AUTH_USER_WRONG_IP = -600 |
const int | AUTH_USER_INACTIVE = -601 |
const int | AUTH_USER_TIME_LIMIT_EXCEEDED = -602 |
const int | AUTH_USER_SIMULTANEOUS_LOGIN = -603 |
Definition at line 21 of file class.ilAuthUtils.php.
|
static |
Allow password modification.
int | string | $a_auth_mode |
Definition at line 495 of file class.ilAuthUtils.php.
Referenced by ilPasswordInputGUI\checkInput(), and ilObjUserGUI\loadUserDefinedDataFromForm().
|
static |
generate free login by starting with a default string and adding postfix numbers
Definition at line 337 of file class.ilAuthUtils.php.
References $DIC, $ilDB, and $r.
Referenced by ilAuthProviderECS\createUser(), ilAuthProviderLTI\createUser(), ilAuthProviderSoap\handleSoapAuth(), ilAuthProviderSaml\importUser(), ilOpenIdConnectUserSync\transformToXml(), and ilLDAPAttributeToUser\usersToXML().
|
static |
Definition at line 229 of file class.ilAuthUtils.php.
References $DIC, $ilSetting, ilLDAPServer\_getActiveServerList(), ilSamlIdp\getActiveIdpList(), ilAuthProviderLTI\getAuthModes(), ilECSServerSettings\getInstance(), and ilOpenIdConnectSettings\getInstance().
Referenced by ilObjAuthSettingsGUI\buildRegistrationRoleMappingForm(), ilECSMappingUtils\getAuthModeSelection(), ilUserTableGUI\initFilter(), and ilObjUserGUI\initForm().
|
static |
Definition at line 289 of file class.ilAuthUtils.php.
References $id, ilLDAPServer\_getServerList(), ilSamlIdp\getAllIdps(), and ilAuthProviderLTI\getAuthModes().
Referenced by ilObjAuthSettingsGUI\authSettingsObject().
|
static |
Definition at line 119 of file class.ilAuthUtils.php.
References $DIC, $ilSetting, ilAuthProviderLTI\getKeyByAuthMode(), ilSamlIdp\getKeyByAuthMode(), ilLDAPServer\getKeyByAuthMode(), and null.
Referenced by ilPasswordInputGUI\checkInput(), ilUserTableGUI\fillRow(), ilObjUser\getAuthMode(), and ilObjUserGUI\loadUserDefinedDataFromForm().
|
static |
$a_auth_key | int|string |
Definition at line 180 of file class.ilAuthUtils.php.
References ilAuthProviderLTI\getAuthModeByKey(), ilSamlIdp\getAuthModeByKey(), and ilLDAPServer\getAuthModeByKey().
Referenced by ilObjUser\_checkExternalAuthAccount(), ilObjUser\_getExternalAccountsByAuthMode(), ilObjAuthSettingsGUI\buildRegistrationRoleMappingForm(), ilECSCmsCourseMemberCommandQueueHandler\createMember(), ilLDAPServer\getAuthenticationMappingKey(), ilAuthFrontend\handleLoginAttempts(), ilUserImportParser\importEndTag(), ilUserTableGUI\initFilter(), ilObjUserGUI\initForm(), and ilUserImportParser\verifyEndTag().
|
static |
Definition at line 393 of file class.ilAuthUtils.php.
References $DIC, $ilSetting, $server, ilLDAPServer\_getActiveServerList(), ilLDAPServer\getInstanceByServerId(), and ilLanguage\txt().
Referenced by ilStartUpGUI\buildStandardLoginForm().
|
static |
Definition at line 363 of file class.ilAuthUtils.php.
References $DIC, $ilSetting, and ilLDAPServer\_getActiveServerList().
Referenced by ilStartUpGUI\buildStandardLoginForm(), and ilStartUpGUI\doStandardAuthentication().
|
static |
Check if an external account name is required.
That's the case if LDAP or SOAP is active
Definition at line 450 of file class.ilAuthUtils.php.
References $DIC, $ilSetting, ilLDAPServer\_getActiveServerList(), ilAuthProviderLTI\getActiveAuthModes(), ilSamlIdp\getActiveIdpList(), and ilOpenIdConnectSettings\getInstance().
Referenced by ilObjUserGUI\initForm(), and ilObjUserGUI\saveObject().
|
static |
Check if chosen auth mode needs an external account entry.
null | string | int | $a_auth_mode | auth_mode |
Definition at line 513 of file class.ilAuthUtils.php.
References $DIC, and $ilSetting.
Referenced by ilObjUser\isPasswordChangeDemanded(), and ilObjUser\isPasswordExpired().
|
static |
Definition at line 621 of file class.ilAuthUtils.php.
References $DIC, $lng, ilSamlIdp\getIdpIdByAuthMode(), ilSamlIdp\getInstanceByIdpId(), ilLDAPServer\getInstanceByServerId(), ilAuthProviderLTI\getServerIdByAuthMode(), ilLDAPServer\getServerIdByAuthMode(), and ilAuthProviderLTI\lookupConsumer().
Referenced by ilUserTableGUI\fillRow(), ilECSMappingUtils\getAuthModeSelection(), ilUserTableGUI\initFilter(), and ilObjUserGUI\initForm().
|
static |
Definition at line 616 of file class.ilAuthUtils.php.
References $GLOBALS.
Referenced by ilObjAuthSettingsGUI\buildAuthModeDeterminationForm(), ilAuthProviderFactory\getProviderByAuthMode(), and ilAuthModeDetermination\read().
|
static |
Definition at line 80 of file class.ilAuthUtils.php.
References $DIC, $GLOBALS, ilAuthFrontendFactory\CONTEXT_STANDARD_FORM, ilAuthStatus\getInstance(), ilInitialisation\goToPublicSection(), ilAuthStatus\STATUS_AUTHENTICATED, and ilAuthStatus\STATUS_AUTHENTICATION_FAILED.
Referenced by ilInitialisation\resumeUserSession().
|
static |
Definition at line 72 of file class.ilAuthUtils.php.
References $DIC.
Referenced by ilInitialisation\resumeUserSession().
|
static |
Check if local password validation is enabled for a specific auth_mode.
int | string | $a_authmode |
Definition at line 538 of file class.ilAuthUtils.php.
References $DIC, $ilSetting, ilSamlIdp\getIdpIdByAuthMode(), and ilSamlIdp\getInstanceByIdpId().
Referenced by ilPasswordAssistanceGUI\submitAssistanceForm(), and ilAuthProviderDatabase\withoutPasswordVerification().
|
static |
Check if password modification is enabled.
int | string | $a_authmode |
Definition at line 575 of file class.ilAuthUtils.php.
Referenced by ILIAS\Data\Password\LocalUserPasswordManager\allowPasswordChange().
|
static |
Check if local password validation is supported.
null | string | int | $a_authmode |
Definition at line 589 of file class.ilAuthUtils.php.
Referenced by ilObjWebDAV\retrieveWebDAVCommandArrayForActionMenu().
const int ilAuthUtils::AUTH_APACHE = 11 |
Definition at line 34 of file class.ilAuthUtils.php.
Referenced by ilObjAuthSettingsGUI\authSettingsObject(), ilObjAuthSettingsGUI\buildAuthModeDeterminationForm(), ILIAS\UI\Implementation\Component\Input\Container\Form\ApacheAuthSettingsForm\buildLdapEnableInput(), ilStartUpGUI\doApacheAuthentication(), ilObjAuthSettingsGUI\getAuthModeTitle(), ilAuthProviderFactory\getProviderByAuthMode(), ilAuthProviderApache\getTriggerAuthMode(), ilAuthModeDetermination\read(), and ilObjAuthSettingsGUI\saveApacheSettingsObject().
|
private |
Definition at line 53 of file class.ilAuthUtils.php.
const int ilAuthUtils::AUTH_ECS = 9 |
Definition at line 33 of file class.ilAuthUtils.php.
Referenced by ILIAS\LegalDocuments\test\ConsumerToolbox\UserTest\externalAuthModes(), ilAuthProviderFactory\getProviderByAuthMode(), and ILIAS\LegalDocuments\ConsumerToolbox\User\isExternalAccount().
const int ilAuthUtils::AUTH_HTTP = 8 |
Definition at line 32 of file class.ilAuthUtils.php.
|
private |
Definition at line 38 of file class.ilAuthUtils.php.
const int ilAuthUtils::AUTH_LDAP = 2 |
Definition at line 28 of file class.ilAuthUtils.php.
Referenced by ilObjAuthSettingsGUI\authSettingsObject(), ILIAS\LegalDocuments\test\ConsumerToolbox\UserTest\externalAuthModes(), ilObjAuthSettingsGUI\getAuthModeTitle(), ilLDAPServer\getKeyByAuthMode(), ilAuthProviderFactory\getProviderByAuthMode(), ilAuthProviderLDAP\getTriggerAuthMode(), ilLDAPServer\isAuthModeLDAP(), ILIAS\LegalDocuments\ConsumerToolbox\User\isLDAPUser(), ilAuthModeDetermination\read(), and ILIAS\LegalDocuments\test\ConsumerToolbox\UserTest\testIsLDAPUser().
|
private |
Definition at line 48 of file class.ilAuthUtils.php.
const int ilAuthUtils::AUTH_LOCAL = 1 |
Definition at line 27 of file class.ilAuthUtils.php.
Referenced by ilObjUser\_getExternalAccountsByAuthMode(), ilObjAuthSettingsGUI\authSettingsObject(), ilObjAuthSettingsGUI\buildAuthModeDeterminationForm(), ilObjAuthSettingsGUI\buildRegistrationRoleMappingForm(), ilAccountRegistrationGUI\createUser(), ilStartUpGUI\doMigration(), ilObjAuthSettingsGUI\getAuthModeTitle(), ilLocalUserPasswordSettingsGUI\getPasswordForm(), ilAuthProviderFactory\getProviderByAuthMode(), ilAuthProviderCliFactory\getProviders(), ilAuthFrontend\handleLoginAttempts(), ilAuthProviderSaml\handleSamlAuth(), ilLTIViewGUI\logout(), ilAuthModeDetermination\read(), ILIAS\Data\Password\LocalUserPasswordManager\resetLastPasswordChangeForLocalUsers(), ilObjAuthSettingsGUI\saveApacheSettingsObject(), ILIAS\Setup\AbandonCASAuthModeUpdateObjective\step_1(), and ilPasswordAssistanceGUI\submitAssistanceForm().
|
private |
Definition at line 57 of file class.ilAuthUtils.php.
|
private |
Definition at line 40 of file class.ilAuthUtils.php.
const int ilAuthUtils::AUTH_OPENID_CONNECT = 15 |
Definition at line 36 of file class.ilAuthUtils.php.
Referenced by ilObjAuthSettingsGUI\authSettingsObject(), ilStartUpGUI\doOpenIdConnectAuthentication(), ilAuthProviderFactory\getProviderByAuthMode(), and ilAuthProviderOpenIdConnect\handleUpdate().
const int ilAuthUtils::AUTH_PROVIDER_LTI = 22 |
Definition at line 43 of file class.ilAuthUtils.php.
Referenced by ilStartUpGUI\doLTIAuthentication(), ILIAS\LegalDocuments\test\ConsumerToolbox\UserTest\externalAuthModes(), ilAuthProviderLTI\getKeyByAuthMode(), ilAuthProviderFactory\getProviderByAuthMode(), ilAuthProviderLTI\isAuthModeLTI(), and ILIAS\LegalDocuments\ConsumerToolbox\User\isExternalAccount().
const int ilAuthUtils::AUTH_SAML = 12 |
Definition at line 35 of file class.ilAuthUtils.php.
Referenced by ilObjAuthSettingsGUI\authSettingsObject(), ilSamlIdp\delete(), ilStartUpGUI\doSamlAuthentication(), ilObjAuthSettingsGUI\getAuthModeTitle(), ilSamlIdp\getKeyByAuthMode(), ilAuthProviderFactory\getProviderByAuthMode(), ilAuthProviderSaml\getTriggerAuthMode(), ilSamlAppEventListener\handleEvent(), ilSamlIdp\isAuthModeSaml(), ilObjAuthSettingsGUI\setAuthModeObject(), and ilPasswordAssistanceGUI\submitAssistanceForm().
|
private |
Definition at line 55 of file class.ilAuthUtils.php.
const int ilAuthUtils::AUTH_SCRIPT = 4 |
Definition at line 29 of file class.ilAuthUtils.php.
Referenced by ilObjAuthSettingsGUI\getAuthModeTitle(), ilObjAuthSettingsGUI\saveScriptObject(), and ilObjAuthSettingsGUI\setAuthModeObject().
|
private |
Definition at line 42 of file class.ilAuthUtils.php.
const int ilAuthUtils::AUTH_SHIBBOLETH = 5 |
Definition at line 30 of file class.ilAuthUtils.php.
Referenced by ilObjAuthSettingsGUI\authSettingsObject(), ilECSCmsCourseMemberCommandQueueHandler\createMember(), ILIAS\AuthShibboleth\LoginPerformer\doShibbolethAuthentication(), ilObjAuthSettingsGUI\getAuthModeTitle(), ilLocalUserPasswordSettingsGUI\getPasswordForm(), ilAuthProviderFactory\getProviderByAuthMode(), and ilObjAuthSettingsGUI\setAuthModeObject().
const int ilAuthUtils::AUTH_SOAP = 7 |
Definition at line 31 of file class.ilAuthUtils.php.
Referenced by ilObjAuthSettingsGUI\buildAuthModeDeterminationForm(), ilAuthProviderSoap\doAuthentication(), ilAuthProviderFactory\getProviderByAuthMode(), and ilAuthModeDetermination\read().
|
private |
Definition at line 46 of file class.ilAuthUtils.php.
|
private |
Definition at line 61 of file class.ilAuthUtils.php.
|
private |
Definition at line 65 of file class.ilAuthUtils.php.
|
private |
Definition at line 67 of file class.ilAuthUtils.php.
|
private |
Definition at line 66 of file class.ilAuthUtils.php.
|
private |
Definition at line 64 of file class.ilAuthUtils.php.
const int ilAuthUtils::LOCAL_PWV_FULL = 1 |
Definition at line 23 of file class.ilAuthUtils.php.
const int ilAuthUtils::LOCAL_PWV_NO = 2 |
Definition at line 24 of file class.ilAuthUtils.php.
const int ilAuthUtils::LOCAL_PWV_USER = 3 |
Definition at line 25 of file class.ilAuthUtils.php.
Referenced by ilObjWebDAV\retrieveWebDAVCommandArrayForActionMenu().
const array ilAuthUtils::REGEX_DELIMITERS = ['/', '~', '@', ';', '%', '`', '#'] |
Definition at line 70 of file class.ilAuthUtils.php.
Referenced by ilAuthModeDetermination\getAuthModeSequence(), and ilLDAPRoleAssignmentRule\wildcardCompare().