|
ILIAS
Release_3_10_x_branch Revision 61812
|
static utility functions used to manage authentication modes More...
Collaboration diagram for ilAuthUtils:Public Member Functions | |
| _initAuth () | |
| initialises $ilAuth | |
| _getAuthModeOfUser ($a_username, $a_password, $a_db_handler= '') | |
| _getAuthMode ($a_auth_mode, $a_db_handler= '') | |
| _getAuthModeName ($a_auth_key) | |
| _getActiveAuthModes () | |
| _getAllAuthModes () | |
| _generateLogin ($a_login) | |
| generate free login by starting with a default string and adding postfix numbers | |
Static Public Member Functions | |
| static | _hasMultipleAuthenticationMethods () |
| static | _getMultipleAuthModeOptions ($lng) |
| static | _isExternalAccountEnabled () |
| Check if an external account name is required. | |
| static | _allowPasswordModificationByAuthMode ($a_auth_mode) |
| Allow password modification. | |
| static | _needsExternalAccountByAuthMode ($a_auth_mode) |
| Check if chosen auth mode needs an external account entry. | |
static utility functions used to manage authentication modes
Definition at line 62 of file class.ilAuthUtils.php.
|
static |
Allow password modification.
public
| int | auth_mode |
Definition at line 787 of file class.ilAuthUtils.php.
References AUTH_ECS, AUTH_LDAP, and AUTH_RADIUS.
Referenced by ilPasswordInputGUI\checkInput(), ilObjUserGUI\editOldObject(), ilObjUserGUI\updateObject(), and ilObjUserGUI\updateObjectOld().
Here is the caller graph for this function:| ilAuthUtils::_generateLogin | ( | $a_login | ) |
generate free login by starting with a default string and adding postfix numbers
Definition at line 661 of file class.ilAuthUtils.php.
Referenced by ilRadiusAttributeToUser\create(), ilAuthECS\createUser(), ilCASAuth\login(), ilSOAPAuth\login(), and ilLDAPAttributeToUser\usersToXML().
Here is the caller graph for this function:| ilAuthUtils::_getActiveAuthModes | ( | ) |
Definition at line 617 of file class.ilAuthUtils.php.
References $ilSetting, ilLDAPServer\_getActiveServerList(), ilECSSettings\_getInstance(), AUTH_CAS, AUTH_ECS, AUTH_LDAP, AUTH_LOCAL, AUTH_RADIUS, AUTH_SCRIPT, AUTH_SHIBBOLETH, and AUTH_SOAP.
Referenced by ilSoapInstallationInfoXMLWriter\__buildClient(), ilObjAuthSettingsGUI\authSettingsObject(), ilObjUserGUI\editOldObject(), ilSoapAdministration\getNIC(), and ilObjUserGUI\initForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAuthUtils::_getAllAuthModes | ( | ) |
Definition at line 645 of file class.ilAuthUtils.php.
References _getAuthModeName(), AUTH_CAS, AUTH_ECS, AUTH_LDAP, AUTH_LOCAL, AUTH_RADIUS, AUTH_SHIBBOLETH, and AUTH_SOAP.
Referenced by ilObjAuthSettingsGUI\authSettingsObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAuthUtils::_getAuthMode | ( | $a_auth_mode, | |
$a_db_handler = '' |
|||
| ) |
Definition at line 519 of file class.ilAuthUtils.php.
References AUTH_CAS, AUTH_ECS, AUTH_LDAP, AUTH_LOCAL, AUTH_RADIUS, AUTH_SCRIPT, AUTH_SHIBBOLETH, and AUTH_SOAP.
Referenced by ilSoapUserAdministration\__validateUserData(), _getAuthModeOfUser(), ilPasswordInputGUI\checkInput(), ilObjUserGUI\editOldObject(), ilObjUser\getAuthMode(), ilObjUserGUI\updateObject(), and ilObjUserGUI\updateObjectOld().
Here is the caller graph for this function:| ilAuthUtils::_getAuthModeName | ( | $a_auth_key | ) |
Definition at line 574 of file class.ilAuthUtils.php.
References AUTH_CAS, AUTH_ECS, AUTH_LDAP, AUTH_LOCAL, AUTH_RADIUS, AUTH_SCRIPT, AUTH_SHIBBOLETH, and AUTH_SOAP.
Referenced by ilSoapInstallationInfoXMLWriter\__buildClient(), ilObjUser\_checkExternalAuthAccount(), _getAllAuthModes(), ilObjUser\_getExternalAccountsByAuthMode(), ilObjAuthSettingsGUI\authSettingsObject(), ilObjUserGUI\editOldObject(), ilSoapAdministration\getNIC(), ilUserImportParser\importEndTag(), ilObjUserGUI\initForm(), and ilUserImportParser\verifyEndTag().
Here is the caller graph for this function:| ilAuthUtils::_getAuthModeOfUser | ( | $a_username, | |
| $a_password, | |||
$a_db_handler = '' |
|||
| ) |
Definition at line 474 of file class.ilAuthUtils.php.
References $_GET, _getAuthMode(), ilAuthModeDetermination\_getInstance(), AUTH_ECS, AUTH_INACTIVE, AUTH_MULTIPLE, and DB_FETCHMODE_OBJECT.
Referenced by _initAuth().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 700 of file class.ilAuthUtils.php.
References $ilSetting, $lng, ilLDAPServer\_getFirstActiveServer(), ilRadiusSettings\_getInstance(), AUTH_LDAP, AUTH_LOCAL, and AUTH_RADIUS.
Referenced by ilStartUpGUI\showLogin().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 687 of file class.ilAuthUtils.php.
References ilLDAPServer\_getActiveServerList(), and ilRadiusSettings\_getInstance().
Referenced by ilStartUpGUI\showLogin().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAuthUtils::_initAuth | ( | ) |
initialises $ilAuth
Definition at line 68 of file class.ilAuthUtils.php.
References $_GET, $_SESSION, $GLOBALS, $ilAuth, $ilBench, $ilLog, $ilSetting, _getAuthModeOfUser(), ilLDAPServer\_getFirstActiveServer(), ilAuthModeDetermination\_getInstance(), AUTH_CAS, AUTH_ECS, AUTH_INACTIVE, AUTH_LDAP, AUTH_LOCAL, AUTH_MODE_INACTIVE, AUTH_MULTIPLE, AUTH_RADIUS, AUTH_SHIBBOLETH, AUTH_SOAP, CAS_VERSION_2_0, ilAuthContainerLDAP\setObserversEnabled(), and WebDAV_Authentication.
Referenced by ilInitialisation\goToPublicSection(), and ilInitialisation\initILIAS().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Check if an external account name is required.
That's the case if Radius,LDAP, CAS or SOAP is active
public
Definition at line 751 of file class.ilAuthUtils.php.
References $ilSetting, and ilLDAPServer\_getActiveServerList().
Referenced by ilObjUserGUI\editOldObject(), ilObjUserGUI\initForm(), and ilObjUserGUI\saveObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Check if chosen auth mode needs an external account entry.
public
| int | auth_mode |
Definition at line 808 of file class.ilAuthUtils.php.
References AUTH_LOCAL.
Referenced by ilSoapUserAdministration\__validateUserData(), and ilObjUserGUI\updateObjectOld().
Here is the caller graph for this function: