32include_once(
'Services/Authentication/classes/class.ilAuthUtils.php');
 
   60                include_once 
"./Services/Administration/classes/class.ilSetting.php";
 
   61                $this->settings = 
new ilSetting(
"auth_mode_determination");
 
  114                $this->kind = $a_kind;
 
  125                return $this->position ? $this->position : array();             
 
  136                return count($this->position);
 
  148                $this->position = $a_pos;
 
  160                $this->settings->deleteAll();
 
  162                $this->settings->set(
'kind',$this->
getKind());
 
  165                foreach($this->position as $auth_mode)
 
  167                        $this->settings->set((
string) $counter++,$auth_mode);
 
  183                $this->kind = $this->settings->get(
'kind',self::TYPE_MANUAL);
 
  185                include_once(
'Services/LDAP/classes/class.ilLDAPServer.php');
 
  188                include_once(
'Services/Radius/classes/class.ilRadiusSettings.php');
 
  190                $rad_active = $rad_settings->isActive();
 
  192                $soap_active = 
$ilSetting->get(
'soap_auth_active',
false);
 
  195                $apache_settings = 
new ilSetting(
'apache_auth');
 
  196                $apache_active = $apache_settings->get(
'apache_enable_auth');
 
  199                for($i = 0; $i < 5; $i++)
 
  201                        if($auth_mode = $this->settings->get((
string) $i,0))
 
  206                                                $this->position[] = $auth_mode;
 
  212                                                        $this->position[] = $auth_mode;  
 
  219                                                        $this->position[] = $auth_mode;  
 
  226                                                        $this->position[] = $auth_mode;
 
  233                                                        $this->position[] = $auth_mode;
 
  241                                                        if($pl->isAuthActive($auth_mode))
 
  243                                                                $this->position[] = $auth_mode;
 
  290                        foreach($pl->getAuthIds() as $auth_id)
 
  292                                if($pl->isAuthActive($auth_id))
 
  294                                        if(!in_array($auth_id, $this->position))
 
  296                                                $this->position[] = $auth_id;
 
static _getInstance()
Get instance.
getCountActiveAuthModes()
get number of auth modes
__construct()
Constructor (Singleton)
getAuthModeSequence()
get auth mode sequence
setKind($a_kind)
set kind of determination
setAuthModeSequence($a_pos)
set auth mode sequence
isManualSelection()
is manual selection
static getAuthPlugins()
Get active enabled auth plugins.
static _getFirstActiveServer()
Get first active server.
static _getInstance()
singleton get instance