Added pulse secure payload to UI

revert-dabc3590
Milan Perera 8 years ago
parent aac9aba02c
commit 72329d93f0

@ -478,6 +478,8 @@ var operationModule = function () {
var ppp = {};
var ipSec = {};
var ikev2 = {};
var pulseSecure = {};
if (operationData["vpnType"] == "PPTP") {
ppp = {
"authName": operationData["pptpAuthName"],
@ -523,6 +525,12 @@ var operationModule = function () {
"serverCertificateIssuerCommonName" : operationData["ikev2ServerCertificateIssuerCommonName"],
"serverCertificateCommonName" : operationData["ikev2ServerCertificateCommonName"]
};
} else if (operationData["vpnType"] == "PulseSecure") {
pulseSecure = {
"remoteAddress" : operationData["pulsesecureRemoteAddress"],
"userName" : operationData["pulsesecureName"],
"sharedSecret" : operationData["pulsesecureSharedSecret"]
};
}
var domainsAlways = new Array();
@ -553,7 +561,8 @@ var operationModule = function () {
"vpnType" : operationData["vpnType"],
"ppp": ppp,
"ipSec": ipSec,
"ikEv2": ikev2
"ikEv2": ikev2,
"pulseSecure" : pulseSecure
}
};
break;

@ -1,5 +1,4 @@
/*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
@ -610,7 +609,8 @@ validateStep["policy-profile"] = function () {
}
}
}if (policy["platform"] == platformTypeConstants["WINDOWS"]) {
}
if (policy["platform"] == platformTypeConstants["WINDOWS"]) {
if (configuredOperations.length == 0) {
// updating validationStatus
validationStatus = {
@ -708,7 +708,8 @@ validateStep["policy-profile"] = function () {
}
}
} else if (policy["platform"] == platformTypeConstants["IOS"]) {
}
else if (policy["platform"] == platformTypeConstants["IOS"]) {
if (configuredOperations.length == 0) {
// updating validationStatus
validationStatus = {
@ -1257,7 +1258,7 @@ validateStep["policy-profile"] = function () {
}
if ($.inArray(iosOperationConstants["VPN_OPERATION_CODE"], configuredOperations) != -1) {
// if WIFI is configured
// if VPN is configured
operation = iosOperationConstants["VPN_OPERATION"];
// initializing continueToCheckNextInputs to true
continueToCheckNextInputs = true;

Loading…
Cancel
Save