Commit 7bcd09d9 authored by Christophe Maudoux's avatar Christophe Maudoux

Arrange Manager tree (#1625)

parent 50f1b200
......@@ -22,8 +22,7 @@ sub cTrees {
'locationRules',
'exportedHeaders',
'post',
{
title => 'vhostOptions',
{ title => 'vhostOptions',
help => 'configvhost.html#options',
form => 'simpleInputContainer',
nodes => [
......@@ -37,8 +36,7 @@ sub cTrees {
'samlIDPMetaDataXML',
'samlIDPMetaDataExportedAttributes',
{
title => "samlIDPMetaDataOptionsSession",
{ title => "samlIDPMetaDataOptionsSession",
form => 'simpleInputContainer',
nodes => [
"samlIDPMetaDataOptionsAdaptSessionUtime",
......@@ -47,8 +45,7 @@ sub cTrees {
"samlIDPMetaDataOptionsUserAttribute"
]
},
{
title => "samlIDPMetaDataOptionsSignature",
{ title => "samlIDPMetaDataOptionsSignature",
form => 'simpleInputContainer',
nodes => [
"samlIDPMetaDataOptionsSignSSOMessage",
......@@ -57,16 +54,14 @@ sub cTrees {
"samlIDPMetaDataOptionsCheckSLOMessageSignature"
]
},
{
title => "samlIDPMetaDataOptionsBinding",
{ title => "samlIDPMetaDataOptionsBinding",
form => 'simpleInputContainer',
nodes => [
"samlIDPMetaDataOptionsSSOBinding",
"samlIDPMetaDataOptionsSLOBinding"
]
},
{
title => "samlIDPMetaDataOptionsSecurity",
{ title => "samlIDPMetaDataOptionsSecurity",
form => 'simpleInputContainer',
nodes => [
"samlIDPMetaDataOptionsEncryptionMode",
......@@ -74,8 +69,7 @@ sub cTrees {
"samlIDPMetaDataOptionsCheckAudience"
]
},
{
title => 'samlIDPMetaDataOptions',
{ title => 'samlIDPMetaDataOptions',
help => 'authsaml.html#options',
form => 'simpleInputContainer',
nodes => [
......@@ -89,8 +83,7 @@ sub cTrees {
'samlIDPMetaDataOptionsRelayStateURL',
],
},
{
title => "samlIDPMetaDataOptionsDisplay",
{ title => "samlIDPMetaDataOptionsDisplay",
form => 'simpleInputContainer',
nodes => [
"samlIDPMetaDataOptionsDisplayName",
......@@ -101,11 +94,10 @@ sub cTrees {
samlSPMetaDataNode => [
"samlSPMetaDataXML",
"samlSPMetaDataExportedAttributes",
{
title => "samlSPMetaDataOptions",
{ title => "samlSPMetaDataOptions",
help => 'idpsaml.html#options',
nodes => [ {
title => "samlSPMetaDataOptionsAuthnResponse",
nodes => [
{ title => "samlSPMetaDataOptionsAuthnResponse",
form => 'simpleInputContainer',
nodes => [
"samlSPMetaDataOptionsNameIDFormat",
......@@ -116,8 +108,7 @@ sub cTrees {
"samlSPMetaDataOptionsForceUTF8"
]
},
{
title => "samlSPMetaDataOptionsSignature",
{ title => "samlSPMetaDataOptionsSignature",
form => 'simpleInputContainer',
nodes => [
"samlSPMetaDataOptionsSignSSOMessage",
......@@ -126,8 +117,7 @@ sub cTrees {
"samlSPMetaDataOptionsCheckSLOMessageSignature"
]
},
{
title => "samlSPMetaDataOptionsSecurity",
{ title => "samlSPMetaDataOptionsSecurity",
form => 'simpleInputContainer',
nodes => [
"samlSPMetaDataOptionsEncryptionMode",
......@@ -142,10 +132,9 @@ sub cTrees {
'oidcOPMetaDataJSON',
'oidcOPMetaDataJWKS',
'oidcOPMetaDataExportedVars',
{
title => 'oidcOPMetaDataOptions',
nodes => [ {
title => 'oidcOPMetaDataOptionsConfiguration',
{ title => 'oidcOPMetaDataOptions',
nodes => [
{ title => 'oidcOPMetaDataOptionsConfiguration',
form => 'simpleInputContainer',
nodes => [
'oidcOPMetaDataOptionsConfigurationURI',
......@@ -155,8 +144,7 @@ sub cTrees {
'oidcOPMetaDataOptionsStoreIDToken'
]
},
{
title => 'oidcOPMetaDataOptionsProtocol',
{ title => 'oidcOPMetaDataOptionsProtocol',
form => 'simpleInputContainer',
nodes => [
'oidcOPMetaDataOptionsScope',
......@@ -171,47 +159,35 @@ sub cTrees {
'oidcOPMetaDataOptionsUseNonce'
]
},
]
},
{
title => 'oidcOPMetaDataOptionsDisplayParams',
form => 'simpleInputContainer',
nodes => [
'oidcOPMetaDataOptionsDisplayName',
'oidcOPMetaDataOptionsIcon'
]
},
{ title => 'oidcOPMetaDataOptionsDisplayParams',
form => 'simpleInputContainer',
nodes => [
'oidcOPMetaDataOptionsDisplayName',
'oidcOPMetaDataOptionsIcon'
]
},
],
oidcRPMetaDataNode => [
'oidcRPMetaDataExportedVars',
'oidcRPMetaDataOptionsExtraClaims',
{
title => 'oidcRPMetaDataOptions',
nodes => [ {
title => 'oidcRPMetaDataOptionsAuthentication',
'oidcRPMetaDataOptionsExtraClaims',
{ title => 'oidcRPMetaDataOptions',
nodes => [
{ title => 'oidcRPMetaDataOptionsAuthentication',
form => 'simpleInputContainer',
nodes => [
'oidcRPMetaDataOptionsClientID',
'oidcRPMetaDataOptionsClientSecret'
]
},
{
title => 'oidcRPMetaDataOptionsDisplay',
form => 'simpleInputContainer',
nodes => [
'oidcRPMetaDataOptionsDisplayName',
'oidcRPMetaDataOptionsIcon'
],
},
'oidcRPMetaDataOptionsUserIDAttr',
'oidcRPMetaDataOptionsIDTokenSignAlg',
'oidcRPMetaDataOptionsIDTokenExpiration',
'oidcRPMetaDataOptionsAccessTokenExpiration',
'oidcRPMetaDataOptionsRedirectUris',
'oidcRPMetaDataOptionsBypassConsent',
{
title => 'logout',
{ title => 'logout',
form => 'simpleInputContainer',
nodes => [
'oidcRPMetaDataOptionsPostLogoutRedirectUris',
......@@ -223,24 +199,35 @@ sub cTrees {
'oidcRPMetaDataOptionsRule',
]
},
{ title => 'oidcRPMetaDataOptionsDisplay',
form => 'simpleInputContainer',
nodes => [
'oidcRPMetaDataOptionsDisplayName',
'oidcRPMetaDataOptionsIcon'
],
},
],
casSrvMetaDataNode => [ {
title => 'casSrvMetaDataOptions',
casSrvMetaDataNode => [
'casSrvMetaDataExportedVars',
'casSrvMetaDataOptionsProxiedServices',
{ title => 'casSrvMetaDataOptions',
form => 'simpleInputContainer',
nodes => [
'casSrvMetaDataOptionsUrl',
'casSrvMetaDataOptionsRenew',
'casSrvMetaDataOptionsGateway',
]
},
{ title => 'casSrvMetaDataOptionsDisplay',
form => 'simpleInputContainer',
nodes => [
'casSrvMetaDataOptionsDisplayName',
'casSrvMetaDataOptionsIcon',
]
},
'casSrvMetaDataExportedVars',
'casSrvMetaDataOptionsProxiedServices',
],
casAppMetaDataNode => [ {
title => 'casAppMetaDataOptions',
casAppMetaDataNode => [
{ title => 'casAppMetaDataOptions',
form => 'simpleInputContainer',
nodes => [
'casAppMetaDataOptionsService',
......
......@@ -57,6 +57,38 @@ function templates(tpl,key) {
;
case 'casSrvMetaDataNode':
return [
{
"cnodes" : tpl+"s/"+key+"/"+"casSrvMetaDataExportedVars",
"default" : [
{
"data" : "cn",
"id" : tpl+"s/"+key+"/"+"casSrvMetaDataExportedVars/cn",
"title" : "cn",
"type" : "keyText"
},
{
"data" : "mail",
"id" : tpl+"s/"+key+"/"+"casSrvMetaDataExportedVars/mail",
"title" : "mail",
"type" : "keyText"
},
{
"data" : "uid",
"id" : tpl+"s/"+key+"/"+"casSrvMetaDataExportedVars/uid",
"title" : "uid",
"type" : "keyText"
}
],
"id" : tpl+"s/"+key+"/"+"casSrvMetaDataExportedVars",
"title" : "casSrvMetaDataExportedVars",
"type" : "keyTextContainer"
},
{
"cnodes" : tpl+"s/"+key+"/"+"casSrvMetaDataOptionsProxiedServices",
"id" : tpl+"s/"+key+"/"+"casSrvMetaDataOptionsProxiedServices",
"title" : "casSrvMetaDataOptionsProxiedServices",
"type" : "keyTextContainer"
},
{
"_nodes" : [
{
......@@ -77,16 +109,6 @@ function templates(tpl,key) {
"id" : tpl+"s/"+key+"/"+"casSrvMetaDataOptionsGateway",
"title" : "casSrvMetaDataOptionsGateway",
"type" : "bool"
},
{
"get" : tpl+"s/"+key+"/"+"casSrvMetaDataOptionsDisplayName",
"id" : tpl+"s/"+key+"/"+"casSrvMetaDataOptionsDisplayName",
"title" : "casSrvMetaDataOptionsDisplayName"
},
{
"get" : tpl+"s/"+key+"/"+"casSrvMetaDataOptionsIcon",
"id" : tpl+"s/"+key+"/"+"casSrvMetaDataOptionsIcon",
"title" : "casSrvMetaDataOptionsIcon"
}
],
"id" : "casSrvMetaDataOptions",
......@@ -94,36 +116,21 @@ function templates(tpl,key) {
"type" : "simpleInputContainer"
},
{
"cnodes" : tpl+"s/"+key+"/"+"casSrvMetaDataExportedVars",
"default" : [
{
"data" : "cn",
"id" : tpl+"s/"+key+"/"+"casSrvMetaDataExportedVars/cn",
"title" : "cn",
"type" : "keyText"
},
"_nodes" : [
{
"data" : "mail",
"id" : tpl+"s/"+key+"/"+"casSrvMetaDataExportedVars/mail",
"title" : "mail",
"type" : "keyText"
"get" : tpl+"s/"+key+"/"+"casSrvMetaDataOptionsDisplayName",
"id" : tpl+"s/"+key+"/"+"casSrvMetaDataOptionsDisplayName",
"title" : "casSrvMetaDataOptionsDisplayName"
},
{
"data" : "uid",
"id" : tpl+"s/"+key+"/"+"casSrvMetaDataExportedVars/uid",
"title" : "uid",
"type" : "keyText"
"get" : tpl+"s/"+key+"/"+"casSrvMetaDataOptionsIcon",
"id" : tpl+"s/"+key+"/"+"casSrvMetaDataOptionsIcon",
"title" : "casSrvMetaDataOptionsIcon"
}
],
"id" : tpl+"s/"+key+"/"+"casSrvMetaDataExportedVars",
"title" : "casSrvMetaDataExportedVars",
"type" : "keyTextContainer"
},
{
"cnodes" : tpl+"s/"+key+"/"+"casSrvMetaDataOptionsProxiedServices",
"id" : tpl+"s/"+key+"/"+"casSrvMetaDataOptionsProxiedServices",
"title" : "casSrvMetaDataOptionsProxiedServices",
"type" : "keyTextContainer"
"id" : "casSrvMetaDataOptionsDisplay",
"title" : "casSrvMetaDataOptionsDisplay",
"type" : "simpleInputContainer"
}
]
;
......@@ -392,23 +399,6 @@ function templates(tpl,key) {
"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",
......@@ -527,6 +517,23 @@ function templates(tpl,key) {
],
"id" : "oidcRPMetaDataOptions",
"title" : "oidcRPMetaDataOptions"
},
{
"_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"
}
]
;
......
......@@ -124,6 +124,7 @@
"casSrv":"خادم كاس",
"casSrvMetaDataExportedVars":"السمات المصدرة",
"casSrvMetaDataOptions":"الخيارات",
"casSrvMetaDataOptionsDisplay":"عرض",
"casSrvMetaDataOptionsDisplayName":"الاسم المطلوب عرضه",
"casSrvMetaDataOptionsGateway":"بوابة إثبات الهوية",
"casSrvMetaDataOptionsIcon":"مسارالأيقونة",
......
......@@ -124,6 +124,7 @@
"casSrv":"CAS Server",
"casSrvMetaDataExportedVars":"Exported attributes",
"casSrvMetaDataOptions":"Optionen",
"casSrvMetaDataOptionsDisplay":"Display",
"casSrvMetaDataOptionsDisplayName":"Angezeigter Name",
"casSrvMetaDataOptionsGateway":"Gateway authentication",
"casSrvMetaDataOptionsIcon":"Icon path",
......
......@@ -124,6 +124,7 @@
"casSrv":"CAS Server",
"casSrvMetaDataExportedVars":"Exported attributes",
"casSrvMetaDataOptions":"Options",
"casSrvMetaDataOptionsDisplay":"Display",
"casSrvMetaDataOptionsDisplayName":"Name to display",
"casSrvMetaDataOptionsGateway":"Gateway authentication",
"casSrvMetaDataOptionsIcon":"Icon path",
......
......@@ -124,6 +124,7 @@
"casSrv":"Serveur CAS",
"casSrvMetaDataExportedVars":"Attributs exportés",
"casSrvMetaDataOptions":"Options",
"casSrvMetaDataOptionsDisplay":"Affichage",
"casSrvMetaDataOptionsDisplayName":"Nom à afficher",
"casSrvMetaDataOptionsGateway":"Authentification transparente",
"casSrvMetaDataOptionsIcon":"Chemin de l'icône",
......
......@@ -124,6 +124,7 @@
"casSrv":"Server CAS ",
"casSrvMetaDataExportedVars":"Attributi esportati",
"casSrvMetaDataOptions":"Opzioni",
"casSrvMetaDataOptionsDisplay":"Display",
"casSrvMetaDataOptionsDisplayName":"Nome da visualizzare",
"casSrvMetaDataOptionsGateway":"Autenticazione gateway",
"casSrvMetaDataOptionsIcon":"Path icona",
......
......@@ -124,6 +124,7 @@
"casSrv":"CAS Server",
"casSrvMetaDataExportedVars":"Thuộc tính xuất",
"casSrvMetaDataOptions":"Tùy chọn",
"casSrvMetaDataOptionsDisplay":"Hiển thị",
"casSrvMetaDataOptionsDisplayName":"Tên để hiển thị",
"casSrvMetaDataOptionsGateway":"Xác thực Gateway",
"casSrvMetaDataOptionsIcon":"Đường dẫn Icon",
......
......@@ -124,6 +124,7 @@
"casSrv":"CAS 服务器",
"casSrvMetaDataExportedVars":"声明的attributes",
"casSrvMetaDataOptions":"选项",
"casSrvMetaDataOptionsDisplay":"Display",
"casSrvMetaDataOptionsDisplayName":"显示名称",
"casSrvMetaDataOptionsGateway":"网关认证",
"casSrvMetaDataOptionsIcon":"图标路径",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment