+/* 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;
"uD3s1d70097Es++KwAg=\n" +
"-----END CERTIFICATE-----\n"));
+ /*
presets.add((new WifiNetworkSettings("dhbw-802.1x", "dhbw-802.1x", WifiNetworkAuthenticationTypes.WIFI_AUTHTYPE_WPA_ENTERPRISE)).
setWpaEnterprise(
new int[]{WifiConfiguration.KeyMgmt.WPA_EAP, WifiConfiguration.KeyMgmt.IEEE8021X},
"xbrYNuSD7Odlt79jWvNGr4GUN9RBjNYj1h7P9WgbRGOiWrqnNVmh5XAFmw4jV5mU\n" +
"Cm26OWMohpLzGITY+9HPBVZkVw==\n" +
"-----END CERTIFICATE-----"));
+ */
presets.add((new WifiNetworkSettings("eduroam", "eduroam", WifiNetworkAuthenticationTypes.WIFI_AUTHTYPE_WPA_ENTERPRISE)).
setWpaEnterprise(
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;
return caName;
}
+ public SecureLoginManager getSecureLoginManager() {
+ return performDHSecureLogin;
+ }
+
}