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) {
 
   79        include_once 
'./Services/Authentication/classes/Frontend/class.ilAuthFrontendCredentialsHTTP.php';
 
   81        $credentials->setUsername($a_username);
 
   82        $credentials->setPassword($a_password);
 
   84        include_once 
'./Services/Authentication/classes/Provider/class.ilAuthProviderFactory.php';
 
   86        $providers = $provider_factory->getProviders($credentials);
 
   88        include_once 
'./Services/Authentication/classes/class.ilAuthStatus.php';
 
   91        include_once 
'./Services/Authentication/classes/Frontend/class.ilAuthFrontendFactory.php';
 
   94        $frontend = $frontend_factory->getFrontend(
 
   95            $DIC[
'ilAuthSession'],
 
  101        $frontend->authenticate();
 
  103        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.