◆ __construct()
◆ authenticate()
      
        
          | ilWebDAVAuthentication::authenticate  | 
          ( | 
          string  | 
          $a_username,  | 
        
        
           | 
           | 
          string  | 
          $a_password  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 68 of file class.ilWebDAVAuthentication.php.
References ANONYMOUS_USER_ID, ilAuthFrontendFactory\CONTEXT_HTTP, ilSession\enableWebAccessWithoutSession(), ilAuthStatus\getInstance(), getUserAgent(), isUserAgentSessionAware(), ILIAS\Repository\logger(), ilAuthStatus\STATUS_ACCOUNT_MIGRATION_REQUIRED, ilAuthStatus\STATUS_AUTHENTICATED, ilAuthStatus\STATUS_AUTHENTICATION_FAILED, and ILIAS\Repository\user().
   71             if ($this->session->isAuthenticated()
    72                 && $this->
user->getId() !== 0
    74                 $this->
logger->debug(
'User authenticated through session. UserID = ' . $this->
user->getId());
    82         $credentials->setUsername($a_username);
    83         $credentials->setPassword($a_password);
    86         $providers = $provider_factory->getProviders($credentials);
    92         $frontend = $frontend_factory->getFrontend(
    99         $frontend->authenticate();
   101         switch ($status->getStatus()) {
   104                     'User authenticated through basic authentication. UserId = ' . $this->
user->getId()
   109                 $this->
logger->info(
'Basic authentication failed; Account migration required.');
   113                 $this->
logger->info(
'Basic authentication failed; Wrong login, password.');
 
static enableWebAccessWithoutSession(bool $enable_web_access_without_session)
 
isUserAgentSessionAware(string $user_agent)
 
const STATUS_AUTHENTICATION_FAILED
 
const STATUS_AUTHENTICATED
 
static getInstance()
Get status instance. 
 
const STATUS_ACCOUNT_MIGRATION_REQUIRED
 
 
 
 
◆ getUserAgent()
  
  
      
        
          | ilWebDAVAuthentication::getUserAgent  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ isUserAgentSessionAware()
  
  
      
        
          | ilWebDAVAuthentication::isUserAgentSessionAware  | 
          ( | 
          string  | 
          $user_agent | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ $session_aware_webdav_clients
  
  
      
        
          | array ilWebDAVAuthentication::$session_aware_webdav_clients | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following file: