diff --git a/amt-0.2.0.js b/amt-0.2.0.js index cc1563a..bf5ee9b 100644 --- a/amt-0.2.0.js +++ b/amt-0.2.0.js @@ -302,7 +302,10 @@ function AmtStackCreateService(wsmanStack) { obj.AMT_TimeSynchronizationService_SetHighAccuracyTimeSynch = function (Ta0, Tm1, Tm2, callback_func, tag) { obj.Exec('AMT_TimeSynchronizationService', 'SetHighAccuracyTimeSynch', { 'Ta0': Ta0, 'Tm1': Tm1, 'Tm2': Tm2 }, callback_func, tag); } obj.AMT_UserInitiatedConnectionService_RequestStateChange = function (RequestedState, TimeoutPeriod, callback_func) { obj.Exec('AMT_UserInitiatedConnectionService', 'RequestStateChange', { 'RequestedState': RequestedState, 'TimeoutPeriod': TimeoutPeriod }, callback_func); } obj.AMT_WebUIService_RequestStateChange = function (RequestedState, TimeoutPeriod, callback_func) { obj.Exec('AMT_WebUIService', 'RequestStateChange', { 'RequestedState': RequestedState, 'TimeoutPeriod': TimeoutPeriod }, callback_func); } - obj.AMT_WiFiPortConfigurationService_AddWiFiSettings = function (WiFiEndpoint, WiFiEndpointSettingsInput, IEEE8021xSettingsInput, ClientCredential, CACredential, callback_func) { obj.ExecWithXml('AMT_WiFiPortConfigurationService', 'AddWiFiSettings', { 'WiFiEndpoint': WiFiEndpoint, 'WiFiEndpointSettingsInput': WiFiEndpointSettingsInput, 'IEEE8021xSettingsInput': IEEE8021xSettingsInput, 'ClientCredential': ClientCredential, 'CACredential': CACredential }, callback_func); } + obj.AMT_WiFiPortConfigurationService_AddWiFiSettings = function (WiFiEndpoint, WiFiEndpointSettingsInput, IEEE8021xSettingsInput, ClientCredential, CACredential, callback_func) { + console.log(JSON.stringify({ "WiFiEndpoint": WiFiEndpoint, "WiFiEndpointSettingsInput": WiFiEndpointSettingsInput, "IEEE8021xSettingsInput": IEEE8021xSettingsInput, "ClientCredential": ClientCredential, "CACredential": CACredential }, null, 2)); + obj.ExecWithXml('AMT_WiFiPortConfigurationService', 'AddWiFiSettings', { 'WiFiEndpoint': WiFiEndpoint, 'WiFiEndpointSettingsInput': WiFiEndpointSettingsInput, 'IEEE8021xSettingsInput': IEEE8021xSettingsInput, 'ClientCredential': ClientCredential, 'CACredential': CACredential }, callback_func); + } obj.AMT_WiFiPortConfigurationService_UpdateWiFiSettings = function (WiFiEndpointSettings, WiFiEndpointSettingsInput, IEEE8021xSettingsInput, ClientCredential, CACredential, callback_func) { obj.ExecWithXml('AMT_WiFiPortConfigurationService', 'UpdateWiFiSettings', { 'WiFiEndpointSettings': WiFiEndpointSettings, 'WiFiEndpointSettingsInput': WiFiEndpointSettingsInput, 'IEEE8021xSettingsInput': IEEE8021xSettingsInput, 'ClientCredential': ClientCredential, 'CACredential': CACredential }, callback_func); } obj.AMT_WiFiPortConfigurationService_DeleteAllITProfiles = function (_method_dummy, callback_func) { obj.Exec('AMT_WiFiPortConfigurationService', 'DeleteAllITProfiles', { '_method_dummy': _method_dummy }, callback_func); } obj.AMT_WiFiPortConfigurationService_DeleteAllUserProfiles = function (_method_dummy, callback_func) { obj.Exec('AMT_WiFiPortConfigurationService', 'DeleteAllUserProfiles', { '_method_dummy': _method_dummy }, callback_func); } diff --git a/index.html b/index.html index 90ccf64..04c14fe 100644 --- a/index.html +++ b/index.html @@ -1508,8 +1508,8 @@
Active in S0
@@ -5694,7 +5694,7 @@ var x = ''; x += TableEnd('
 ' + AddRefreshButton('PullSystemStatus(1)') // ###BEGIN###{!Mode-LMS} - + " Changing network settings may cause this page to becaume unavailable." + + " Changing network settings may cause this page to become unavailable." // ###END###{!Mode-LMS} // ###BEGIN###{Mode-LMS} + " Changing network settings may cause this page to be unavailable for a few seconds." @@ -5795,7 +5795,7 @@ x += TableEntry("Respond to ping", addLinkConditional(["Disabled", "ICMP response", "RMCP response", "ICMP & RMCP response"][gs['PingResponseEnabled'] + (gs['RmcpPingResponseEnabled'] << 1)], 'showPingActionDlg()', xxAccountAdminName)); // ###BEGIN###{NetAuth} // 802.1x - var netAuthProtocols = ["TLS", "TTLS MSCHAPv2", "PEAP MSCHAPv2", "EAP GTC", "EAPFAST MSCHAPv2", "EAPFAST GTC", "EAPFAST TLS"], netAuthStr = "Disabled"; + var netAuthProtocols = ['EAP-TLS', 'EAP-TTLS/MSCHAPv2', 'PEAPv0/EAP-MSCHAPv2', 'PEAPv1/EAP-GTC', 'EAP-FAST/MSCHAPv2', 'EAP-FAST/GTC', 'EAP-FAST/TLS'], netAuthStr = "Disabled"; if (amtsysstate['AMT_8021XProfile'].responses.Body['Enabled']) { netAuthStr = "Enabled, " + netAuthProtocols[amtsysstate['AMT_8021XProfile'].responses.Body['AuthenticationProtocol']]; } x += TableEntry("802.1x", addLinkConditional(netAuthStr, 'editNetAuthProfile()', xxAccountAdminName)); // ###END###{NetAuth} @@ -7764,6 +7764,7 @@ if (netAuthProfile) { x += '
802.11x
' x += addHtmlValue("Authentication", netAuthProtocols[netAuthProfile['AuthenticationProtocol']]); + if (netAuthProfile['Domain']) { x += addHtmlValue("Domain", EscapeHtml(netAuthProfile['Domain'])); } if (netAuthProfile['Username']) { x += addHtmlValue("Username", EscapeHtml(netAuthProfile['Username'])); } } // ###END###{NetAuth} @@ -7880,6 +7881,12 @@ if (parseInt(Q('idx_d12servercert').value) >= 0) { netAuthSettingsServerCaCert = '
http://schemas.xmlsoap.org/ws/2004/08/addressing
http://intel.com/wbem/wscim/1/amt-schema/1/AMT_PublicKeyCertificate' + xxCertificates[parseInt(Q('idx_d12servercert').value)]['InstanceID'] + ''; } } // ###END###{NetAuth} + + console.log('wifiepsettinginput', JSON.sstringify(v, null, 2)); + console.log('netAuthProfile', JSON.sstringify(sc, null, 2)); + console.log('netAuthSettingsClientCert', netAuthSettingsClientCert); + console.log('netAuthSettingsServerCaCert', netAuthSettingsServerCaCert); + amtstack.AMT_WiFiPortConfigurationService_AddWiFiSettings( { '__parameterType': 'reference', diff --git a/output/index.htm b/output/index.htm index da55ad2..abc7ccb 100644 --- a/output/index.htm +++ b/output/index.htm @@ -44624,7 +44624,7 @@ var CreateWebSocketWrapper = function (host, port, path, certhash) { var x = '
'; x += TableEnd('
 ' + AddRefreshButton('PullSystemStatus(1)') - + " Changing network settings may cause this page to becaume unavailable." + + " Changing network settings may cause this page to become unavailable." ); // General settings diff --git a/translate/translate.json b/translate/translate.json index 694a874..bbf1315 100644 --- a/translate/translate.json +++ b/translate/translate.json @@ -120,7 +120,7 @@ }, { "de": " Das Ändern der Netzwerkeinstellungen kann dazu führen, dass diese Seite nicht mehr verfügbar ist.", - "en": " Changing network settings may cause this page to becaume unavailable.", + "en": " Changing network settings may cause this page to become unavailable.", "es": " Cambiar la configuración de red puede hacer que esta página no esté disponible.", "fr": " La modification des paramètres réseau peut rendre cette page indisponible.", "it": " La modifica delle impostazioni di rete potrebbe rendere questa pagina non disponibile.", diff --git a/translate/translate01.json b/translate/translate01.json index 4f6ed6e..0d553bd 100644 --- a/translate/translate01.json +++ b/translate/translate01.json @@ -114,7 +114,7 @@ }, { "de": " Das Ändern der Netzwerkeinstellungen kann dazu führen, dass diese Seite nicht mehr verfügbar ist.", - "en": " Changing network settings may cause this page to becaume unavailable.", + "en": " Changing network settings may cause this page to become unavailable.", "es": " Cambiar la configuración de red puede hacer que esta página no esté disponible.", "fr": " La modification des paramètres réseau peut rendre cette page indisponible.", "it": " La modifica delle impostazioni di rete potrebbe rendere questa pagina non disponibile.",