Tree.pm 56.8 KB
Newer Older
1 2 3 4 5 6 7 8 9
# This file describes the manager tree.
# You can only use the following keys:
#  * title: the name of the node
#  * nodes: the subnodes of the node
#  * group: grouped subnodes (see RSAKey form for example)
#  * form: only for nodes, the form to display when selected
#
# Conf parameters are just strings in the `nodes` array
#
Xavier Guimard's avatar
Xavier Guimard committed
10 11 12 13
# Important point: fields preceded by '*' are downloaded during manager
# initialization and available directly in $scope array. Example: '*portal'
# implies that portal value is available in $scope.portal
#
14
# All other ideas have to be set in Manager/Build/Attributes.pm !
15

Xavier Guimard's avatar
Xavier Guimard committed
16
# DON'T FORGET TO RUN "make json" AFTER EACH CHANGE
17

18
package Lemonldap::NG::Manager::Build::Tree;
19

Xavier Guimard's avatar
Xavier Guimard committed
20
our $VERSION = '2.1.0';
21

Xavier Guimard's avatar
Xavier Guimard committed
22
# TODO: Missing:
23 24 25 26
#  * activeTimer
#  * confirmFormMethod
#  * redirectFormMethod
sub tree {
Xavier Guimard's avatar
Xavier Guimard committed
27
    return [ {
28
            title => 'generalParameters',
Xavier Guimard's avatar
Xavier Guimard committed
29
            nodes => [ {
30
                    title => 'portalParams',
31 32
                    help  => 'portal.html',
                    nodes => [
33
                        '*portal',
34 35
                        {
                            title => 'portalMenu',
36
                            help  => 'portalmenu.html',
Xavier Guimard's avatar
Xavier Guimard committed
37
                            nodes => [ {
38
                                    title => 'portalModules',
39 40 41 42 43
                                    form  => 'simpleInputContainer',
                                    nodes => [
                                        'portalDisplayLogout',
                                        'portalDisplayChangePassword',
                                        'portalDisplayAppslist',
44 45
                                        'portalDisplayLoginHistory',
                                        'portalDisplayOidcConsents',
46 47 48 49 50 51 52 53 54
                                        {
                                            title => 'favApps',
                                            help  => 'favapps.html',
                                            form  => 'simpleInputContainer',
                                            nodes => [
                                                'portalDisplayFavApps',
                                                'favAppsMaxNumber',
                                            ]
                                        },
55 56 57 58 59
                                    ]
                                },
                                'applicationList'
                            ]
                        },
60 61
                        {
                            title => 'portalCustomization',
62 63
                            help  => 'portalcustom.html',
                            nodes => [
Christophe Maudoux's avatar
Christophe Maudoux committed
64
                                'portalMainLogo',
65
                                'showLanguages',
66
                                'portalSkin',
67
                                'portalSkinBackground',
68
                                'portalSkinRules',
69 70
                                {
                                    title => 'portalButtons',
71
                                    help  => 'portalcustom.html#buttons',
72 73 74 75
                                    form  => 'simpleInputContainer',
                                    nodes => [
                                        'portalCheckLogins',
                                        'portalDisplayResetPassword',
76
                                        'passwordResetAllowedRetries',
77 78
                                        'portalDisplayRegister',
                                        'portalDisplayCertificateResetByMail',  
79 80
                                    ]
                                },
81 82
                                {
                                    title => 'passwordManagement',
83
                                    help =>
84
                                      'portalcustom.html#password_management',
85 86 87 88
                                    form  => 'simpleInputContainer',
                                    nodes => [
                                        'portalRequireOldPassword',
                                        'hideOldPassword',
89 90 91 92 93
                                        'mailOnPasswordChange',
                                        'passwordPolicyMinSize',
                                        'passwordPolicyMinLower',
                                        'passwordPolicyMinUpper',
                                        'passwordPolicyMinDigit',
94
                                        'portalDisplayPasswordPolicy',
95 96
                                    ]
                                },
97 98
                                {
                                    title => 'portalOther',
99
                                    help =>
100
                                      'portalcustom.html#other_parameters',
101 102 103 104 105
                                    form  => 'simpleInputContainer',
                                    nodes => [
                                        'portalUserAttr',
                                        'portalOpenLinkInNewWindow',
                                        'portalAntiFrame',
106
                                        'portalPingInterval',
107 108
                                        'portalErrorOnExpiredSession',
                                        'portalErrorOnMailNotFound'
109 110 111 112
                                    ]
                                }
                            ]
                        },
113 114
                        {
                            title => 'portalCaptcha',
115
                            help  => 'captcha.html',
Christophe Maudoux's avatar
Christophe Maudoux committed
116
                            form  => 'simpleInputContainer',
117 118 119 120 121 122 123 124 125
                            nodes => [
                                'captcha_login_enabled',
                                'captcha_mail_enabled',
                                'captcha_register_enabled',
                                'captcha_size',
                            ]
                        }
                    ]
                },
126 127
                {
                    title => 'authParams',
128
                    help =>
129
                      'start.html#authentication_users_and_password_databases',
130
                    form  => 'authParams',
131
                    nodes => [
132
                        'authentication', 'userDB', 'passwordDB', 'registerDB'
133
                    ],
Xavier Guimard's avatar
Xavier Guimard committed
134
                    nodes_cond => [ {
135
                            title => 'adParams',
136
                            help  => 'authad.html',
137
                            form  => 'simpleInputContainer',
138 139
                            nodes => [ 'ADPwdMaxAge', 'ADPwdExpireWarning' ]
                        },
140 141
                        {
                            title => 'choiceParams',
142
                            help  => 'authchoice.html',
Clément OUDOT's avatar
Clément OUDOT committed
143 144 145 146
                            nodes => [
                                'authChoiceParam', 'authChoiceModules',
                                'authChoiceAuthBasic'
                            ]
147
                        },
148 149
                        {
                            title => 'apacheParams',
150 151 152 153
                            help  => 'authapache.html',
                            form  => 'simpleInputContainer',
                            nodes => ['apacheAuthnLevel']
                        },
154 155
                        {
                            title => 'casParams',
156
                            help  => 'authcas.html',
157
                            form  => 'simpleInputContainer',
158
                            nodes => ['casAuthnLevel']
159
                        },
160 161
                        {
                            title => 'dbiParams',
162 163 164 165
                            help  => 'authdbi.html',
                            nodes => [
                                'dbiAuthnLevel',
                                'dbiExportedVars',
166 167
                                {
                                    title => 'dbiConnection',
168
                                    help  => 'authdbi.html#connection',
Xavier Guimard's avatar
Xavier Guimard committed
169
                                    nodes => [ {
170
                                            title => 'dbiConnectionAuth',
Xavier Guimard's avatar
Xavier Guimard committed
171 172 173 174 175 176 177
                                            form  => 'simpleInputContainer',
                                            nodes => [
                                                'dbiAuthChain',
                                                'dbiAuthUser',
                                                'dbiAuthPassword'
                                            ]
                                        },
178 179
                                        {
                                            title => 'dbiConnectionUser',
Xavier Guimard's avatar
Xavier Guimard committed
180 181 182 183 184 185 186
                                            form  => 'simpleInputContainer',
                                            nodes => [
                                                'dbiUserChain',
                                                'dbiUserUser',
                                                'dbiUserPassword'
                                            ]
                                        }
187 188
                                    ]
                                },
189 190
                                {
                                    title => 'dbiSchema',
191 192 193 194 195 196 197 198 199 200 201
                                    help  => 'authdbi.html#schema',
                                    form  => 'simpleInputContainer',
                                    nodes => [
                                        'dbiAuthTable',
                                        'dbiUserTable',
                                        'dbiAuthLoginCol',
                                        'dbiAuthPasswordCol',
                                        'dbiPasswordMailCol',
                                        'userPivot'
                                    ]
                                },
202 203
                                {
                                    title => 'dbiPassword',
204
                                    help  => 'authdbi.html#password',
dcoutadeur dcoutadeur's avatar
dcoutadeur dcoutadeur committed
205 206
                                    nodes => [
                                        'dbiAuthPasswordHash',
207 208
                                        {
                                            title => 'dbiDynamicHash',
dcoutadeur dcoutadeur's avatar
dcoutadeur dcoutadeur committed
209 210 211 212 213
                                            help  => 'authdbi.html#password',
                                            form  => 'simpleInputContainer',
                                            nodes => [
                                                'dbiDynamicHashEnabled',
                                                'dbiDynamicHashValidSchemes',
214 215
'dbiDynamicHashValidSaltedSchemes',
'dbiDynamicHashNewPasswordScheme'
dcoutadeur dcoutadeur's avatar
dcoutadeur dcoutadeur committed
216 217 218
                                            ]
                                        }
                                    ]
219 220 221
                                }
                            ]
                        },
222 223
                        {
                            title => 'demoParams',
224 225 226
                            help  => 'authdemo.html',
                            nodes => ['demoExportedVars']
                        },
227 228
                        {
                            title => 'facebookParams',
229 230
                            help  => 'authfacebook.html',
                            nodes => [
231 232
                                'facebookAuthnLevel', 'facebookExportedVars',
                                'facebookAppId',      'facebookAppSecret',
233
                                'facebookUserField'
234 235
                            ]
                        },
236 237
                        {
                            title => 'kerberosParams',
238
                            form  => 'simpleInputContainer',
Xavier Guimard's avatar
Xavier Guimard committed
239
                            help  => 'authkerberos.html',
Xavier Guimard's avatar
Xavier Guimard committed
240
                            nodes => [
Christophe Maudoux's avatar
Christophe Maudoux committed
241 242
                                'krbAuthnLevel', 'krbKeytab',
                                'krbByJs',       'krbRemoveDomain'
Xavier Guimard's avatar
Xavier Guimard committed
243
                            ]
244
                        },
245 246
                        {
                            title => 'ldapParams',
247 248 249 250
                            help  => 'authldap.html',
                            nodes => [
                                'ldapAuthnLevel',
                                'ldapExportedVars',
251 252
                                {
                                    title => 'ldapConnection',
253 254 255 256 257 258 259 260 261
                                    help  => 'authldap.html#connection',
                                    form  => 'simpleInputContainer',
                                    nodes => [
                                        'ldapServer',      'ldapPort',
                                        'ldapBase',        'managerDn',
                                        'managerPassword', 'ldapTimeout',
                                        'ldapVersion',     'ldapRaw'
                                    ]
                                },
262 263
                                {
                                    title => 'ldapFilters',
264 265 266
                                    help  => 'authldap.html#filters',
                                    form  => 'simpleInputContainer',
                                    nodes => [
267 268
                                        'LDAPFilter',     'AuthLDAPFilter',
                                        'mailLDAPFilter', 'ldapSearchDeref',
269 270
                                    ]
                                },
271 272
                                {
                                    title => 'ldapGroups',
273 274 275 276 277 278 279 280
                                    help  => 'authldap.html#groups',
                                    form  => 'simpleInputContainer',
                                    nodes => [
                                        'ldapGroupBase',
                                        'ldapGroupObjectClass',
                                        'ldapGroupAttributeName',
                                        'ldapGroupAttributeNameUser',
                                        'ldapGroupAttributeNameSearch',
281
                                        'ldapGroupDecodeSearchedValue',
282 283 284 285
                                        'ldapGroupRecursive',
                                        'ldapGroupAttributeNameGroup'
                                    ]
                                },
286 287
                                {
                                    title => 'ldapPassword',
288 289 290 291 292 293 294 295 296
                                    help  => 'authldap.html#password',
                                    form  => 'simpleInputContainer',
                                    nodes => [
                                        'ldapPpolicyControl',
                                        'ldapSetPassword',
                                        'ldapChangePasswordAsUser',
                                        'ldapPwdEnc',
                                        'ldapUsePasswordResetAttribute',
                                        'ldapPasswordResetAttribute',
297
                                        'ldapPasswordResetAttributeValue',
298 299
                                        'ldapAllowResetExpiredPassword',
                                        'ldapITDS'
300
                                    ]
301
                                },
302 303
                            ]
                        },
304 305
                        {
                            title => 'linkedinParams',
306
                            help  => 'authlinkedin.html',
307
                            form  => 'simpleInputContainer',
308 309
                            nodes => [
                                'linkedInAuthnLevel',   'linkedInClientID',
310 311
                                'linkedInClientSecret', 'linkedInUserField',
                                'linkedInScope'
312 313
                            ]
                        },
314 315
                        {
                            title => 'combinationParams',
316
                            help  => 'authcombination.html',
317 318 319 320
                            nodes => [
                                'combination', 'combModules',
                                'combinationForms'
                            ]
321
                        },
322 323
                        {
                            title => 'nullParams',
324 325 326 327
                            help  => 'authnull.html',
                            form  => 'simpleInputContainer',
                            nodes => ['nullAuthnLevel']
                        },
328 329
                        {
                            title => 'openidParams',
330 331 332 333 334 335
                            help  => 'authopenid.html',
                            nodes => [
                                'openIdAuthnLevel', 'openIdExportedVars',
                                'openIdSecret',     'openIdIDPList'
                            ]
                        },
336 337
                        {
                            title => 'oidcParams',
338
                            help  => 'authopenidconnect.html',
339
                            form  => 'simpleInputContainer',
340 341 342 343 344 345
                            nodes => [
                                'oidcAuthnLevel',
                                'oidcRPCallbackGetParam',
                                'oidcRPStateTimeout'
                            ]
                        },
346 347 348 349
                        {
                            title => 'gpgParams',
                            help  => 'authgpg.html',
                            form  => 'simpleInputContainer',
Christophe Maudoux's avatar
Christophe Maudoux committed
350
                            nodes => [ 'gpgAuthnLevel', 'gpgDb' ],
351 352 353
                        },
                        {
                            title => 'proxyParams',
354 355 356
                            help  => 'authproxy.html',
                            form  => 'simpleInputContainer',
                            nodes => [
Christophe Maudoux's avatar
Christophe Maudoux committed
357 358
                                'proxyAuthnLevel',     'proxyAuthService',
                                'proxySessionService', 'remoteCookieName',
Xavier Guimard's avatar
Xavier Guimard committed
359
                                'proxyUseSoap'
360 361
                            ]
                        },
362 363
                        {
                            title => 'pamParams',
364 365
                            help  => 'authpam.html',
                            form  => 'simpleInputContainer',
Christophe Maudoux's avatar
Christophe Maudoux committed
366
                            nodes => [ 'pamAuthnLevel', 'pamService' ]
367
                        },
368 369
                        {
                            title => 'radiusParams',
370 371 372 373 374 375 376
                            help  => 'authradius.html',
                            form  => 'simpleInputContainer',
                            nodes => [
                                'radiusAuthnLevel', 'radiusSecret',
                                'radiusServer'
                            ]
                        },
377 378
                        {
                            title => 'restParams',
379 380 381
                            help  => 'authrest.html',
                            form  => 'simpleInputContainer',
                            nodes => [
Christophe Maudoux's avatar
Christophe Maudoux committed
382 383 384
                                'restAuthnLevel', 'restAuthUrl',
                                'restUserDBUrl',  'restPwdConfirmUrl',
                                'restPwdModifyUrl'
385 386
                            ]
                        },
387 388
                        {
                            title => 'remoteParams',
389 390 391 392 393 394 395 396
                            help  => 'authremote.html',
                            nodes => [
                                'remotePortal',
                                'remoteCookieName',
                                'remoteGlobalStorage',
                                'remoteGlobalStorageOptions'
                            ]
                        },
397 398
                        {
                            title => 'slaveParams',
399 400
                            help  => 'authslave.html',
                            nodes => [
401 402
                                'slaveAuthnLevel',    'slaveUserHeader',
                                'slaveMasterIP',      'slaveHeaderName',
403 404
                                'slaveHeaderContent', 'slaveDisplayLogo',
                                'slaveExportedVars',
405 406
                            ]
                        },
407 408
                        {
                            title => 'sslParams',
409
                            help  => 'authssl.html',
410 411 412 413 414
                            nodes => [
                                'SSLAuthnLevel', 'SSLVar',
                                'SSLVarIf',      'sslByAjax',
                                'sslHost',
                            ]
415
                        },
416 417
                        {
                            title => 'twitterParams',
418 419 420 421
                            help  => 'authtwitter.html',
                            form  => 'simpleInputContainer',
                            nodes => [
                                'twitterAuthnLevel', 'twitterKey',
422 423
                                'twitterSecret',     'twitterAppName',
                                'twitterUserField'
424 425
                            ]
                        },
426 427
                        {
                            title => 'webidParams',
428 429 430 431 432 433
                            help  => 'authwebid.html',
                            nodes => [
                                'webIDAuthnLevel', 'webIDExportedVars',
                                'webIDWhitelist'
                            ]
                        },
434 435
                        {
                            title => 'customParams',
436 437 438 439
                            help  => 'authcustom.html',
                            nodes => [
                                'customAuth',     'customUserDB',
                                'customPassword', 'customRegister',
440
                                'customAddParams',
441 442
                            ]
                        },
443 444 445
                    ],
                    'nodes_filter' => 'authParams'
                },
446 447
                {
                    title => 'issuerParams',
448
                    help  => 'start.html#identity_provider',
Xavier Guimard's avatar
Xavier Guimard committed
449
                    nodes => [ {
450
                            title => 'issuerDBSAML',
451 452 453
                            help  => 'idpsaml.html',
                            form  => 'simpleInputContainer',
                            nodes => [
454
                                'issuerDBSAMLActivation', 'issuerDBSAMLPath',
455 456 457
                                'issuerDBSAMLRule'
                            ]
                        },
458 459
                        {
                            title => 'issuerDBCAS',
Maxime Besson's avatar
Maxime Besson committed
460
                            help  => 'idpcas.html#enabling_cas',
Christophe Maudoux's avatar
Christophe Maudoux committed
461
                            form  => 'simpleInputContainer',
462
                            nodes => [
463
                                'issuerDBCASActivation', 'issuerDBCASPath',
464 465 466
                                'issuerDBCASRule',
                            ]
                        },
467 468
                        {
                            title => 'issuerDBOpenID',
469 470 471 472 473
                            help  => 'idpopenid.html',
                            nodes => [
                                'issuerDBOpenIDActivation',
                                'issuerDBOpenIDPath',
                                'issuerDBOpenIDRule',
474 475
                                {
                                    title => 'issuerDBOpenIDOptions',
476 477 478 479
                                    nodes => [
                                        'openIdIssuerSecret',
                                        'openIdAttr',
                                        'openIdSPList',
480 481
                                        {
                                            title => 'openIdSreg',
482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498
                                            form  => 'simpleInputContainer',
                                            nodes => [
                                                'openIdSreg_fullname',
                                                'openIdSreg_nickname',
                                                'openIdSreg_language',
                                                'openIdSreg_postcode',
                                                'openIdSreg_timezone',
                                                'openIdSreg_country',
                                                'openIdSreg_gender',
                                                'openIdSreg_email',
                                                'openIdSreg_dob'
                                            ]
                                        }
                                    ]
                                }
                            ]
                        },
499 500
                        {
                            title => 'issuerDBOpenIDConnect',
501
                            help  => 'idpopenidconnect.html',
Christophe Maudoux's avatar
Christophe Maudoux committed
502
                            form  => 'simpleInputContainer',
503 504 505 506 507
                            nodes => [
                                'issuerDBOpenIDConnectActivation',
                                'issuerDBOpenIDConnectPath',
                                'issuerDBOpenIDConnectRule',
                            ]
508
                        },
509 510
                        {
                            title => 'issuerDBGet',
Xavier Guimard's avatar
Xavier Guimard committed
511
                            help  => 'issuerdbget.html',
512 513 514 515 516 517 518
                            nodes => [
                                'issuerDBGetActivation',
                                'issuerDBGetPath',
                                'issuerDBGetRule',
                                'issuerDBGetParameters'
                            ]
                        },
519 520 521 522 523 524
                        {
                            title => 'issuerOptions',
                            help  => 'start.html#options',
                            form  => 'simpleInputContainer',
                            nodes => ['issuersTimeout']
                        },
525 526
                    ]
                },
527 528
                {
                    title => 'logParams',
529 530
                    help  => 'logs.html',
                    form  => 'simpleInputContainer',
531 532
                    nodes =>
                      [ 'whatToTrace', 'customToTrace', 'hiddenAttributes' ]
533
                },
534 535
                {
                    title => 'cookieParams',
536 537 538
                    help  => 'ssocookie.html',
                    form  => 'simpleInputContainer',
                    nodes => [
539
                        'cookieName', '*domain',
540 541 542 543
                        'cda',        'securedCookie',
                        'httpOnly',   'cookieExpiration'
                    ]
                },
544 545
                {
                    title => 'sessionParams',
546 547 548 549 550
                    help  => 'sessions.html',
                    nodes => [
                        'storePassword',
                        'timeout',
                        'timeoutActivity',
551
                        'timeoutActivityInterval',
552
                        'grantSessionRules',
553 554
                        {
                            title => 'sessionStorage',
555 556 557 558 559 560 561 562
                            help  => 'start.html#sessions_database',
                            nodes => [
                                'globalStorage',
                                'globalStorageOptions',
                                'localSessionStorage',
                                'localSessionStorageOptions'
                            ]
                        },
563 564
                        {
                            title => 'multipleSessions',
565 566 567 568 569 570 571
                            form  => 'simpleInputContainer',
                            nodes => [
                                'singleSession',  'singleIP',
                                'singleUserByIP', 'singleSessionUserByIP',
                                'notifyDeleted',  'notifyOther'
                            ]
                        },
572 573
                        {
                            title => 'persistentSessions',
574
                            nodes => [
Christophe Maudoux's avatar
Christophe Maudoux committed
575
                                'disablePersistentStorage',
576 577
                                'persistentStorage',
                                'persistentStorageOptions'
578
                            ]
579
                        },
580 581
                    ]
                },
582 583
                {
                    title => 'reloadParams',
584
                    help  => 'configlocation.html#configuration_reload',
585 586
                    nodes =>
                      [ 'reloadUrls', 'reloadTimeout', 'dontCompactConf' ]
587
                },
588 589
                {
                    title => 'plugins',
590
                    help  => 'start.html#plugins',
591
                    nodes => [
Xavier Guimard's avatar
Xavier Guimard committed
592
                        'stayConnected',
593
                        'portalStatus',
594
                        'upgradeSession',
595 596
                        {
                            title => 'portalServers',
597
                            help  => 'portalservers.html',
Christophe Maudoux's avatar
Christophe Maudoux committed
598
                            form  => 'simpleInputContainer',
599
                            nodes => [
600
                                'wsdlServer',           'restSessionServer',
601 602 603
                                'restExportSecretKeys', 'restClockTolerance',
                                'restConfigServer',     'soapSessionServer',
                                'soapConfigServer',     'exportedAttr',
604
                            ]
605
                        },
606 607
                        {
                            title => 'loginHistory',
608 609 610 611 612 613 614 615
                            help  => 'loginhistory.html',
                            nodes => [
                                'loginHistoryEnabled',
                                'successLoginNumber',
                                'failedLoginNumber',
                                'sessionDataToRemember'
                            ]
                        },
616 617
                        {
                            title => 'notifications',
618 619 620
                            help  => 'notifications.html',
                            nodes => [
                                'notification',
621
                                'oldNotifFormat',
622 623 624
                                'notificationStorage',
                                'notificationStorageOptions',
                                'notificationWildcard',
625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643
                                'notificationXSLTfile',
                                {
                                    title => 'serverNotification',
                                    help  => 'notifications.html#server',
                                    nodes => [
                                        'notificationServer',
                                        'notificationServerSentAttributes',
                                        {
                                            title =>
                                              'notificationServerMethods',
                                            form  => 'simpleInputContainer',
                                            nodes => [
                                                'notificationServerPOST',
                                                'notificationServerGET',
                                                'notificationServerDELETE',
                                            ]
                                        },
                                    ]
                                },
644 645
                            ]
                        },
646 647
                        {
                            title => 'passwordManagement',
648
                            help  => 'resetpassword.html',
Xavier Guimard's avatar
Xavier Guimard committed
649
                            nodes => [ {
650
                                    title => 'mailContent',
651 652
                                    form  => 'simpleInputContainer',
                                    nodes => [
653 654 655 656
                                        'mailSubject',
                                        'mailBody',
                                        'mailConfirmSubject',
                                        'mailConfirmBody'
657 658
                                    ]
                                },
659 660
                                {
                                    title => 'mailOther',
661 662
                                    form  => 'simpleInputContainer',
                                    nodes => [
663 664 665
                                        'mailUrl',
                                        'mailTimeout',
                                        'portalDisplayGeneratePassword',
666
                                        'randomPasswordRegexp',
667 668 669
                                    ]
                                }
                            ]
670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697
                        },
                         {
                           title => 'certificateResetByMailManagement',
                            form  => 'simpleInputContainer',
                            nodes => [ {
                                    title => 'certifcateMailContent',
                                    form  => 'simpleInputContainer',
                                    nodes => [ 
                                        'certificateResetByMailSender',
                                        'certificateResetByMailReplyTo',
                                        'certificateResetByMailStep1Subject',
                                        'certificateResetByMailStep1Body',
                                        'certificateResetByMailStep2Subject',
                                        'certificateResetByMailStep2Body'
                                     ]
                                 },
 
                                 {
                                     title => 'mailOther',
                                     form  => 'simpleInputContainer',
                                     nodes => [
                                         'certificateResetByMailURL',
                                         'certificateResetByMailCeaAttribute',
                                         'certificateResetByMailCertificateAttribute',
                                         'certificateResetByMailValidityDelay'
                                   ]
                                } 
                            ]
698
                        },
699 700
                        {
                            title => 'register',
701 702 703
                            help  => 'register.html',
                            form  => 'simpleInputContainer',
                            nodes => [
704
                                'registerUrl',
705 706 707 708 709
                                'registerTimeout',
                                'registerConfirmSubject',
                                'registerDoneSubject'
                            ]
                        },
710 711
                        {
                            title => 'autoSignin',
712
                            help  => 'autosignin.html',
713
                            nodes => ['autoSigninRules'],
Xavier Guimard's avatar
Xavier Guimard committed
714
                        },
715 716
                        {
                            title => 'stateCheck',
717
                            help  => 'checkstate.html',
Xavier Guimard's avatar
Xavier Guimard committed
718
                            form  => 'simpleInputContainer',
719
                            nodes => [ 'checkState', 'checkStateSecret', ],
720
                        },
721 722 723 724 725 726
                        {
                            title => 'checkUsers',
                            help  => 'checkuser.html',
                            form  => 'simpleInputContainer',
                            nodes => [
                                'checkUser',
727
                                'checkUserIdRule',
728
                                'checkUserHiddenAttributes',
729
                                'checkUserSearchAttributes',
730 731 732 733
                                'checkUserDisplayPersistentInfo',
                                'checkUserDisplayEmptyValues',
                            ]
                        },
734
                        {
735 736
                            title => 'impersonation',
                            help  => 'impersonation.html',
737
                            form  => 'simpleInputContainer',
Xavier Guimard's avatar
Xavier Guimard committed
738
                            nodes => [
739
                                'impersonationRule',
740
                                'impersonationIdRule',
741 742 743
                                'impersonationHiddenAttributes',
                                'impersonationSkipEmptyValues',
                                'impersonationMergeSSOgroups',
744 745
                            ]
                        },
746 747 748 749 750 751 752 753 754 755
                        {
                            title => 'contextSwitching',
                            help  => 'contextswitching.html',
                            form  => 'simpleInputContainer',
                            nodes => [
                                'contextSwitchingRule',
                                'contextSwitchingIdRule',
                                'contextSwitchingStopWithLogout',
                            ]
                        },
756 757
                        {
                            title => 'decryptValue',
Christophe Maudoux's avatar
Christophe Maudoux committed
758
                            help  => 'decryptvalue.html',
759 760 761
                            form  => 'simpleInputContainer',
                            nodes => [
                                'decryptValueRule',
762
                                'decryptValueFunctions',
763 764
                            ]
                        },
Xavier Guimard's avatar
Xavier Guimard committed
765 766
                    ]
                },
767 768
                {
                    title => 'secondFactors',
769
                    help  => 'secondfactor.html',
Xavier Guimard's avatar
Xavier Guimard committed
770
                    nodes => [ {
771
                            title => 'utotp2f',
Xavier Guimard's avatar
Xavier Guimard committed
772 773
                            help  => 'utotp2f.html',
                            form  => 'simpleInputContainer',
774 775 776 777
                            nodes => [
                                'utotp2fActivation', 'utotp2fAuthnLevel',
                                'utotp2fLabel',      'utotp2fLogo'
                            ]
Xavier Guimard's avatar
Xavier Guimard committed
778
                        },
779
                        {
780
                            title => 'totp2f',
Xavier Guimard's avatar
Xavier Guimard committed
781
                            help  => 'totp2f.html',
Xavier Guimard's avatar
Xavier Guimard committed
782 783
                            form  => 'simpleInputContainer',
                            nodes => [
784 785 786 787 788
                                'totp2fActivation',
                                'totp2fSelfRegistration',
                                'totp2fIssuer',
                                'totp2fInterval',
                                'totp2fRange',
Xavier Guimard's avatar
Xavier Guimard committed
789
                                'totp2fDigits',
790 791
                                'totp2fDisplayExistingSecret',
                                'totp2fUserCanChangeKey',
792
                                'totp2fUserCanRemoveKey',
Christophe Maudoux's avatar
Christophe Maudoux committed
793
                                'totp2fTTL',
794 795 796
                                'totp2fAuthnLevel',
                                'totp2fLabel',
                                'totp2fLogo',
Xavier Guimard's avatar
Xavier Guimard committed
797 798
                            ]
                        },
799 800
                        {
                            title => 'u2f',
801 802 803
                            help  => 'u2f.html',
                            form  => 'simpleInputContainer',
                            nodes => [
804 805 806 807
                                'u2fActivation',       'u2fSelfRegistration',
                                'u2fUserCanRemoveKey', 'u2fTTL',
                                'u2fAuthnLevel',       'u2fLabel',
                                'u2fLogo',
808 809
                            ]
                        },
810 811
                        {
                            title => 'mail2f',
Maxime Besson's avatar
Maxime Besson committed
812 813 814
                            help  => 'mail2f.html',
                            form  => 'simpleInputContainer',
                            nodes => [
815 816 817
                                'mail2fActivation', 'mail2fCodeRegex',
                                'mail2fTimeout',    'mail2fSubject',
                                'mail2fBody',       'mail2fAuthnLevel',
818
                                'mail2fLabel',      'mail2fLogo',
Maxime Besson's avatar
Maxime Besson committed
819 820
                            ]
                        },
821
                        {
822
                            title => 'ext2f',
Xavier Guimard's avatar
Xavier Guimard committed
823 824 825
                            help  => 'external2f.html',
                            form  => 'simpleInputContainer',
                            nodes => [
Christophe Maudoux's avatar
Christophe Maudoux committed
826 827
                                'ext2fActivation',  'ext2fCodeActivation',
                                'ext2FSendCommand', 'ext2FValidateCommand',
828 829
                                'ext2fAuthnLevel',  'ext2fLabel',
                                'ext2fLogo',
Xavier Guimard's avatar
Xavier Guimard committed
830
                            ]
Xavier Guimard's avatar
Xavier Guimard committed
831
                        },
832 833 834 835 836 837 838 839 840 841 842 843 844
                        {
                            title => 'radius2f',
                            help  => 'radius2f.html',
                            form  => 'simpleInputContainer',
                            nodes => [
                                'radius2fActivation',
                                'radius2fServer',
                                'radius2fSecret',
                                'radius2fUsernameSessionKey',
                                'radius2fTimeout',
                                'radius2fAuthnLevel',
                                'radius2fLogo',
                                'radius2fLabel',
Xavier Guimard's avatar
Xavier Guimard committed
845
                            ]
Xavier Guimard's avatar
Xavier Guimard committed
846
                        },
847 848
                        {
                            title => 'rest2f',
Xavier Guimard's avatar
Xavier Guimard committed
849 850
                            help  => 'rest2f.html',
                            nodes => [
851 852 853
                                'rest2fActivation', 'rest2fInitUrl',
                                'rest2fInitArgs',   'rest2fVerifyUrl',
                                'rest2fVerifyArgs', 'rest2fAuthnLevel',
854
                                'rest2fLabel',      'rest2fLogo',
Xavier Guimard's avatar
Xavier Guimard committed
855
                            ]
Xavier Guimard's avatar
Xavier Guimard committed
856
                        },
857 858
                        {
                            title => 'yubikey2f',
859 860 861 862 863 864 865 866 867 868
                            help  => 'yubikey2f.html',
                            form  => 'simpleInputContainer',
                            nodes => [
                                'yubikey2fActivation',
                                'yubikey2fSelfRegistration',
                                'yubikey2fClientID',
                                'yubikey2fSecretKey',
                                'yubikey2fNonce',
                                'yubikey2fUrl',
                                'yubikey2fPublicIDSize',
869
                                'yubikey2fUserCanRemoveKey',
Christophe Maudoux's avatar
Christophe Maudoux committed
870
                                'yubikey2fTTL',
871 872 873
                                'yubikey2fAuthnLevel',
                                'yubikey2fLabel',
                                'yubikey2fLogo',
874 875
                            ],
                        },
Christophe Maudoux's avatar
Christophe Maudoux committed
876
                        'sfExtra',
Christophe Maudoux's avatar
Christophe Maudoux committed
877 878 879 880 881
                        {
                            title => 'sfRemovedNotification',
                            help  => 'secondfactor.html',
                            form  => 'simpleInputContainer',
                            nodes => [
882 883
                                'sfRemovedMsgRule',  'sfRemovedUseNotif',
                                'sfRemovedNotifRef', 'sfRemovedNotifTitle',
Christophe Maudoux's avatar
Christophe Maudoux committed
884 885 886 887
                                'sfRemovedNotifMsg',
                            ],
                        },
                        'sfRequired',
Xavier Guimard's avatar
Xavier Guimard committed
888 889
                    ]
                },
890 891
                {
                    title => 'advancedParams',
Xavier Guimard's avatar
Xavier Guimard committed
892 893 894
                    help  => 'start.html#advanced_features',
                    nodes => [
                        'customFunctions',
895
                        'multiValuesSeparator',
896 897 898 899 900 901 902 903 904 905 906 907 908 909
                        {
                            title => 'SMTP',
                            help  => 'smtp.html',
                            nodes => [
                                'mailSessionKey',
                                'SMTPServer',
                                'SMTPPort',
                                'SMTPAuthUser',
                                'SMTPAuthPass',
                                'SMTPTLS',
                                'SMTPTLSOpts',
                                {
                                    title => 'mailHeaders',
                                    form  => 'simpleInputContainer',
910
                                    nodes => [
911 912
                                        'mailFrom', 'mailReplyTo',
                                        'mailCharset'
913
                                    ]
914 915
                                },
                            ]
916
                        },
917 918 919
                        {
                            title => 'security',
                            help => 'security.html#configure_security_settings',
920
                            nodes => [
921
                                'userControl',
922
                                'browsersDontStorePassword',
923
                                'portalForceAuthn',
924 925 926 927
                                'portalForceAuthnInterval',
                                'key',
                                'trustedDomains',
                                'useSafeJail',
Xavier Guimard's avatar
Xavier Guimard committed
928
                                'checkXSS',
929
                                'bruteForceProtection',
930 931 932
                                'requireToken',
                                'formTimeout',
                                'tokenUseGlobalStorage',
933
                                'lwpOpts',
934
                                'lwpSslOpts',
935 936
                                {
                                    title => 'contentSecurityPolicy',
937
                                    help  => 'security.html#portal',
938 939 940 941
                                    form  => 'simpleInputContainer',
                                    nodes => [
                                        'cspDefault', 'cspImg',
                                        'cspScript',  'cspStyle',
942 943
                                        'cspFont',    'cspFormAction',
                                        'cspConnect',
944
                                    ]
945
                                },
946 947 948 949 950
                                {
                                    title => 'crossOrigineResourceSharing',
                                    help  => 'security.html#portal',
                                    form  => 'simpleInputContainer',
                                    nodes => [
951 952 953 954 955 956
                                        'corsEnabled',
                                        'corsAllow_Credentials',
                                        'corsAllow_Headers',
                                        'corsAllow_Methods',
                                        'corsAllow_Origin',
                                        'corsExpose_Headers',
957 958 959
                                        'corsMax_Age',
                                    ]
                                },
960 961
                            ]
                        },
962 963
                        {
                            title => 'redirection',
964 965 966 967 968 969 970
                            help  => 'redirections.html',
                            form  => 'simpleInputContainer',
                            nodes => [
                                'https',
                                'port',
                                'useRedirectOnForbidden',
                                'useRedirectOnError',