ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilAuthProvider Class Reference

Base class for authentication providers (radius, ldap, apache, ...) More...

+ Inheritance diagram for ilAuthProvider:
+ Collaboration diagram for ilAuthProvider:

Public Member Functions

 __construct (ilAuthCredentials $credentials)
 Constructor. More...
 
 getLogger ()
 Get logger. More...
 
 getCredentials ()
 

Data Fields

const STATUS_UNDEFINED = 0
 
const STATUS_AUTHENTICATION_SUCCESS = 1
 
const STATUS_AUTHENTICATION_FAILED = 2
 
const STATUS_MIGRATION = 3
 

Protected Member Functions

 handleAuthenticationFail (ilAuthStatus $status, $a_reason)
 Handle failed authentication. More...
 

Private Attributes

 $logger = null
 
 $credentials = null
 
 $status = self::STATUS_UNDEFINED
 
 $user_id = 0
 

Detailed Description

Base class for authentication providers (radius, ldap, apache, ...)

Author
Stefan Meyer smeye.nosp@m.r.il.nosp@m.ias@g.nosp@m.mx.d.nosp@m.e

Definition at line 11 of file class.ilAuthProvider.php.

Constructor & Destructor Documentation

◆ __construct()

ilAuthProvider::__construct ( ilAuthCredentials  $credentials)

Constructor.

Definition at line 28 of file class.ilAuthProvider.php.

References $credentials, and ilLoggerFactory\getLogger().

29  {
30  $this->logger = ilLoggerFactory::getLogger('auth');
31  $this->credentials = $credentials;
32  }
static getLogger($a_component_id)
Get component logger.
+ Here is the call graph for this function:

Member Function Documentation

◆ getCredentials()

◆ getLogger()

◆ handleAuthenticationFail()

ilAuthProvider::handleAuthenticationFail ( ilAuthStatus  $status,
  $a_reason 
)
protected

Field Documentation

◆ $credentials

ilAuthProvider::$credentials = null
private

Definition at line 21 of file class.ilAuthProvider.php.

Referenced by __construct(), and getCredentials().

◆ $logger

ilAuthProvider::$logger = null
private

Definition at line 19 of file class.ilAuthProvider.php.

Referenced by getLogger().

◆ $status

ilAuthProvider::$status = self::STATUS_UNDEFINED
private

Definition at line 23 of file class.ilAuthProvider.php.

◆ $user_id

ilAuthProvider::$user_id = 0
private

Definition at line 24 of file class.ilAuthProvider.php.

◆ STATUS_AUTHENTICATION_FAILED

const ilAuthProvider::STATUS_AUTHENTICATION_FAILED = 2

Definition at line 15 of file class.ilAuthProvider.php.

◆ STATUS_AUTHENTICATION_SUCCESS

const ilAuthProvider::STATUS_AUTHENTICATION_SUCCESS = 1

Definition at line 14 of file class.ilAuthProvider.php.

◆ STATUS_MIGRATION

const ilAuthProvider::STATUS_MIGRATION = 3

Definition at line 16 of file class.ilAuthProvider.php.

◆ STATUS_UNDEFINED

const ilAuthProvider::STATUS_UNDEFINED = 0

Definition at line 13 of file class.ilAuthProvider.php.


The documentation for this class was generated from the following file: