2016-01-21 13:10:12 +01:00
|
|
|
function templates(tpl,key) {
|
2016-01-21 13:15:38 +01:00
|
|
|
var ind;
|
|
|
|
var scalarTemplate = function(r) {
|
|
|
|
return {
|
|
|
|
"id": tpl+"s/"+(ind++),
|
|
|
|
"title": r,
|
|
|
|
"get": tpl+"s/"+key+"/"+r
|
|
|
|
};
|
2016-01-21 12:36:23 +01:00
|
|
|
};
|
2016-01-21 13:15:38 +01:00
|
|
|
switch(tpl){
|
2016-01-21 12:36:23 +01:00
|
|
|
case 'oidcOPMetaDataNode':
|
2016-01-21 13:10:12 +01:00
|
|
|
return [
|
|
|
|
{
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcOPMetaDataJSON",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataJSON",
|
|
|
|
"title" : "oidcOPMetaDataJSON",
|
|
|
|
"type" : "file"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcOPMetaDataJWKS",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataJWKS",
|
|
|
|
"title" : "oidcOPMetaDataJWKS",
|
|
|
|
"type" : "file"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cnodes" : tpl+"s/"+key+"/"+"oidcOPMetaDataExportedVars",
|
2016-01-21 18:17:43 +01:00
|
|
|
"default" : [
|
|
|
|
{
|
|
|
|
"data" : "name",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataExportedVars/cn",
|
|
|
|
"title" : "cn",
|
|
|
|
"type" : "keyText"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"data" : "email",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataExportedVars/mail",
|
|
|
|
"title" : "mail",
|
|
|
|
"type" : "keyText"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"data" : "family_name",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataExportedVars/sn",
|
|
|
|
"title" : "sn",
|
|
|
|
"type" : "keyText"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"data" : "sub",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataExportedVars/uid",
|
|
|
|
"title" : "uid",
|
|
|
|
"type" : "keyText"
|
|
|
|
}
|
|
|
|
],
|
2016-01-21 13:10:12 +01:00
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataExportedVars",
|
|
|
|
"title" : "oidcOPMetaDataExportedVars",
|
|
|
|
"type" : "keyTextContainer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_nodes" : [
|
|
|
|
{
|
|
|
|
"_nodes" : [
|
|
|
|
{
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsConfigurationURI",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsConfigurationURI",
|
|
|
|
"title" : "oidcOPMetaDataOptionsConfigurationURI"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : 0,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsJWKSTimeout",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsJWKSTimeout",
|
|
|
|
"title" : "oidcOPMetaDataOptionsJWKSTimeout",
|
|
|
|
"type" : "int"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsClientID",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsClientID",
|
|
|
|
"title" : "oidcOPMetaDataOptionsClientID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsClientSecret",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsClientSecret",
|
|
|
|
"title" : "oidcOPMetaDataOptionsClientSecret",
|
|
|
|
"type" : "password"
|
2016-09-13 15:40:02 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : 0,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsStoreIDToken",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsStoreIDToken",
|
|
|
|
"title" : "oidcOPMetaDataOptionsStoreIDToken",
|
|
|
|
"type" : "bool"
|
2016-01-21 13:10:12 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"id" : "oidcOPMetaDataOptionsConfiguration",
|
|
|
|
"title" : "oidcOPMetaDataOptionsConfiguration",
|
|
|
|
"type" : "simpleInputContainer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_nodes" : [
|
|
|
|
{
|
|
|
|
"default" : "openid profile",
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsScope",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsScope",
|
|
|
|
"title" : "oidcOPMetaDataOptionsScope"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : "",
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsDisplay",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsDisplay",
|
|
|
|
"select" : [
|
|
|
|
{
|
|
|
|
"k" : "",
|
|
|
|
"v" : ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "page",
|
|
|
|
"v" : "page"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "popup",
|
|
|
|
"v" : "popup"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "touch",
|
|
|
|
"v" : "touch"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "wap",
|
|
|
|
"v" : "wap"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title" : "oidcOPMetaDataOptionsDisplay",
|
|
|
|
"type" : "select"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsPrompt",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsPrompt",
|
|
|
|
"title" : "oidcOPMetaDataOptionsPrompt"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : 0,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsMaxAge",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsMaxAge",
|
|
|
|
"title" : "oidcOPMetaDataOptionsMaxAge",
|
|
|
|
"type" : "int"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsUiLocales",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsUiLocales",
|
|
|
|
"title" : "oidcOPMetaDataOptionsUiLocales"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsAcrValues",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsAcrValues",
|
|
|
|
"title" : "oidcOPMetaDataOptionsAcrValues"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : "client_secret_post",
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsTokenEndpointAuthMethod",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsTokenEndpointAuthMethod",
|
|
|
|
"select" : [
|
|
|
|
{
|
|
|
|
"k" : "client_secret_post",
|
|
|
|
"v" : "client_secret_post"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "client_secret_basic",
|
|
|
|
"v" : "client_secret_basic"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title" : "oidcOPMetaDataOptionsTokenEndpointAuthMethod",
|
|
|
|
"type" : "select"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : 1,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsCheckJWTSignature",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsCheckJWTSignature",
|
|
|
|
"title" : "oidcOPMetaDataOptionsCheckJWTSignature",
|
|
|
|
"type" : "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : 30,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsIDTokenMaxAge",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsIDTokenMaxAge",
|
|
|
|
"title" : "oidcOPMetaDataOptionsIDTokenMaxAge",
|
|
|
|
"type" : "int"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : 1,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsUseNonce",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsUseNonce",
|
|
|
|
"title" : "oidcOPMetaDataOptionsUseNonce",
|
|
|
|
"type" : "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id" : "oidcOPMetaDataOptionsProtocol",
|
|
|
|
"title" : "oidcOPMetaDataOptionsProtocol",
|
|
|
|
"type" : "simpleInputContainer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_nodes" : [
|
|
|
|
{
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsDisplayName",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsDisplayName",
|
|
|
|
"title" : "oidcOPMetaDataOptionsDisplayName"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsIcon",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcOPMetaDataOptionsIcon",
|
|
|
|
"title" : "oidcOPMetaDataOptionsIcon"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id" : "oidcOPMetaDataOptionsDisplayParams",
|
|
|
|
"title" : "oidcOPMetaDataOptionsDisplayParams",
|
|
|
|
"type" : "simpleInputContainer"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id" : "oidcOPMetaDataOptions",
|
|
|
|
"title" : "oidcOPMetaDataOptions"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
;
|
2016-01-21 12:36:23 +01:00
|
|
|
case 'oidcRPMetaDataNode':
|
2016-01-21 13:10:12 +01:00
|
|
|
return [
|
|
|
|
{
|
|
|
|
"cnodes" : tpl+"s/"+key+"/"+"oidcRPMetaDataExportedVars",
|
2016-01-21 18:17:44 +01:00
|
|
|
"default" : [
|
|
|
|
{
|
|
|
|
"data" : "mail",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcRPMetaDataExportedVars/email",
|
|
|
|
"title" : "email",
|
|
|
|
"type" : "keyText"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"data" : "sn",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcRPMetaDataExportedVars/family_name",
|
|
|
|
"title" : "family_name",
|
|
|
|
"type" : "keyText"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"data" : "cn",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcRPMetaDataExportedVars/name",
|
|
|
|
"title" : "name",
|
|
|
|
"type" : "keyText"
|
|
|
|
}
|
|
|
|
],
|
2016-01-21 13:10:12 +01:00
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcRPMetaDataExportedVars",
|
|
|
|
"title" : "oidcRPMetaDataExportedVars",
|
|
|
|
"type" : "keyTextContainer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_nodes" : [
|
|
|
|
{
|
|
|
|
"_nodes" : [
|
|
|
|
{
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcRPMetaDataOptionsClientID",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcRPMetaDataOptionsClientID",
|
|
|
|
"title" : "oidcRPMetaDataOptionsClientID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcRPMetaDataOptionsClientSecret",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcRPMetaDataOptionsClientSecret",
|
|
|
|
"title" : "oidcRPMetaDataOptionsClientSecret",
|
|
|
|
"type" : "password"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id" : "oidcRPMetaDataOptionsAuthentication",
|
|
|
|
"title" : "oidcRPMetaDataOptionsAuthentication",
|
|
|
|
"type" : "simpleInputContainer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_nodes" : [
|
|
|
|
{
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcRPMetaDataOptionsDisplayName",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcRPMetaDataOptionsDisplayName",
|
|
|
|
"title" : "oidcRPMetaDataOptionsDisplayName"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcRPMetaDataOptionsIcon",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcRPMetaDataOptionsIcon",
|
|
|
|
"title" : "oidcRPMetaDataOptionsIcon"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id" : "oidcRPMetaDataOptionsDisplay",
|
|
|
|
"title" : "oidcRPMetaDataOptionsDisplay",
|
|
|
|
"type" : "simpleInputContainer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcRPMetaDataOptionsUserIDAttr",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcRPMetaDataOptionsUserIDAttr",
|
|
|
|
"title" : "oidcRPMetaDataOptionsUserIDAttr"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : "HS512",
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcRPMetaDataOptionsIDTokenSignAlg",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcRPMetaDataOptionsIDTokenSignAlg",
|
|
|
|
"select" : [
|
|
|
|
{
|
|
|
|
"k" : "none",
|
|
|
|
"v" : "None"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "HS256",
|
|
|
|
"v" : "HS256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "HS384",
|
|
|
|
"v" : "HS384"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "HS512",
|
|
|
|
"v" : "HS512"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "RS256",
|
|
|
|
"v" : "RS256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "RS384",
|
|
|
|
"v" : "RS384"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "RS512",
|
|
|
|
"v" : "RS512"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title" : "oidcRPMetaDataOptionsIDTokenSignAlg",
|
|
|
|
"type" : "select"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : 3600,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcRPMetaDataOptionsIDTokenExpiration",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcRPMetaDataOptionsIDTokenExpiration",
|
|
|
|
"title" : "oidcRPMetaDataOptionsIDTokenExpiration",
|
|
|
|
"type" : "int"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : 3600,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcRPMetaDataOptionsAccessTokenExpiration",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcRPMetaDataOptionsAccessTokenExpiration",
|
|
|
|
"title" : "oidcRPMetaDataOptionsAccessTokenExpiration",
|
|
|
|
"type" : "int"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcRPMetaDataOptionsRedirectUris",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcRPMetaDataOptionsRedirectUris",
|
|
|
|
"title" : "oidcRPMetaDataOptionsRedirectUris"
|
|
|
|
},
|
2016-09-27 15:23:29 +02:00
|
|
|
{
|
|
|
|
"default" : 0,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"oidcRPMetaDataOptionsBypassConsent",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcRPMetaDataOptionsBypassConsent",
|
|
|
|
"title" : "oidcRPMetaDataOptionsBypassConsent",
|
|
|
|
"type" : "bool"
|
2016-01-21 13:10:12 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"id" : "oidcRPMetaDataOptions",
|
|
|
|
"title" : "oidcRPMetaDataOptions"
|
2016-11-15 17:04:43 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"cnodes" : tpl+"s/"+key+"/"+"oidcRPMetaDataOptionsExtraClaims",
|
|
|
|
"default" : [],
|
|
|
|
"id" : tpl+"s/"+key+"/"+"oidcRPMetaDataOptionsExtraClaims",
|
|
|
|
"title" : "oidcRPMetaDataOptionsExtraClaims",
|
|
|
|
"type" : "keyTextContainer"
|
2016-01-21 13:10:12 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
;
|
2016-01-21 12:36:23 +01:00
|
|
|
case 'samlIDPMetaDataNode':
|
2016-01-21 13:10:12 +01:00
|
|
|
return [
|
|
|
|
{
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataXML",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataXML",
|
|
|
|
"title" : "samlIDPMetaDataXML",
|
|
|
|
"type" : "file"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cnodes" : tpl+"s/"+key+"/"+"samlIDPMetaDataExportedAttributes",
|
|
|
|
"default" : [],
|
|
|
|
"help" : "authsaml.html#exported_attributes",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataExportedAttributes",
|
|
|
|
"title" : "samlIDPMetaDataExportedAttributes",
|
|
|
|
"type" : "samlAttributeContainer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_nodes" : [
|
2016-08-31 10:32:32 +02:00
|
|
|
{
|
|
|
|
"default" : "",
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsResolutionRule",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsResolutionRule",
|
|
|
|
"title" : "samlIDPMetaDataOptionsResolutionRule",
|
|
|
|
"type" : "longtext"
|
|
|
|
},
|
2016-01-21 13:10:12 +01:00
|
|
|
{
|
|
|
|
"default" : "",
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsNameIDFormat",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsNameIDFormat",
|
|
|
|
"select" : [
|
|
|
|
{
|
|
|
|
"k" : "",
|
|
|
|
"v" : ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "unspecified",
|
|
|
|
"v" : "Unspecified"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "email",
|
|
|
|
"v" : "Email"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "x509",
|
|
|
|
"v" : "X509 certificate"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "windows",
|
|
|
|
"v" : "Windows"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "kerberos",
|
|
|
|
"v" : "Kerberos"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "entity",
|
|
|
|
"v" : "Entity"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "persistent",
|
|
|
|
"v" : "Persistent"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "transient",
|
|
|
|
"v" : "Transient"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "encrypted",
|
|
|
|
"v" : "Encrypted"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title" : "samlIDPMetaDataOptionsNameIDFormat",
|
|
|
|
"type" : "select"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : 0,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsForceAuthn",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsForceAuthn",
|
|
|
|
"title" : "samlIDPMetaDataOptionsForceAuthn",
|
|
|
|
"type" : "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : 0,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsIsPassive",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsIsPassive",
|
|
|
|
"title" : "samlIDPMetaDataOptionsIsPassive",
|
|
|
|
"type" : "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : 0,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsAllowProxiedAuthn",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsAllowProxiedAuthn",
|
|
|
|
"title" : "samlIDPMetaDataOptionsAllowProxiedAuthn",
|
|
|
|
"type" : "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : 0,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsAllowLoginFromIDP",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsAllowLoginFromIDP",
|
|
|
|
"title" : "samlIDPMetaDataOptionsAllowLoginFromIDP",
|
|
|
|
"type" : "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : "",
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsRequestedAuthnContext",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsRequestedAuthnContext",
|
|
|
|
"select" : [
|
|
|
|
{
|
|
|
|
"k" : "",
|
|
|
|
"v" : ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "kerberos",
|
|
|
|
"v" : "Kerberos"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "password-protected-transport",
|
|
|
|
"v" : "Password protected transport"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "password",
|
|
|
|
"v" : "Password"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "tls-client",
|
|
|
|
"v" : "TLS client certificate"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title" : "samlIDPMetaDataOptionsRequestedAuthnContext",
|
|
|
|
"type" : "select"
|
2016-10-04 11:07:55 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : 0,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsRelayStateURL",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsRelayStateURL",
|
|
|
|
"title" : "samlIDPMetaDataOptionsRelayStateURL",
|
|
|
|
"type" : "bool"
|
2016-01-21 13:10:12 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"help" : "authsaml.html#options",
|
|
|
|
"id" : "samlIDPMetaDataOptions",
|
|
|
|
"title" : "samlIDPMetaDataOptions",
|
|
|
|
"type" : "simpleInputContainer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_nodes" : [
|
|
|
|
{
|
|
|
|
"default" : 0,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsAdaptSessionUtime",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsAdaptSessionUtime",
|
|
|
|
"title" : "samlIDPMetaDataOptionsAdaptSessionUtime",
|
|
|
|
"type" : "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : 0,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsForceUTF8",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsForceUTF8",
|
|
|
|
"title" : "samlIDPMetaDataOptionsForceUTF8",
|
|
|
|
"type" : "bool"
|
2016-09-13 14:04:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : 0,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsStoreSAMLToken",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsStoreSAMLToken",
|
|
|
|
"title" : "samlIDPMetaDataOptionsStoreSAMLToken",
|
|
|
|
"type" : "bool"
|
2016-01-21 13:10:12 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"id" : "samlIDPMetaDataOptionsSession",
|
|
|
|
"title" : "samlIDPMetaDataOptionsSession",
|
|
|
|
"type" : "simpleInputContainer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_nodes" : [
|
|
|
|
{
|
|
|
|
"default" : -1,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsSignSSOMessage",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsSignSSOMessage",
|
|
|
|
"title" : "samlIDPMetaDataOptionsSignSSOMessage",
|
|
|
|
"type" : "trool"
|
|
|
|
},
|
|
|
|
{
|
2016-09-06 11:49:45 +02:00
|
|
|
"default" : 1,
|
2016-01-21 13:10:12 +01:00
|
|
|
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsCheckSSOMessageSignature",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsCheckSSOMessageSignature",
|
|
|
|
"title" : "samlIDPMetaDataOptionsCheckSSOMessageSignature",
|
|
|
|
"type" : "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : -1,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsSignSLOMessage",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsSignSLOMessage",
|
|
|
|
"title" : "samlIDPMetaDataOptionsSignSLOMessage",
|
|
|
|
"type" : "trool"
|
|
|
|
},
|
|
|
|
{
|
2016-09-06 11:49:45 +02:00
|
|
|
"default" : 1,
|
2016-01-21 13:10:12 +01:00
|
|
|
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsCheckSLOMessageSignature",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsCheckSLOMessageSignature",
|
|
|
|
"title" : "samlIDPMetaDataOptionsCheckSLOMessageSignature",
|
|
|
|
"type" : "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id" : "samlIDPMetaDataOptionsSignature",
|
|
|
|
"title" : "samlIDPMetaDataOptionsSignature",
|
|
|
|
"type" : "simpleInputContainer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_nodes" : [
|
|
|
|
{
|
|
|
|
"default" : "",
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsSSOBinding",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsSSOBinding",
|
|
|
|
"select" : [
|
|
|
|
{
|
|
|
|
"k" : "",
|
|
|
|
"v" : ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "http-post",
|
|
|
|
"v" : "POST"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "http-redirect",
|
|
|
|
"v" : "Redirect"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "http-soap",
|
|
|
|
"v" : "SOAP"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "artifact-get",
|
|
|
|
"v" : "Artifact GET"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "artifact-post",
|
|
|
|
"v" : "Artifact POST"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title" : "samlIDPMetaDataOptionsSSOBinding",
|
|
|
|
"type" : "select"
|
|
|
|
},
|
|
|
|
{
|
2016-06-21 14:40:43 +02:00
|
|
|
"default" : "",
|
2016-01-21 13:10:12 +01:00
|
|
|
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsSLOBinding",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsSLOBinding",
|
2016-06-21 14:40:43 +02:00
|
|
|
"select" : [
|
|
|
|
{
|
|
|
|
"k" : "",
|
|
|
|
"v" : ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "http-post",
|
|
|
|
"v" : "POST"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "http-redirect",
|
|
|
|
"v" : "Redirect"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "http-soap",
|
|
|
|
"v" : "SOAP"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "artifact-get",
|
|
|
|
"v" : "Artifact GET"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "artifact-post",
|
|
|
|
"v" : "Artifact POST"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title" : "samlIDPMetaDataOptionsSLOBinding",
|
|
|
|
"type" : "select"
|
2016-01-21 13:10:12 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"id" : "samlIDPMetaDataOptionsBinding",
|
|
|
|
"title" : "samlIDPMetaDataOptionsBinding",
|
|
|
|
"type" : "simpleInputContainer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_nodes" : [
|
|
|
|
{
|
|
|
|
"default" : "none",
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsEncryptionMode",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsEncryptionMode",
|
|
|
|
"select" : [
|
|
|
|
{
|
|
|
|
"k" : "none",
|
|
|
|
"v" : "None"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "nameid",
|
|
|
|
"v" : "Name ID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "assertion",
|
|
|
|
"v" : "Assertion"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title" : "samlIDPMetaDataOptionsEncryptionMode",
|
|
|
|
"type" : "select"
|
|
|
|
},
|
|
|
|
{
|
2016-09-06 11:49:45 +02:00
|
|
|
"default" : 1,
|
2016-09-29 21:24:58 +02:00
|
|
|
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsCheckTime",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsCheckTime",
|
|
|
|
"title" : "samlIDPMetaDataOptionsCheckTime",
|
|
|
|
"type" : "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : 1,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsCheckAudience",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsCheckAudience",
|
|
|
|
"title" : "samlIDPMetaDataOptionsCheckAudience",
|
2016-01-21 13:10:12 +01:00
|
|
|
"type" : "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id" : "samlIDPMetaDataOptionsSecurity",
|
|
|
|
"title" : "samlIDPMetaDataOptionsSecurity",
|
|
|
|
"type" : "simpleInputContainer"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
;
|
2016-01-21 12:36:23 +01:00
|
|
|
case 'samlSPMetaDataNode':
|
2016-01-21 13:10:12 +01:00
|
|
|
return [
|
|
|
|
{
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlSPMetaDataXML",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlSPMetaDataXML",
|
|
|
|
"title" : "samlSPMetaDataXML",
|
|
|
|
"type" : "file"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cnodes" : tpl+"s/"+key+"/"+"samlSPMetaDataExportedAttributes",
|
|
|
|
"default" : [],
|
|
|
|
"help" : "idpsaml.html#exported_attributes",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlSPMetaDataExportedAttributes",
|
|
|
|
"title" : "samlSPMetaDataExportedAttributes",
|
|
|
|
"type" : "samlAttributeContainer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_nodes" : [
|
|
|
|
{
|
|
|
|
"_nodes" : [
|
|
|
|
{
|
|
|
|
"default" : "",
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsNameIDFormat",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsNameIDFormat",
|
|
|
|
"select" : [
|
|
|
|
{
|
|
|
|
"k" : "",
|
|
|
|
"v" : ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "unspecified",
|
|
|
|
"v" : "Unspecified"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "email",
|
|
|
|
"v" : "Email"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "x509",
|
|
|
|
"v" : "X509 certificate"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "windows",
|
|
|
|
"v" : "Windows"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "kerberos",
|
|
|
|
"v" : "Kerberos"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "entity",
|
|
|
|
"v" : "Entity"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "persistent",
|
|
|
|
"v" : "Persistent"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "transient",
|
|
|
|
"v" : "Transient"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "encrypted",
|
|
|
|
"v" : "Encrypted"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title" : "samlSPMetaDataOptionsNameIDFormat",
|
|
|
|
"type" : "select"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsNameIDSessionKey",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsNameIDSessionKey",
|
|
|
|
"title" : "samlSPMetaDataOptionsNameIDSessionKey"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : 0,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsOneTimeUse",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsOneTimeUse",
|
|
|
|
"title" : "samlSPMetaDataOptionsOneTimeUse",
|
|
|
|
"type" : "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : 72000,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsSessionNotOnOrAfterTimeout",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsSessionNotOnOrAfterTimeout",
|
|
|
|
"title" : "samlSPMetaDataOptionsSessionNotOnOrAfterTimeout",
|
|
|
|
"type" : "int"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : 72000,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsNotOnOrAfterTimeout",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsNotOnOrAfterTimeout",
|
|
|
|
"title" : "samlSPMetaDataOptionsNotOnOrAfterTimeout",
|
|
|
|
"type" : "int"
|
2016-07-08 16:14:37 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : 1,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsForceUTF8",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsForceUTF8",
|
|
|
|
"title" : "samlSPMetaDataOptionsForceUTF8",
|
|
|
|
"type" : "bool"
|
2016-01-21 13:10:12 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"id" : "samlSPMetaDataOptionsAuthnResponse",
|
|
|
|
"title" : "samlSPMetaDataOptionsAuthnResponse",
|
|
|
|
"type" : "simpleInputContainer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_nodes" : [
|
|
|
|
{
|
|
|
|
"default" : -1,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsSignSSOMessage",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsSignSSOMessage",
|
|
|
|
"title" : "samlSPMetaDataOptionsSignSSOMessage",
|
|
|
|
"type" : "trool"
|
|
|
|
},
|
|
|
|
{
|
2016-09-06 11:49:45 +02:00
|
|
|
"default" : 1,
|
2016-01-21 13:10:12 +01:00
|
|
|
"get" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsCheckSSOMessageSignature",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsCheckSSOMessageSignature",
|
|
|
|
"title" : "samlSPMetaDataOptionsCheckSSOMessageSignature",
|
|
|
|
"type" : "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : -1,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsSignSLOMessage",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsSignSLOMessage",
|
|
|
|
"title" : "samlSPMetaDataOptionsSignSLOMessage",
|
|
|
|
"type" : "trool"
|
|
|
|
},
|
|
|
|
{
|
2016-09-06 11:49:45 +02:00
|
|
|
"default" : 1,
|
2016-01-21 13:10:12 +01:00
|
|
|
"get" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsCheckSLOMessageSignature",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsCheckSLOMessageSignature",
|
|
|
|
"title" : "samlSPMetaDataOptionsCheckSLOMessageSignature",
|
|
|
|
"type" : "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id" : "samlSPMetaDataOptionsSignature",
|
|
|
|
"title" : "samlSPMetaDataOptionsSignature",
|
|
|
|
"type" : "simpleInputContainer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_nodes" : [
|
|
|
|
{
|
|
|
|
"default" : "none",
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsEncryptionMode",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsEncryptionMode",
|
|
|
|
"select" : [
|
|
|
|
{
|
|
|
|
"k" : "none",
|
|
|
|
"v" : "None"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "nameid",
|
|
|
|
"v" : "Name ID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"k" : "assertion",
|
|
|
|
"v" : "Assertion"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title" : "samlSPMetaDataOptionsEncryptionMode",
|
|
|
|
"type" : "select"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : 0,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsEnableIDPInitiatedURL",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsEnableIDPInitiatedURL",
|
|
|
|
"title" : "samlSPMetaDataOptionsEnableIDPInitiatedURL",
|
|
|
|
"type" : "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id" : "samlSPMetaDataOptionsSecurity",
|
|
|
|
"title" : "samlSPMetaDataOptionsSecurity",
|
|
|
|
"type" : "simpleInputContainer"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"help" : "idpsaml.html#options",
|
|
|
|
"id" : "samlSPMetaDataOptions",
|
|
|
|
"title" : "samlSPMetaDataOptions"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
;
|
2016-01-21 12:36:23 +01:00
|
|
|
case 'virtualHost':
|
2016-01-21 13:10:12 +01:00
|
|
|
return [
|
|
|
|
{
|
|
|
|
"cnodes" : tpl+"s/"+key+"/"+"locationRules",
|
|
|
|
"default" : [
|
|
|
|
{
|
|
|
|
"data" : "deny",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"locationRules/default",
|
|
|
|
"re" : "default",
|
|
|
|
"title" : "default",
|
|
|
|
"type" : "rule"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"help" : "writingrulesand_headers.html#rules",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"locationRules",
|
|
|
|
"title" : "locationRules",
|
|
|
|
"type" : "ruleContainer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cnodes" : tpl+"s/"+key+"/"+"exportedHeaders",
|
|
|
|
"help" : "writingrulesand_headers.html#headers",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"exportedHeaders",
|
|
|
|
"title" : "exportedHeaders",
|
|
|
|
"type" : "keyTextContainer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cnodes" : tpl+"s/"+key+"/"+"post",
|
|
|
|
"help" : "formreplay.html",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"post",
|
|
|
|
"title" : "post",
|
|
|
|
"type" : "postContainer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"_nodes" : [
|
|
|
|
{
|
|
|
|
"default" : -1,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"vhostPort",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"vhostPort",
|
|
|
|
"title" : "vhostPort",
|
|
|
|
"type" : "int"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : -1,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"vhostHttps",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"vhostHttps",
|
|
|
|
"title" : "vhostHttps",
|
|
|
|
"type" : "trool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default" : 0,
|
|
|
|
"get" : tpl+"s/"+key+"/"+"vhostMaintenance",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"vhostMaintenance",
|
|
|
|
"title" : "vhostMaintenance",
|
|
|
|
"type" : "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"get" : tpl+"s/"+key+"/"+"vhostAliases",
|
|
|
|
"id" : tpl+"s/"+key+"/"+"vhostAliases",
|
|
|
|
"title" : "vhostAliases"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"help" : "configvhost.html#options",
|
|
|
|
"id" : "vhostOptions",
|
|
|
|
"title" : "vhostOptions"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
;
|
2016-01-21 12:36:23 +01:00
|
|
|
default:
|
2016-01-21 13:10:12 +01:00
|
|
|
return [];
|
2016-01-20 08:59:35 +01:00
|
|
|
}
|
|
|
|
}
|
2016-01-21 13:10:12 +01:00
|
|
|
|
2016-01-20 08:59:35 +01:00
|
|
|
function setScopeVars(scope) {
|
2016-03-03 21:59:22 +01:00
|
|
|
scope.portal = scope.data[0]._nodes[0]._nodes[0];
|
|
|
|
scope.getKey(scope.portal);
|
2016-01-21 12:36:23 +01:00
|
|
|
scope.domain = scope.data[0]._nodes[4]._nodes[1];
|
|
|
|
scope.getKey(scope.domain);
|
|
|
|
}
|