Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 211f4e60

Von Moritz Bunkus vor mehr als 4 Jahren hinzugefügt

  • ID 211f4e60ebc94a7fd73564ca750f7f52f416773f
  • Vorgänger 64c14bc5
  • Nachfolger 4d015385

LDAP-Auth: Konfiguration über Konstruktur übergeben

Ist eine Vorarbeit dafür, das LDAP-Modul mit unterschiedlichen
Konfigurationen benutzen zu können.

Unterschiede anzeigen:

SL/Auth.pm
140 140

  
141 141
  } else {
142 142
    $self->{DB_config}   = $::lx_office_conf{'authentication/database'};
143
    $self->{LDAP_config} = $::lx_office_conf{'authentication/ldap'};
144 143
  }
145 144

  
146 145
  if ($self->{module} eq 'DB') {
147 146
    $self->{authenticator} = SL::Auth::DB->new($self);
148 147

  
149 148
  } elsif ($self->{module} eq 'LDAP') {
150
    $self->{authenticator} = SL::Auth::LDAP->new($self);
149
    $self->{authenticator} = SL::Auth::LDAP->new($::lx_office_conf{'authentication/ldap'});
151 150
  }
152 151

  
153 152
  if (!$self->{authenticator}) {

Auch abrufbar als: Unified diff