Allow domain suffix match to be set in UI for EAP configurations
Add a "domain" field that allows the user to specify a domain suffix match for an EAP network configuration. This field will only be available when the user specifies a CA certificate for an EAP-PEAP, EAP-TLS, or EAP-TTLS network. Under the hood, the value entered into this field will be passed to WPA supplicant as the |domain_suffix_match| configuration variable. BUG: 25180141 Change-Id: Ib69b9519f475e90e40441ddff61c80be43cf624b TEST: On angler, domain field appears for the EAP-PEAP, EAP-TLS TEST: and EAP-TTLS networks.
This commit is contained in:
@@ -157,6 +157,24 @@
|
||||
android:text="@string/wifi_do_not_validate_eap_server_warning" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout android:id="@+id/l_domain"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/wifi_item" >
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/wifi_item_label"
|
||||
android:text="@string/wifi_eap_domain" />
|
||||
|
||||
<EditText android:id="@+id/domain"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/wifi_item_edit_content"
|
||||
android:singleLine="true"
|
||||
android:inputType="textNoSuggestions" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout android:id="@+id/l_user_cert"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
Reference in New Issue
Block a user