Lines Matching defs:security
159 * wifi configuration. The wifi configuration requires the fields "ssid" and "security" with
160 * security being one of NONE, WEP, PSK, or EAP. If WEP, PSK, or EAP are selected, the field
196 int securityType = getSecurityType(jsonConfig.getString("security"));
265 * Get the security type from a string.
267 * @throws IllegalArgumentException if the string is not a supported security type.
269 private static int getSecurityType(String security) {
270 if ("NONE".equalsIgnoreCase(security)) {
273 if ("WEP".equalsIgnoreCase(security)) {
276 if ("PSK".equalsIgnoreCase(security)) {
279 if ("EAP".equalsIgnoreCase(security)) {