26        "Microsoft-WebDAV-MiniRedir",
 
   36        foreach ($this->session_aware_webdav_clients as $webdav_client_name) {
 
   37            if (stristr($user_agent, $webdav_client_name)) {
 
   51        $user_agent = isset(
$_SERVER[
"HTTP_USER_AGENT"]) ? 
$_SERVER[
"HTTP_USER_AGENT"] : 
"";
 
   54        $user_agent = is_string($user_agent) ? $user_agent : 
"";
 
   71            if ($DIC[
'ilAuthSession']->isAuthenticated() && 
$DIC->user()->getId() != 0) {
 
   80        $credentials->setUsername($a_username);
 
   81        $credentials->setPassword($a_password);
 
   84        $providers = $provider_factory->getProviders($credentials);
 
   90        $frontend = $frontend_factory->getFrontend(
 
   91            $DIC[
'ilAuthSession'],
 
   97        $frontend->authenticate();
 
   99        switch ($status->getStatus()) {
 
An exception for terminatinating execution or to throw for unit testing.
Factory for auth frontend classes.
const STATUS_AUTHENTICATED
static getInstance()
Get status instance.
const STATUS_AUTHENTICATION_FAILED
const STATUS_ACCOUNT_MIGRATION_REQUIRED
static getLogger($a_component_id)
Get component logger.
static enableWebAccessWithoutSession($enable_web_access_without_session)
Class ilWebDAVAuthentication.
$session_aware_webdav_clients
getUserAgent()
Gets the given user agent from the request.
isUserAgentSessionAware(string $user_agent)
authenticate($a_username, $a_password)
Callback function.