Added README.txt and GPL Header to Source Files
[DHBWCampusApp.git] / app / src / main / java / de / dhbwloe / campusapp / wifi / WifiNetworkSettings.java
index 96a561fec77d11204679350187d038c10e6a6101..8c312a470eb96235eda1ba7b0af7aeb9969aeef2 100644 (file)
@@ -1,3 +1,18 @@
+/* WifiNetworkSettings.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.wifi;
 
 import android.net.wifi.WifiConfiguration;
@@ -173,12 +188,6 @@ public class WifiNetworkSettings {
 
     public TabLayout.Tab tab;
     public boolean isInScanResult = false;
-    public boolean isTryConnecting = false;
-    public boolean isAssociating = false;
-    public boolean isAssociated = false;
-    public boolean isAuthenticated = false;
-    public boolean isDisconnected = false;
-    public boolean failedAuthentication = false;
 
     public WifiNetworkSettings(String name, String ssid, WifiNetworkAuthenticationTypes authType) {
         this.name = name;
@@ -263,4 +272,8 @@ public class WifiNetworkSettings {
         return caName;
     }
 
+    public SecureLoginManager getSecureLoginManager() {
+        return performDHSecureLogin;
+    }
+
 }