Tree.pm 58.5 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
#
Yadd's avatar
Yadd 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

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

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

20
our $VERSION = '2.0.8';
21

Yadd's avatar
Yadd committed
22
# TODO: Missing:
23 24 25 26
#  * activeTimer
#  * confirmFormMethod
#  * redirectFormMethod
sub tree {
Yadd's avatar
Yadd committed
27
    return [ {
Yadd's avatar
Yadd committed
28
            title => 'generalParameters',
Yadd's avatar
Yadd committed
29
            nodes => [ {
Yadd's avatar
Yadd committed
30
                    title => 'portalParams',
31 32
                    help  => 'portal.html',
                    nodes => [
Yadd's avatar
Yadd committed
33
                        '*portal',
Yadd's avatar
Yadd committed
34 35
                        {
                            title => 'portalMenu',
36
                            help  => 'portalmenu.html',
Yadd's avatar
Yadd committed
37
                            nodes => [ {
Yadd's avatar
Yadd committed
38
                                    title => 'portalModules',
39 40 41 42 43
                                    form  => 'simpleInputContainer',
                                    nodes => [
                                        'portalDisplayLogout',
                                        'portalDisplayChangePassword',
                                        'portalDisplayAppslist',
Yadd's avatar
Yadd committed
44 45
                                        'portalDisplayLoginHistory',
                                        'portalDisplayOidcConsents',
46 47 48 49 50
                                    ]
                                },
                                'applicationList'
                            ]
                        },
Yadd's avatar
Yadd committed
51 52
                        {
                            title => 'portalCustomization',
53 54
                            help  => 'portalcustom.html',
                            nodes => [
Christophe Maudoux's avatar
Christophe Maudoux committed
55
                                'portalMainLogo',
56
                                'showLanguages',
57
                                'portalCustomCss',
58
                                'portalSkin',
59
                                'portalSkinBackground',
60
                                'portalSkinRules',
Yadd's avatar
Yadd committed
61 62
                                {
                                    title => 'portalButtons',
63
                                    help  => 'portalcustom.html#buttons',
64 65 66 67
                                    form  => 'simpleInputContainer',
                                    nodes => [
                                        'portalCheckLogins',
                                        'portalDisplayResetPassword',
68
                                        'passwordResetAllowedRetries',
69 70
                                        'portalDisplayRegister',
                                        'portalDisplayCertificateResetByMail'
71 72
                                    ]
                                },
Yadd's avatar
Yadd committed
73 74
                                {
                                    title => 'passwordManagement',
75
                                    help =>
Yadd's avatar
Yadd committed
76
                                      'portalcustom.html#password_management',
77 78 79 80
                                    form  => 'simpleInputContainer',
                                    nodes => [
                                        'portalRequireOldPassword',
                                        'hideOldPassword',
81 82 83 84 85
                                        'mailOnPasswordChange',
                                        'passwordPolicyMinSize',
                                        'passwordPolicyMinLower',
                                        'passwordPolicyMinUpper',
                                        'passwordPolicyMinDigit',
86 87
                                        'passwordPolicyMinSpeChar',
                                        'passwordPolicySpecialChar',
88
                                        'portalDisplayPasswordPolicy',
89 90
                                    ]
                                },
Yadd's avatar
Yadd committed
91 92
                                {
                                    title => 'portalOther',
93
                                    help =>
Yadd's avatar
Yadd committed
94
                                      'portalcustom.html#other_parameters',
95 96 97 98 99
                                    form  => 'simpleInputContainer',
                                    nodes => [
                                        'portalUserAttr',
                                        'portalOpenLinkInNewWindow',
                                        'portalAntiFrame',
100
                                        'portalPingInterval',
101
                                        'portalErrorOnExpiredSession',
102 103
                                        'portalErrorOnMailNotFound',
                                        'portalDisplayRefreshMyRights',
104 105 106 107
                                    ]
                                }
                            ]
                        },
Yadd's avatar
Yadd committed
108 109
                        {
                            title => 'portalCaptcha',
110
                            help  => 'captcha.html',
Christophe Maudoux's avatar
Christophe Maudoux committed
111
                            form  => 'simpleInputContainer',
112 113 114 115 116 117 118 119 120
                            nodes => [
                                'captcha_login_enabled',
                                'captcha_mail_enabled',
                                'captcha_register_enabled',
                                'captcha_size',
                            ]
                        }
                    ]
                },
Yadd's avatar
Yadd committed
121 122
                {
                    title => 'authParams',
123
                    help =>
Yadd's avatar
Yadd committed
124
                      'start.html#authentication_users_and_password_databases',
125
                    form  => 'authParams',
Yadd's avatar
Yadd committed
126
                    nodes => [
Yadd's avatar
Yadd committed
127
                        'authentication', 'userDB', 'passwordDB', 'registerDB'
Yadd's avatar
Yadd committed
128
                    ],
Yadd's avatar
Yadd committed
129
                    nodes_cond => [ {
Yadd's avatar
Yadd committed
130
                            title => 'adParams',
131
                            help  => 'authad.html',
132
                            form  => 'simpleInputContainer',
133 134
                            nodes => [ 'ADPwdMaxAge', 'ADPwdExpireWarning' ]
                        },
Yadd's avatar
Yadd committed
135 136
                        {
                            title => 'choiceParams',
137
                            help  => 'authchoice.html',
Clément OUDOT's avatar
Clément OUDOT committed
138 139 140 141
                            nodes => [
                                'authChoiceParam', 'authChoiceModules',
                                'authChoiceAuthBasic'
                            ]
142
                        },
Yadd's avatar
Yadd committed
143 144
                        {
                            title => 'apacheParams',
145 146 147 148
                            help  => 'authapache.html',
                            form  => 'simpleInputContainer',
                            nodes => ['apacheAuthnLevel']
                        },
Yadd's avatar
Yadd committed
149 150
                        {
                            title => 'casParams',
151
                            help  => 'authcas.html',
152
                            form  => 'simpleInputContainer',
Yadd's avatar
Yadd committed
153
                            nodes => ['casAuthnLevel']
154
                        },
Yadd's avatar
Yadd committed
155 156
                        {
                            title => 'dbiParams',
157 158 159 160
                            help  => 'authdbi.html',
                            nodes => [
                                'dbiAuthnLevel',
                                'dbiExportedVars',
Yadd's avatar
Yadd committed
161 162
                                {
                                    title => 'dbiConnection',
163
                                    help  => 'authdbi.html#connection',
Yadd's avatar
Yadd committed
164
                                    nodes => [ {
Yadd's avatar
Yadd committed
165
                                            title => 'dbiConnectionAuth',
Yadd's avatar
Yadd committed
166 167 168 169 170 171 172
                                            form  => 'simpleInputContainer',
                                            nodes => [
                                                'dbiAuthChain',
                                                'dbiAuthUser',
                                                'dbiAuthPassword'
                                            ]
                                        },
Yadd's avatar
Yadd committed
173 174
                                        {
                                            title => 'dbiConnectionUser',
Yadd's avatar
Yadd committed
175 176 177 178 179 180 181
                                            form  => 'simpleInputContainer',
                                            nodes => [
                                                'dbiUserChain',
                                                'dbiUserUser',
                                                'dbiUserPassword'
                                            ]
                                        }
182 183
                                    ]
                                },
Yadd's avatar
Yadd committed
184 185
                                {
                                    title => 'dbiSchema',
186 187 188 189 190 191 192 193 194 195 196
                                    help  => 'authdbi.html#schema',
                                    form  => 'simpleInputContainer',
                                    nodes => [
                                        'dbiAuthTable',
                                        'dbiUserTable',
                                        'dbiAuthLoginCol',
                                        'dbiAuthPasswordCol',
                                        'dbiPasswordMailCol',
                                        'userPivot'
                                    ]
                                },
Yadd's avatar
Yadd committed
197 198
                                {
                                    title => 'dbiPassword',
199
                                    help  => 'authdbi.html#password',
dcoutadeur dcoutadeur's avatar
dcoutadeur dcoutadeur committed
200 201
                                    nodes => [
                                        'dbiAuthPasswordHash',
Yadd's avatar
Yadd committed
202 203
                                        {
                                            title => 'dbiDynamicHash',
dcoutadeur dcoutadeur's avatar
dcoutadeur dcoutadeur committed
204 205 206 207 208
                                            help  => 'authdbi.html#password',
                                            form  => 'simpleInputContainer',
                                            nodes => [
                                                'dbiDynamicHashEnabled',
                                                'dbiDynamicHashValidSchemes',
Yadd's avatar
Yadd committed
209 210
'dbiDynamicHashValidSaltedSchemes',
'dbiDynamicHashNewPasswordScheme'
dcoutadeur dcoutadeur's avatar
dcoutadeur dcoutadeur committed
211 212 213
                                            ]
                                        }
                                    ]
214 215 216
                                }
                            ]
                        },
Yadd's avatar
Yadd committed
217 218
                        {
                            title => 'demoParams',
219 220 221
                            help  => 'authdemo.html',
                            nodes => ['demoExportedVars']
                        },
Yadd's avatar
Yadd committed
222 223
                        {
                            title => 'facebookParams',
224 225
                            help  => 'authfacebook.html',
                            nodes => [
Yadd's avatar
Yadd committed
226 227
                                'facebookAuthnLevel', 'facebookExportedVars',
                                'facebookAppId',      'facebookAppSecret',
228
                                'facebookUserField'
229 230
                            ]
                        },
Yadd's avatar
Yadd committed
231 232
                        {
                            title => 'kerberosParams',
233
                            form  => 'simpleInputContainer',
Yadd's avatar
Yadd committed
234
                            help  => 'authkerberos.html',
Yadd's avatar
Yadd committed
235
                            nodes => [
Christophe Maudoux's avatar
Christophe Maudoux committed
236 237
                                'krbAuthnLevel', 'krbKeytab',
                                'krbByJs',       'krbRemoveDomain'
Yadd's avatar
Yadd committed
238
                            ]
239
                        },
Yadd's avatar
Yadd committed
240 241
                        {
                            title => 'ldapParams',
242 243 244 245
                            help  => 'authldap.html',
                            nodes => [
                                'ldapAuthnLevel',
                                'ldapExportedVars',
Yadd's avatar
Yadd committed
246 247
                                {
                                    title => 'ldapConnection',
248 249 250 251 252 253 254 255 256
                                    help  => 'authldap.html#connection',
                                    form  => 'simpleInputContainer',
                                    nodes => [
                                        'ldapServer',      'ldapPort',
                                        'ldapBase',        'managerDn',
                                        'managerPassword', 'ldapTimeout',
                                        'ldapVersion',     'ldapRaw'
                                    ]
                                },
Yadd's avatar
Yadd committed
257 258
                                {
                                    title => 'ldapFilters',
259 260 261
                                    help  => 'authldap.html#filters',
                                    form  => 'simpleInputContainer',
                                    nodes => [
262 263
                                        'LDAPFilter',     'AuthLDAPFilter',
                                        'mailLDAPFilter', 'ldapSearchDeref',
264 265
                                    ]
                                },
Yadd's avatar
Yadd committed
266 267
                                {
                                    title => 'ldapGroups',
268 269 270 271 272 273 274 275
                                    help  => 'authldap.html#groups',
                                    form  => 'simpleInputContainer',
                                    nodes => [
                                        'ldapGroupBase',
                                        'ldapGroupObjectClass',
                                        'ldapGroupAttributeName',
                                        'ldapGroupAttributeNameUser',
                                        'ldapGroupAttributeNameSearch',
276
                                        'ldapGroupDecodeSearchedValue',
277 278 279 280
                                        'ldapGroupRecursive',
                                        'ldapGroupAttributeNameGroup'
                                    ]
                                },
Yadd's avatar
Yadd committed
281 282
                                {
                                    title => 'ldapPassword',
283 284 285 286 287 288 289 290 291
                                    help  => 'authldap.html#password',
                                    form  => 'simpleInputContainer',
                                    nodes => [
                                        'ldapPpolicyControl',
                                        'ldapSetPassword',
                                        'ldapChangePasswordAsUser',
                                        'ldapPwdEnc',
                                        'ldapUsePasswordResetAttribute',
                                        'ldapPasswordResetAttribute',
292
                                        'ldapPasswordResetAttributeValue',
293 294
                                        'ldapAllowResetExpiredPassword',
                                        'ldapITDS'
295
                                    ]
296
                                },
297 298
                            ]
                        },
Yadd's avatar
Yadd committed
299 300
                        {
                            title => 'linkedinParams',
301
                            help  => 'authlinkedin.html',
302
                            form  => 'simpleInputContainer',
303 304 305 306 307 308
                            nodes => [
                                'linkedInAuthnLevel',   'linkedInClientID',
                                'linkedInClientSecret', 'linkedInFields',
                                'linkedInUserField',    'linkedInScope'
                            ]
                        },
309
                        {
310 311
                            title => 'githubParams',
                            help  => 'authgithub.html',
312 313 314 315 316 317 318
                            form  => 'simpleInputContainer',
                            nodes => [
                                'githubAuthnLevel',   'githubClientID',
                                'githubClientSecret', 'githubUserField',
                                'githubScope'
                            ]
                        },
Yadd's avatar
Yadd committed
319 320
                        {
                            title => 'combinationParams',
Yadd's avatar
Yadd committed
321
                            help  => 'authcombination.html',
Yadd's avatar
Yadd committed
322
                            nodes => [ 'combination', 'combModules' ]
Yadd's avatar
Yadd committed
323
                        },
Yadd's avatar
Yadd committed
324 325
                        {
                            title => 'nullParams',
326 327 328 329
                            help  => 'authnull.html',
                            form  => 'simpleInputContainer',
                            nodes => ['nullAuthnLevel']
                        },
Yadd's avatar
Yadd committed
330 331
                        {
                            title => 'openidParams',
332 333 334 335 336 337
                            help  => 'authopenid.html',
                            nodes => [
                                'openIdAuthnLevel', 'openIdExportedVars',
                                'openIdSecret',     'openIdIDPList'
                            ]
                        },
Yadd's avatar
Yadd committed
338 339
                        {
                            title => 'oidcParams',
340
                            help  => 'authopenidconnect.html',
341
                            form  => 'simpleInputContainer',
342 343 344 345 346 347
                            nodes => [
                                'oidcAuthnLevel',
                                'oidcRPCallbackGetParam',
                                'oidcRPStateTimeout'
                            ]
                        },
Yadd's avatar
Yadd committed
348 349 350 351
                        {
                            title => 'gpgParams',
                            help  => 'authgpg.html',
                            form  => 'simpleInputContainer',
Christophe Maudoux's avatar
Christophe Maudoux committed
352
                            nodes => [ 'gpgAuthnLevel', 'gpgDb' ],
Yadd's avatar
Yadd committed
353 354 355
                        },
                        {
                            title => 'proxyParams',
356 357 358
                            help  => 'authproxy.html',
                            form  => 'simpleInputContainer',
                            nodes => [
Christophe Maudoux's avatar
Christophe Maudoux committed
359 360
                                'proxyAuthnLevel',     'proxyAuthService',
                                'proxySessionService', 'remoteCookieName',
Yadd's avatar
Yadd committed
361
                                'proxyUseSoap'
362 363
                            ]
                        },
Yadd's avatar
Yadd committed
364 365
                        {
                            title => 'pamParams',
Yadd's avatar
Yadd committed
366 367
                            help  => 'authpam.html',
                            form  => 'simpleInputContainer',
Christophe Maudoux's avatar
Christophe Maudoux committed
368
                            nodes => [ 'pamAuthnLevel', 'pamService' ]
Yadd's avatar
Yadd committed
369
                        },
Yadd's avatar
Yadd committed
370 371
                        {
                            title => 'radiusParams',
372 373 374 375 376 377 378
                            help  => 'authradius.html',
                            form  => 'simpleInputContainer',
                            nodes => [
                                'radiusAuthnLevel', 'radiusSecret',
                                'radiusServer'
                            ]
                        },
Yadd's avatar
Yadd committed
379 380
                        {
                            title => 'restParams',
381 382 383
                            help  => 'authrest.html',
                            form  => 'simpleInputContainer',
                            nodes => [
Christophe Maudoux's avatar
Christophe Maudoux committed
384 385 386
                                'restAuthnLevel', 'restAuthUrl',
                                'restUserDBUrl',  'restPwdConfirmUrl',
                                'restPwdModifyUrl'
387 388
                            ]
                        },
Yadd's avatar
Yadd committed
389 390
                        {
                            title => 'remoteParams',
391 392 393 394 395 396 397 398
                            help  => 'authremote.html',
                            nodes => [
                                'remotePortal',
                                'remoteCookieName',
                                'remoteGlobalStorage',
                                'remoteGlobalStorageOptions'
                            ]
                        },
Yadd's avatar
Yadd committed
399 400
                        {
                            title => 'slaveParams',
401 402
                            help  => 'authslave.html',
                            nodes => [
403 404
                                'slaveAuthnLevel',    'slaveUserHeader',
                                'slaveMasterIP',      'slaveHeaderName',
405 406
                                'slaveHeaderContent', 'slaveDisplayLogo',
                                'slaveExportedVars',
407 408
                            ]
                        },
Yadd's avatar
Yadd committed
409 410
                        {
                            title => 'sslParams',
411
                            help  => 'authssl.html',
Yadd's avatar
Yadd committed
412 413 414 415 416
                            nodes => [
                                'SSLAuthnLevel', 'SSLVar',
                                'SSLVarIf',      'sslByAjax',
                                'sslHost',
                            ]
417
                        },
Yadd's avatar
Yadd committed
418 419
                        {
                            title => 'twitterParams',
420 421 422 423
                            help  => 'authtwitter.html',
                            form  => 'simpleInputContainer',
                            nodes => [
                                'twitterAuthnLevel', 'twitterKey',
424 425
                                'twitterSecret',     'twitterAppName',
                                'twitterUserField'
426 427
                            ]
                        },
Yadd's avatar
Yadd committed
428 429
                        {
                            title => 'webidParams',
430 431 432 433 434 435
                            help  => 'authwebid.html',
                            nodes => [
                                'webIDAuthnLevel', 'webIDExportedVars',
                                'webIDWhitelist'
                            ]
                        },
Yadd's avatar
Yadd committed
436 437
                        {
                            title => 'customParams',
438 439
                            help  => 'authcustom.html',
                            nodes => [
440 441 442
                                'customAuth',            'customUserDB',
                                'customPassword',        'customRegister',
                                'customResetCertByMail', 'customAddParams',
443 444
                            ]
                        },
445 446 447
                    ],
                    'nodes_filter' => 'authParams'
                },
Yadd's avatar
Yadd committed
448 449
                {
                    title => 'issuerParams',
450
                    help  => 'start.html#identity_provider',
Yadd's avatar
Yadd committed
451
                    nodes => [ {
Yadd's avatar
Yadd committed
452
                            title => 'issuerDBSAML',
453 454 455
                            help  => 'idpsaml.html',
                            form  => 'simpleInputContainer',
                            nodes => [
Yadd's avatar
Yadd committed
456
                                'issuerDBSAMLActivation', 'issuerDBSAMLPath',
457 458 459
                                'issuerDBSAMLRule'
                            ]
                        },
Yadd's avatar
Yadd committed
460 461
                        {
                            title => 'issuerDBCAS',
Maxime Besson's avatar
Maxime Besson committed
462
                            help  => 'idpcas.html#enabling_cas',
Christophe Maudoux's avatar
Christophe Maudoux committed
463
                            form  => 'simpleInputContainer',
464
                            nodes => [
465
                                'issuerDBCASActivation', 'issuerDBCASPath',
466 467 468
                                'issuerDBCASRule',
                            ]
                        },
Yadd's avatar
Yadd committed
469 470
                        {
                            title => 'issuerDBOpenID',
471 472 473 474 475
                            help  => 'idpopenid.html',
                            nodes => [
                                'issuerDBOpenIDActivation',
                                'issuerDBOpenIDPath',
                                'issuerDBOpenIDRule',
Yadd's avatar
Yadd committed
476 477
                                {
                                    title => 'issuerDBOpenIDOptions',
478 479 480 481
                                    nodes => [
                                        'openIdIssuerSecret',
                                        'openIdAttr',
                                        'openIdSPList',
Yadd's avatar
Yadd committed
482 483
                                        {
                                            title => 'openIdSreg',
484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500
                                            form  => 'simpleInputContainer',
                                            nodes => [
                                                'openIdSreg_fullname',
                                                'openIdSreg_nickname',
                                                'openIdSreg_language',
                                                'openIdSreg_postcode',
                                                'openIdSreg_timezone',
                                                'openIdSreg_country',
                                                'openIdSreg_gender',
                                                'openIdSreg_email',
                                                'openIdSreg_dob'
                                            ]
                                        }
                                    ]
                                }
                            ]
                        },
Yadd's avatar
Yadd committed
501 502
                        {
                            title => 'issuerDBOpenIDConnect',
503
                            help  => 'idpopenidconnect.html',
Christophe Maudoux's avatar
Christophe Maudoux committed
504
                            form  => 'simpleInputContainer',
505 506 507 508 509
                            nodes => [
                                'issuerDBOpenIDConnectActivation',
                                'issuerDBOpenIDConnectPath',
                                'issuerDBOpenIDConnectRule',
                            ]
Yadd's avatar
Yadd committed
510
                        },
Yadd's avatar
Yadd committed
511 512
                        {
                            title => 'issuerDBGet',
Yadd's avatar
Yadd committed
513
                            help  => 'issuerdbget.html',
Yadd's avatar
Yadd committed
514 515 516 517 518 519 520
                            nodes => [
                                'issuerDBGetActivation',
                                'issuerDBGetPath',
                                'issuerDBGetRule',
                                'issuerDBGetParameters'
                            ]
                        },
521 522 523 524 525 526
                        {
                            title => 'issuerOptions',
                            help  => 'start.html#options',
                            form  => 'simpleInputContainer',
                            nodes => ['issuersTimeout']
                        },
527 528
                    ]
                },
Yadd's avatar
Yadd committed
529 530
                {
                    title => 'logParams',
531 532
                    help  => 'logs.html',
                    form  => 'simpleInputContainer',
533 534
                    nodes =>
                      [ 'whatToTrace', 'customToTrace', 'hiddenAttributes' ]
535
                },
Yadd's avatar
Yadd committed
536 537
                {
                    title => 'cookieParams',
538 539 540
                    help  => 'ssocookie.html',
                    form  => 'simpleInputContainer',
                    nodes => [
541
                        'cookieName', '*domain',
542
                        'cda',        'securedCookie',
Yadd's avatar
Yadd committed
543 544
                        'httpOnly',   'cookieExpiration',
                        'sameSite',
545 546
                    ]
                },
Yadd's avatar
Yadd committed
547 548
                {
                    title => 'sessionParams',
549 550 551 552 553
                    help  => 'sessions.html',
                    nodes => [
                        'storePassword',
                        'timeout',
                        'timeoutActivity',
554
                        'timeoutActivityInterval',
555
                        'grantSessionRules',
Yadd's avatar
Yadd committed
556 557
                        {
                            title => 'sessionStorage',
558 559 560 561 562 563 564 565
                            help  => 'start.html#sessions_database',
                            nodes => [
                                'globalStorage',
                                'globalStorageOptions',
                                'localSessionStorage',
                                'localSessionStorageOptions'
                            ]
                        },
Yadd's avatar
Yadd committed
566 567
                        {
                            title => 'multipleSessions',
568 569 570
                            form  => 'simpleInputContainer',
                            nodes => [
                                'singleSession',  'singleIP',
571
                                'singleUserByIP',
572 573 574
                                'notifyDeleted',  'notifyOther'
                            ]
                        },
Yadd's avatar
Yadd committed
575 576
                        {
                            title => 'persistentSessions',
577
                            nodes => [
Christophe Maudoux's avatar
Christophe Maudoux committed
578
                                'disablePersistentStorage',
579 580
                                'persistentStorage',
                                'persistentStorageOptions'
581
                            ]
582
                        },
583 584
                    ]
                },
Yadd's avatar
Yadd committed
585 586
                {
                    title => 'reloadParams',
587
                    help  => 'configlocation.html#configuration_reload',
588
                    nodes => [ 'reloadTimeout', 'compactConf', 'reloadUrls' ]
589
                },
Yadd's avatar
Yadd committed
590 591
                {
                    title => 'plugins',
592
                    help  => 'start.html#plugins',
593
                    nodes => [
Yadd's avatar
Yadd committed
594
                        'stayConnected',
Yadd's avatar
Yadd committed
595
                        'portalStatus',
596
                        'upgradeSession',
597
                        'refreshSessions',
Yadd's avatar
Yadd committed
598 599
                        {
                            title => 'portalServers',
600
                            help  => 'portalservers.html',
Christophe Maudoux's avatar
Christophe Maudoux committed
601
                            form  => 'simpleInputContainer',
602
                            nodes => [
Yadd's avatar
Yadd committed
603
                                'wsdlServer',           'restSessionServer',
604 605 606
                                'restExportSecretKeys', 'restClockTolerance',
                                'restConfigServer',     'soapSessionServer',
                                'soapConfigServer',     'exportedAttr',
607
                            ]
608
                        },
Yadd's avatar
Yadd committed
609 610
                        {
                            title => 'loginHistory',
611 612 613 614 615 616 617 618
                            help  => 'loginhistory.html',
                            nodes => [
                                'loginHistoryEnabled',
                                'successLoginNumber',
                                'failedLoginNumber',
                                'sessionDataToRemember'
                            ]
                        },
Yadd's avatar
Yadd committed
619 620
                        {
                            title => 'notifications',
621 622 623
                            help  => 'notifications.html',
                            nodes => [
                                'notification',
624
                                'notificationsExplorer',
Christophe Maudoux's avatar
Christophe Maudoux committed
625
                                'notificationWildcard',
626
                                'oldNotifFormat',
Christophe Maudoux's avatar
Christophe Maudoux committed
627
                                'notificationXSLTfile',
628 629
                                'notificationStorage',
                                'notificationStorageOptions',
630 631 632 633 634
                                {
                                    title => 'serverNotification',
                                    help  => 'notifications.html#server',
                                    nodes => [
                                        'notificationServer',
635
                                        'notificationDefaultCond',
636 637 638 639 640 641 642 643 644 645 646 647 648
                                        'notificationServerSentAttributes',
                                        {
                                            title =>
                                              'notificationServerMethods',
                                            form  => 'simpleInputContainer',
                                            nodes => [
                                                'notificationServerPOST',
                                                'notificationServerGET',
                                                'notificationServerDELETE',
                                            ]
                                        },
                                    ]
                                },
649 650
                            ]
                        },
Yadd's avatar
Yadd committed
651 652
                        {
                            title => 'passwordManagement',
653
                            help  => 'resetpassword.html',
Yadd's avatar
Yadd committed
654
                            nodes => [ {
Yadd's avatar
Yadd committed
655
                                    title => 'mailContent',
656 657
                                    form  => 'simpleInputContainer',
                                    nodes => [
658 659 660 661
                                        'mailSubject',
                                        'mailBody',
                                        'mailConfirmSubject',
                                        'mailConfirmBody'
662 663
                                    ]
                                },
Yadd's avatar
Yadd committed
664 665
                                {
                                    title => 'mailOther',
666 667
                                    form  => 'simpleInputContainer',
                                    nodes => [
668 669 670
                                        'mailUrl',
                                        'mailTimeout',
                                        'portalDisplayGeneratePassword',
671
                                        'randomPasswordRegexp',
672 673 674
                                    ]
                                }
                            ]
675 676
                        },
                        {
677
                            title => 'certificateResetByMailManagement',
678 679 680 681 682 683 684 685 686
                            help  => 'resetcertificate.html',
                            nodes => [ {
                                    title => 'certificateMailContent',
                                    form  => 'simpleInputContainer',
                                    nodes => [
                                        'certificateResetByMailStep1Subject',
                                        'certificateResetByMailStep1Body',
                                        'certificateResetByMailStep2Subject',
                                        'certificateResetByMailStep2Body'
687
                                    ]
688 689 690 691 692 693 694 695 696 697 698 699 700
                                },

                                {
                                    title => 'mailOther',
                                    form  => 'simpleInputContainer',
                                    nodes => [
                                        'certificateResetByMailURL',
                                        'certificateResetByMailCeaAttribute',
'certificateResetByMailCertificateAttribute',
                                        'certificateResetByMailValidityDelay'
                                    ]
                                }
                            ]
701
                        },
Yadd's avatar
Yadd committed
702 703
                        {
                            title => 'register',
704 705 706
                            help  => 'register.html',
                            form  => 'simpleInputContainer',
                            nodes => [
Yadd's avatar
Yadd committed
707
                                'registerUrl',
708 709 710 711 712
                                'registerTimeout',
                                'registerConfirmSubject',
                                'registerDoneSubject'
                            ]
                        },
Yadd's avatar
Yadd committed
713 714
                        {
                            title => 'autoSignin',
715
                            help  => 'autosignin.html',
716
                            nodes => ['autoSigninRules'],
Yadd's avatar
Yadd committed
717
                        },
718 719 720 721
                        {
                            title => 'globalLogout',
                            help  => 'globallogout.html',
                            form  => 'simpleInputContainer',
722 723 724 725 726
                            nodes => [
                                'globalLogoutRule',
                                'globalLogoutTimer',
                                'globalLogoutCustomParam'
                            ],
727
                        },
Yadd's avatar
Yadd committed
728 729
                        {
                            title => 'stateCheck',
Yadd's avatar
Yadd committed
730
                            help  => 'checkstate.html',
Yadd's avatar
Yadd committed
731
                            form  => 'simpleInputContainer',
732
                            nodes => [ 'checkState', 'checkStateSecret', ],
Yadd's avatar
Yadd committed
733
                        },
734 735 736 737 738 739
                        {
                            title => 'checkUsers',
                            help  => 'checkuser.html',
                            form  => 'simpleInputContainer',
                            nodes => [
                                'checkUser',
740
                                'checkUserIdRule',
741
                                'checkUserHiddenAttributes',
742
                                'checkUserSearchAttributes',
743
                                'checkUserDisplayEmptyHeaders',
744
                                'checkUserDisplayEmptyValues',
Christophe Maudoux's avatar
Christophe Maudoux committed
745
                                'checkUserDisplayPersistentInfo',
746 747
                            ]
                        },
748
                        {
749 750
                            title => 'impersonation',
                            help  => 'impersonation.html',
751
                            form  => 'simpleInputContainer',
Yadd's avatar
Yadd committed
752
                            nodes => [
753
                                'impersonationRule',
754
                                'impersonationIdRule',
755 756 757
                                'impersonationHiddenAttributes',
                                'impersonationSkipEmptyValues',
                                'impersonationMergeSSOgroups',
758 759
                            ]
                        },
760 761 762 763 764 765 766 767 768 769
                        {
                            title => 'contextSwitching',
                            help  => 'contextswitching.html',
                            form  => 'simpleInputContainer',
                            nodes => [
                                'contextSwitchingRule',
                                'contextSwitchingIdRule',
                                'contextSwitchingStopWithLogout',
                            ]
                        },
770 771
                        {
                            title => 'decryptValue',
Christophe Maudoux's avatar
Christophe Maudoux committed
772
                            help  => 'decryptvalue.html',
773
                            form  => 'simpleInputContainer',
774 775
                            nodes =>
                              [ 'decryptValueRule', 'decryptValueFunctions', ]
776
                        },
777 778 779 780 781
                        {
                            title => 'customPluginsNode',
                            help  => 'plugincustom.html',
                            nodes => [ 'customPlugins', 'customPluginsParams' ]
                        },
Yadd's avatar
Yadd committed
782 783
                    ]
                },
Yadd's avatar
Yadd committed
784 785
                {
                    title => 'secondFactors',
786
                    help  => 'secondfactor.html',
Yadd's avatar
Yadd committed
787
                    nodes => [ {
Yadd's avatar
Yadd committed
788
                            title => 'utotp2f',
Yadd's avatar
Yadd committed
789 790
                            help  => 'utotp2f.html',
                            form  => 'simpleInputContainer',
791 792 793 794
                            nodes => [
                                'utotp2fActivation', 'utotp2fAuthnLevel',
                                'utotp2fLabel',      'utotp2fLogo'
                            ]
Yadd's avatar
Yadd committed
795
                        },
Yadd's avatar
Yadd committed
796
                        {
797
                            title => 'totp2f',
Yadd's avatar
Yadd committed
798
                            help  => 'totp2f.html',
Yadd's avatar
Yadd committed
799 800
                            form  => 'simpleInputContainer',
                            nodes => [
Yadd's avatar
Yadd committed
801 802 803 804 805
                                'totp2fActivation',
                                'totp2fSelfRegistration',
                                'totp2fIssuer',
                                'totp2fInterval',
                                'totp2fRange',
Yadd's avatar
Yadd committed
806
                                'totp2fDigits',
Yadd's avatar
Yadd committed
807 808
                                'totp2fDisplayExistingSecret',
                                'totp2fUserCanChangeKey',
809
                                'totp2fUserCanRemoveKey',
Christophe Maudoux's avatar
Christophe Maudoux committed
810
                                'totp2fTTL',
811 812 813
                                'totp2fAuthnLevel',
                                'totp2fLabel',
                                'totp2fLogo',
Yadd's avatar
Yadd committed
814 815
                            ]
                        },
Yadd's avatar
Yadd committed
816 817
                        {
                            title => 'u2f',
818 819 820
                            help  => 'u2f.html',
                            form  => 'simpleInputContainer',
                            nodes => [
821 822 823 824
                                'u2fActivation',       'u2fSelfRegistration',
                                'u2fUserCanRemoveKey', 'u2fTTL',
                                'u2fAuthnLevel',       'u2fLabel',
                                'u2fLogo',
825 826
                            ]
                        },
Christophe Maudoux's avatar
Christophe Maudoux committed
827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845
                        {
                            title => 'yubikey2f',
                            help  => 'yubikey2f.html',
                            form  => 'simpleInputContainer',
                            nodes => [
                                'yubikey2fActivation',
                                'yubikey2fSelfRegistration',
                                'yubikey2fClientID',
                                'yubikey2fSecretKey',
                                'yubikey2fNonce',
                                'yubikey2fUrl',
                                'yubikey2fPublicIDSize',
                                'yubikey2fUserCanRemoveKey',
                                'yubikey2fTTL',
                                'yubikey2fAuthnLevel',
                                'yubikey2fLabel',
                                'yubikey2fLogo',
                            ],
                        },
Yadd's avatar
Yadd committed
846 847
                        {
                            title => 'mail2f',
Maxime Besson's avatar
Maxime Besson committed
848 849 850
                            help  => 'mail2f.html',
                            form  => 'simpleInputContainer',
                            nodes => [
Yadd's avatar
Yadd committed
851 852 853
                                'mail2fActivation', 'mail2fCodeRegex',
                                'mail2fTimeout',    'mail2fSubject',
                                'mail2fBody',       'mail2fAuthnLevel',
854
                                'mail2fLabel',      'mail2fLogo',
Maxime Besson's avatar
Maxime Besson committed
855 856
                            ]
                        },
Yadd's avatar
Yadd committed
857
                        {
858
                            title => 'ext2f',
Yadd's avatar
Yadd committed
859 860 861
                            help  => 'external2f.html',
                            form  => 'simpleInputContainer',
                            nodes => [
Christophe Maudoux's avatar
Christophe Maudoux committed
862 863
                                'ext2fActivation',  'ext2fCodeActivation',
                                'ext2FSendCommand', 'ext2FValidateCommand',
864 865
                                'ext2fAuthnLevel',  'ext2fLabel',
                                'ext2fLogo',
Yadd's avatar
Yadd committed
866
                            ]
Yadd's avatar
Yadd committed
867
                        },
868 869 870 871 872 873 874 875 876 877 878 879 880 881 882
                        {
                            title => 'radius2f',
                            help  => 'radius2f.html',
                            form  => 'simpleInputContainer',
                            nodes => [
                                'radius2fActivation',
                                'radius2fServer',
                                'radius2fSecret',
                                'radius2fUsernameSessionKey',
                                'radius2fTimeout',
                                'radius2fAuthnLevel',
                                'radius2fLogo',
                                'radius2fLabel',
                            ]
                        },
Yadd's avatar
Yadd committed
883 884
                        {
                            title => 'rest2f',
Yadd's avatar
Yadd committed
885 886
                            help  => 'rest2f.html',
                            nodes => [
Yadd's avatar
Yadd committed
887 888 889
                                'rest2fActivation', 'rest2fInitUrl',
                                'rest2fInitArgs',   'rest2fVerifyUrl',
                                'rest2fVerifyArgs', 'rest2fAuthnLevel',
890
                                'rest2fLabel',      'rest2fLogo',