-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Hide WPA3 feature based on Kura property #5607
base: develop
Are you sure you want to change the base?
Conversation
f35da42
to
b59ea8a
Compare
@@ -152,6 +158,7 @@ interface TabWirelessUiUiBinder extends UiBinder<Widget, TabWirelessUi> { | |||
private final NetworkTabsUi netTabs; | |||
private final ListDataProvider<GwtWifiHotspotEntry> ssidDataProvider = new ListDataProvider<>(); | |||
private final SingleSelectionModel<GwtWifiHotspotEntry> ssidSelectionModel = new SingleSelectionModel<>(); | |||
// private boolean isWPA3WifiSecuritySupported; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this commented code
@@ -375,4 +375,10 @@ public void shouldGetDefaultLogManagerProperty() { | |||
assertFalse(systemService.getDefaultLogManager().isPresent()); | |||
} | |||
|
|||
@TestTarget(targetPlatforms = { TestTarget.PLATFORM_ALL }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update copyright header
@@ -195,9 +195,9 @@ public ArrayList<GwtGroupedNVPair> findSystemProperties(GwtXSRFToken xsrfToken) | |||
// kura properties | |||
SystemService systemService = ServiceLocator.getInstance().getService(SystemService.class); | |||
Properties kuraProps = systemService.getProperties(); | |||
SortedSet kuraKeys = new TreeSet(kuraProps.keySet()); | |||
SortedSet kuraKeys = new TreeSet(kuraProps.stringPropertyNames()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update copyright header
@@ -25,4 +25,5 @@ | |||
<reference bind="setDnsServerService" cardinality="1..1" interface="org.eclipse.kura.internal.linux.net.dns.DnsServerService" name="DNSService" policy="static" /> | |||
<reference name="CryptoService" interface="org.eclipse.kura.crypto.CryptoService" bind="setCryptoService" unbind="unsetCryptoService" cardinality="1..1" policy="static"/> | |||
<reference name="KeystoreService" interface="org.eclipse.kura.security.keystore.KeystoreService" bind="setKeystoreService" unbind="unsetKeystoreService" cardinality="0..n" policy="dynamic"/> | |||
<reference bind="setSystemService" cardinality="1..1" interface="org.eclipse.kura.system.SystemService" name="SystemService" policy="static"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update copyright header
Signed-off-by: pierantoniomerlino <[email protected]>
Signed-off-by: pierantoniomerlino <[email protected]>
Signed-off-by: pierantoniomerlino <[email protected]>
547db70
to
78ff6aa
Compare
Should we also filter away/prohibit connection to the networks that use WPA3 from the scan results in web ui when in station mode? |
@nicolatimeus I was convinced to have already add that filter... but it seems that I lost that modification in some rebase. I'll add it. |
Signed-off-by: pierantoniomerlino <[email protected]>
This PR adds a way to disable the new WPA3 feature based on a specific Kura property.
Related Issue: This PR fixes/closes N/A
Description of the solution adopted: The #5586 added the (experimental) support for WPA3 Wifi Security. This PR adds a Kura property (
kura.wpa3.wifi.security.enable
) that hides/shows the WPA3 entries on the Wireless tab of the webUI. Moreover, the same property inhibits/allows the application of a network configuration containing WPA3 related properties to the framework.The default behavior is to hide the feature.