Lines Matching defs:EAP
44 private static final int EAP = 3;
106 * Create a {@link WifiConfiguration} for an EAP secured network
110 * @param eapMethod The EAP method
160 * security being one of NONE, WEP, PSK, or EAP. If WEP, PSK, or EAP are selected, the field
161 * "password" must also be provided. If EAP is selected, then the fiels "eap", "phase2",
209 case EAP:
211 int eapMethod = getEapMethod(jsonConfig.getString("eap"));
279 if ("EAP".equalsIgnoreCase(security)) {
280 return EAP;
282 throw new IllegalArgumentException("Security type must be one of NONE, WEP, PSK, or EAP");
286 * Get the EAP method from a string.
288 * @throws IllegalArgumentException if the string is not a supported EAP method.
292 return WifiEnterpriseConfig.Eap.TLS;
295 return WifiEnterpriseConfig.Eap.TTLS;
298 return WifiEnterpriseConfig.Eap.PEAP;
300 throw new IllegalArgumentException("EAP method must be one of TLS, TTLS, or PEAP");