diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-04 09:59:13 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-04 09:59:13 -0700 |
commit | fd84b0dcb86208c2c9c64fbe067cf7d4324892ac (patch) | |
tree | 4cab6727dba45c1a9610814df668c59783fff09b /src/main/java/org/traccar/Context.java | |
parent | 4b0c47095c4fdd8d8b6849e36aac2761226b5b7e (diff) | |
download | trackermap-server-fd84b0dcb86208c2c9c64fbe067cf7d4324892ac.tar.gz trackermap-server-fd84b0dcb86208c2c9c64fbe067cf7d4324892ac.tar.bz2 trackermap-server-fd84b0dcb86208c2c9c64fbe067cf7d4324892ac.zip |
Remove ldap from context
Diffstat (limited to 'src/main/java/org/traccar/Context.java')
-rw-r--r-- | src/main/java/org/traccar/Context.java | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/main/java/org/traccar/Context.java b/src/main/java/org/traccar/Context.java index 97cfb2bf9..1aa673077 100644 --- a/src/main/java/org/traccar/Context.java +++ b/src/main/java/org/traccar/Context.java @@ -25,14 +25,12 @@ import org.traccar.config.Config; import org.traccar.config.Keys; import org.traccar.database.BaseObjectManager; import org.traccar.database.CalendarManager; -import org.traccar.session.ConnectionManager; import org.traccar.database.DataManager; import org.traccar.database.DeviceManager; import org.traccar.database.DriversManager; import org.traccar.database.GeofenceManager; import org.traccar.database.GroupsManager; import org.traccar.database.IdentityManager; -import org.traccar.database.LdapProvider; import org.traccar.database.MailManager; import org.traccar.database.MaintenancesManager; import org.traccar.database.NotificationManager; @@ -53,6 +51,7 @@ import org.traccar.model.User; import org.traccar.notification.EventForwarder; import org.traccar.notification.NotificatorManager; import org.traccar.reports.model.TripsConfig; +import org.traccar.session.ConnectionManager; import org.traccar.sms.HttpSmsClient; import org.traccar.sms.SmsManager; import org.traccar.sms.SnsSmsClient; @@ -94,12 +93,6 @@ public final class Context { return dataManager; } - private static LdapProvider ldapProvider; - - public static LdapProvider getLdapProvider() { - return ldapProvider; - } - private static MailManager mailManager; public static MailManager getMailManager() { @@ -263,10 +256,6 @@ public final class Context { dataManager = new DataManager(config); } - if (config.hasKey(Keys.LDAP_URL)) { - ldapProvider = new LdapProvider(config); - } - mailManager = new MailManager(); if (dataManager != null) { |