ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilWebDAVAuthentication. More...
Public Member Functions | |
isUserAgentSessionAware ($user_agent) | |
authenticate ($a_username, $a_password) | |
Callback function. More... | |
Protected Member Functions | |
getUserAgent () | |
Gets the given user agent from the request. More... | |
Protected Attributes | |
$session_aware_webdav_clients | |
Class ilWebDAVAuthentication.
Implements the callback to authenticate users. Is called by the sabreDAV Authentication Plugin
Definition at line 11 of file class.ilWebDAVAuthentication.php.
ilWebDAVAuthentication::authenticate | ( | $a_username, | |
$a_password | |||
) |
Callback function.
Identifies user by username and password and returns if authentication was successful
$a_username | |
$a_password |
Definition at line 66 of file class.ilWebDAVAuthentication.php.
References $DIC, ilAuthFrontendFactory\CONTEXT_HTTP, ilSession\enableWebAccessWithoutSession(), ilAuthStatus\getInstance(), ilLoggerFactory\getLogger(), getUserAgent(), isUserAgentSessionAware(), ilAuthStatus\STATUS_ACCOUNT_MIGRATION_REQUIRED, ilAuthStatus\STATUS_AUTHENTICATED, and ilAuthStatus\STATUS_AUTHENTICATION_FAILED.
|
protected |
Gets the given user agent from the request.
If user agent is not set -> return an empty string
Definition at line 48 of file class.ilWebDAVAuthentication.php.
References $_SERVER.
Referenced by authenticate().
ilWebDAVAuthentication::isUserAgentSessionAware | ( | $user_agent | ) |
string | $user_agent | User Agent from $_SERVER["HTTP_USER_AGENT"] |
Definition at line 34 of file class.ilWebDAVAuthentication.php.
Referenced by authenticate().
|
protected |
Definition at line 25 of file class.ilWebDAVAuthentication.php.