This repository was archived by the owner on Sep 19, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -29,9 +29,6 @@ class AdapterLdap extends Adapter
2929 const LDAP_PASSWORD = 'ldap.password ' ;
3030 const LDAP_BASE = 'ldap.base ' ;
3131
32- private $ ldapHostname ;
33- private $ ldapUser ;
34- private $ ldapPassword ;
3532 private $ ldapBase ;
3633
3734 protected $ connector ;
@@ -44,13 +41,12 @@ public function __construct($configFileName = null)
4441
4542 $ conf = Configuration::getConfig ($ configFileName );
4643
47- $ this -> ldapHostname = $ conf ->getString (self ::LDAP_HOSTNAME );
48- $ this -> ldapUser = $ conf ->getString (self ::LDAP_USER , null );
49- $ this -> ldapPassword = $ conf ->getString (self ::LDAP_PASSWORD , null );
44+ $ ldapHostname = $ conf ->getString (self ::LDAP_HOSTNAME );
45+ $ ldapUser = $ conf ->getString (self ::LDAP_USER , null );
46+ $ ldapPassword = $ conf ->getString (self ::LDAP_PASSWORD , null );
5047 $ this ->ldapBase = $ conf ->getString (self ::LDAP_BASE );
5148
52-
53- $ this ->connector = new LdapConnector ($ this ->ldapHostname , $ this ->ldapUser , $ this ->ldapPassword );
49+ $ this ->connector = new LdapConnector ($ ldapHostname , $ ldapUser , $ ldapPassword );
5450 }
5551
5652 public function getPerunUser ($ idpEntityId , $ uids )
You can’t perform that action at this time.
0 commit comments