| 1 | # This file contains the description of special subtrees of the manager | ||
| 2 | # interface. | ||
| 3 | # You can only use the following keys: | ||
| 4 | # * title: the name of the node | ||
| 5 | # * nodes: the subnodes of the node | ||
| 6 | # * group: grouped subnodes (see RSAKey form for example) | ||
| 7 | # * form: only for nodes, the form to display when selected | ||
| 8 | # | ||
| 9 | # Conf parameters are just strings in the `nodes` array | ||
| 10 | # | ||
| 11 | # All other ideas have to be set in Manager/Build/Attributes.pm ! | ||
| 12 | |||
| 13 | # DON'T FORGET TO RUN 'make json' AFTER EACH CHANGE | ||
| 14 | |||
| 15 | package Lemonldap::NG::Manager::Build::CTrees; | ||
| 16 | |||
| 17 | 32 | our $VERSION = '2.23.0'; | |
| 18 | |||
| 19 | 48 | ▶ | sub cTrees { |
|
Subroutine
cTrees: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 20 | return { | ||
| 21 | 48 | virtualHost => [ | |
| 22 | 'locationRules', | ||
| 23 | 'exportedHeaders', | ||
| 24 | 'post', | ||
| 25 | { | ||
| 26 | title => 'vhostOptions', | ||
| 27 | help => 'configvhost.html#options', | ||
| 28 | form => 'simpleInputContainer', | ||
| 29 | nodes => [ | ||
| 30 | 'vhostPort', 'vhostHttps', | ||
| 31 | 'vhostMaintenance', 'vhostAliases', | ||
| 32 | 'vhostAccessToTrace', 'vhostAuthnLevel', | ||
| 33 | 'vhostType', 'vhostDevOpsRulesUrl', | ||
| 34 | 'vhostServiceTokenTTL', 'vhostComment' | ||
| 35 | ], | ||
| 36 | }, | ||
| 37 | ], | ||
| 38 | samlIDPMetaDataNode => [ | ||
| 39 | 'samlIDPMetaDataXML', | ||
| 40 | 'samlIDPMetaDataExportedAttributes', | ||
| 41 | |||
| 42 | { | ||
| 43 | title => 'samlIDPMetaDataOptionsSession', | ||
| 44 | help => 'authsaml.html#session', | ||
| 45 | form => 'simpleInputContainer', | ||
| 46 | nodes => [ | ||
| 47 | 'samlIDPMetaDataOptionsAdaptSessionUtime', | ||
| 48 | 'samlIDPMetaDataOptionsForceUTF8', | ||
| 49 | 'samlIDPMetaDataOptionsStoreSAMLToken', | ||
| 50 | 'samlIDPMetaDataOptionsUserAttribute' | ||
| 51 | ] | ||
| 52 | }, | ||
| 53 | { | ||
| 54 | title => 'samlIDPMetaDataOptionsSignature', | ||
| 55 | help => 'authsaml.html#signature', | ||
| 56 | form => 'simpleInputContainer', | ||
| 57 | nodes => [ | ||
| 58 | 'samlIDPMetaDataOptionsSignatureMethod', | ||
| 59 | 'samlIDPMetaDataOptionsSignatureKey', | ||
| 60 | 'samlIDPMetaDataOptionsSignSSOMessage', | ||
| 61 | 'samlIDPMetaDataOptionsCheckSSOMessageSignature', | ||
| 62 | 'samlIDPMetaDataOptionsSignSLOMessage', | ||
| 63 | 'samlIDPMetaDataOptionsCheckSLOMessageSignature' | ||
| 64 | ] | ||
| 65 | }, | ||
| 66 | { | ||
| 67 | title => 'samlIDPMetaDataOptionsBinding', | ||
| 68 | help => 'authsaml.html#binding', | ||
| 69 | form => 'simpleInputContainer', | ||
| 70 | nodes => [ | ||
| 71 | 'samlIDPMetaDataOptionsSSOBinding', | ||
| 72 | 'samlIDPMetaDataOptionsSLOBinding' | ||
| 73 | ] | ||
| 74 | }, | ||
| 75 | { | ||
| 76 | title => 'samlIDPMetaDataOptionsSecurity', | ||
| 77 | help => 'authsaml.html#security', | ||
| 78 | form => 'simpleInputContainer', | ||
| 79 | nodes => [ | ||
| 80 | 'samlIDPMetaDataOptionsEncryptionMode', | ||
| 81 | 'samlIDPMetaDataOptionsCheckTime', | ||
| 82 | 'samlIDPMetaDataOptionsCheckAudience' | ||
| 83 | ] | ||
| 84 | }, | ||
| 85 | { | ||
| 86 | title => 'samlIDPMetaDataOptions', | ||
| 87 | help => 'authsaml.html#options', | ||
| 88 | nodes => [ | ||
| 89 | 'samlIDPMetaDataOptionsNameIDFormat', | ||
| 90 | 'samlIDPMetaDataOptionsForceAuthn', | ||
| 91 | 'samlIDPMetaDataOptionsIsPassive', | ||
| 92 | 'samlIDPMetaDataOptionsAllowLoginFromIDP', | ||
| 93 | 'samlIDPMetaDataOptionsRequestedAuthnContext', | ||
| 94 | 'samlIDPMetaDataOptionsRelayStateURL', | ||
| 95 | { | ||
| 96 | title => 'samlIDPMetaDataOptionsFederation', | ||
| 97 | form => 'simpleInputContainer', | ||
| 98 | nodes => ['samlIDPMetaDataOptionsFederationEntityID'] | ||
| 99 | }, | ||
| 100 | 'samlIDPMetaDataOptionsURL', | ||
| 101 | 'samlIDPMetaDataOptionsComment' | ||
| 102 | ], | ||
| 103 | }, | ||
| 104 | { | ||
| 105 | title => 'samlIDPMetaDataOptionsDisplay', | ||
| 106 | help => 'authsaml.html#display', | ||
| 107 | form => 'simpleInputContainer', | ||
| 108 | nodes => [ | ||
| 109 | 'samlIDPMetaDataOptionsDisplayName', | ||
| 110 | 'samlIDPMetaDataOptionsIcon', | ||
| 111 | 'samlIDPMetaDataOptionsTooltip', | ||
| 112 | 'samlIDPMetaDataOptionsResolutionRule', | ||
| 113 | 'samlIDPMetaDataOptionsSortNumber' | ||
| 114 | ] | ||
| 115 | } | ||
| 116 | ], | ||
| 117 | samlSPMetaDataNode => [ | ||
| 118 | 'samlSPMetaDataXML', | ||
| 119 | 'samlSPMetaDataExportedAttributes', | ||
| 120 | { | ||
| 121 | title => 'samlSPMetaDataOptions', | ||
| 122 | help => 'idpsaml.html#options', | ||
| 123 | nodes => [ { | ||
| 124 | title => 'samlSPMetaDataOptionsAuthnResponse', | ||
| 125 | form => 'simpleInputContainer', | ||
| 126 | nodes => [ | ||
| 127 | 'samlSPMetaDataOptionsNameIDFormat', | ||
| 128 | 'samlSPMetaDataOptionsForceNameIDFormat', | ||
| 129 | 'samlSPMetaDataOptionsNameIDSessionKey', | ||
| 130 | 'samlSPMetaDataOptionsOneTimeUse', | ||
| 131 | 'samlSPMetaDataOptionsSessionNotOnOrAfterTimeout', | ||
| 132 | 'samlSPMetaDataOptionsNotOnOrAfterTimeout', | ||
| 133 | 'samlSPMetaDataOptionsForceUTF8' | ||
| 134 | ] | ||
| 135 | }, | ||
| 136 | { | ||
| 137 | title => 'samlSPMetaDataOptionsSignature', | ||
| 138 | form => 'simpleInputContainer', | ||
| 139 | nodes => [ | ||
| 140 | 'samlSPMetaDataOptionsSignatureMethod', | ||
| 141 | 'samlSPMetaDataOptionsSignatureKey', | ||
| 142 | 'samlSPMetaDataOptionsSignSSOMessage', | ||
| 143 | 'samlSPMetaDataOptionsCheckSSOMessageSignature', | ||
| 144 | 'samlSPMetaDataOptionsSignSLOMessage', | ||
| 145 | 'samlSPMetaDataOptionsCheckSLOMessageSignature', | ||
| 146 | ] | ||
| 147 | }, | ||
| 148 | { | ||
| 149 | title => 'samlSPMetaDataOptionsSecurity', | ||
| 150 | form => 'simpleInputContainer', | ||
| 151 | nodes => [ | ||
| 152 | 'samlSPMetaDataOptionsEncryptionMode', | ||
| 153 | 'samlSPMetaDataOptionsEnableIDPInitiatedURL', | ||
| 154 | 'samlSPMetaDataOptionsAuthnLevel', | ||
| 155 | 'samlSPMetaDataOptionsRule', | ||
| 156 | ] | ||
| 157 | }, | ||
| 158 | { | ||
| 159 | title => 'samlSPMetaDataOptionsFederation', | ||
| 160 | form => 'simpleInputContainer', | ||
| 161 | nodes => [ | ||
| 162 | 'samlSPMetaDataOptionsFederationEntityID', | ||
| 163 | 'samlSPMetaDataOptionsFederationOptionalAttributes', | ||
| 164 | 'samlSPMetaDataOptionsFederationRequiredAttributes', | ||
| 165 | ] | ||
| 166 | }, | ||
| 167 | 'samlSPMetaDataOptionsActivation', | ||
| 168 | 'samlSPMetaDataOptionsURL', | ||
| 169 | 'samlSPMetaDataOptionsComment' | ||
| 170 | ] | ||
| 171 | }, | ||
| 172 | 'samlSPMetaDataMacros', | ||
| 173 | ], | ||
| 174 | oidcOPMetaDataNode => [ | ||
| 175 | 'oidcOPMetaDataJSON', | ||
| 176 | 'oidcOPMetaDataJWKS', | ||
| 177 | 'oidcOPMetaDataExportedVars', | ||
| 178 | { | ||
| 179 | title => 'oidcOPMetaDataOptions', | ||
| 180 | help => 'authopenidconnect.html#options', | ||
| 181 | nodes => [ { | ||
| 182 | title => 'oidcOPMetaDataOptionsConfiguration', | ||
| 183 | form => 'simpleInputContainer', | ||
| 184 | nodes => [ | ||
| 185 | 'oidcOPMetaDataOptionsRequirePkce', | ||
| 186 | 'oidcOPMetaDataOptionsRequireIss', | ||
| 187 | 'oidcOPMetaDataOptionsStoreIDToken', | ||
| 188 | 'oidcOPMetaDataOptionsConfigurationURI', | ||
| 189 | 'oidcOPMetaDataOptionsJWKSTimeout', | ||
| 190 | 'oidcOPMetaDataOptionsClientID', | ||
| 191 | 'oidcOPMetaDataOptionsClientSecret', | ||
| 192 | 'oidcOPMetaDataOptionsUserAttribute', | ||
| 193 | ] | ||
| 194 | }, | ||
| 195 | { | ||
| 196 | title => 'oidcOPMetaDataOptionsProtocol', | ||
| 197 | form => 'simpleInputContainer', | ||
| 198 | nodes => [ | ||
| 199 | 'oidcOPMetaDataOptionsScope', | ||
| 200 | 'oidcOPMetaDataOptionsDisplay', | ||
| 201 | 'oidcOPMetaDataOptionsPrompt', | ||
| 202 | 'oidcOPMetaDataOptionsMaxAge', | ||
| 203 | 'oidcOPMetaDataOptionsUiLocales', | ||
| 204 | 'oidcOPMetaDataOptionsAcrValues', | ||
| 205 | 'oidcOPMetaDataOptionsAuthEndpointExtraParams', | ||
| 206 | 'oidcOPMetaDataOptionsAuthnEndpointAuthMethod', | ||
| 207 | 'oidcOPMetaDataOptionsAuthnEndpointAuthSigAlg', | ||
| 208 | 'oidcOPMetaDataOptionsTokenEndpointAuthMethod', | ||
| 209 | 'oidcOPMetaDataOptionsTokenEndpointAuthSigAlg', | ||
| 210 | 'oidcOPMetaDataOptionsSigningKey', | ||
| 211 | 'oidcOPMetaDataOptionsCheckJWTSignature', | ||
| 212 | 'oidcOPMetaDataOptionsIDTokenMaxAge', | ||
| 213 | 'oidcOPMetaDataOptionsUseNonce', | ||
| 214 | 'oidcOPMetaDataOptionsUserinfoSource', | ||
| 215 | 'oidcOPMetaDataOptionsNoJwtHeader', | ||
| 216 | ] | ||
| 217 | }, | ||
| 218 | 'oidcOPMetaDataOptionsComment' | ||
| 219 | ] | ||
| 220 | }, | ||
| 221 | { | ||
| 222 | title => 'oidcOPMetaDataOptionsDisplayParams', | ||
| 223 | help => 'authopenidconnect.html#display', | ||
| 224 | form => 'simpleInputContainer', | ||
| 225 | nodes => [ | ||
| 226 | 'oidcOPMetaDataOptionsDisplayName', | ||
| 227 | 'oidcOPMetaDataOptionsIcon', | ||
| 228 | 'oidcOPMetaDataOptionsTooltip', | ||
| 229 | 'oidcOPMetaDataOptionsResolutionRule', | ||
| 230 | 'oidcOPMetaDataOptionsSortNumber' | ||
| 231 | ] | ||
| 232 | }, | ||
| 233 | ], | ||
| 234 | oidcRPMetaDataNode => [ { | ||
| 235 | title => 'oidcRPMetaDataOptionsBasic', | ||
| 236 | help => 'idpopenidconnect.html#basic-options', | ||
| 237 | form => 'simpleInputContainer', | ||
| 238 | nodes => [ | ||
| 239 | 'oidcRPMetaDataOptionsPublic', | ||
| 240 | 'oidcRPMetaDataOptionsClientID', | ||
| 241 | 'oidcRPMetaDataOptionsClientSecret', | ||
| 242 | 'oidcRPMetaDataOptionsRedirectUris', | ||
| 243 | ] | ||
| 244 | }, | ||
| 245 | 'oidcRPMetaDataExportedVars', | ||
| 246 | { | ||
| 247 | title => 'oidcRPMetaDataOptions', | ||
| 248 | help => 'idpopenidconnect.html#options', | ||
| 249 | nodes => [ { | ||
| 250 | title => 'oidcRPMetaDataOptionsAdvanced', | ||
| 251 | form => 'simpleInputContainer', | ||
| 252 | nodes => [ | ||
| 253 | 'oidcRPMetaDataOptionsBypassConsent', | ||
| 254 | 'oidcRPMetaDataOptionsIDTokenForceClaims', | ||
| 255 | 'oidcRPMetaDataOptionsAccessTokenJWT', | ||
| 256 | 'oidcRPMetaDataOptionsAccessTokenClaims', | ||
| 257 | 'oidcRPMetaDataOptionsRefreshToken', | ||
| 258 | 'oidcRPMetaDataOptionsNoJwtHeader', | ||
| 259 | 'oidcRPMetaDataOptionsUserIDAttr', | ||
| 260 | 'oidcRPMetaDataOptionsAdditionalAudiences', | ||
| 261 | 'oidcRPMetaDataOptionsTokenXAuthorizedRP', | ||
| 262 | ] | ||
| 263 | }, | ||
| 264 | { | ||
| 265 | title => 'oidcRPMetaDataOptionsScopes', | ||
| 266 | nodes => [ | ||
| 267 | 'oidcRPMetaDataOptionsExtraClaims', | ||
| 268 | 'oidcRPMetaDataScopeRules', | ||
| 269 | ] | ||
| 270 | }, | ||
| 271 | { | ||
| 272 | title => 'security', | ||
| 273 | form => 'simpleInputContainer', | ||
| 274 | nodes => [ | ||
| 275 | 'oidcRPMetaDataOptionsRequirePKCE', | ||
| 276 | 'oidcRPMetaDataOptionsRefreshTokenRotation', | ||
| 277 | 'oidcRPMetaDataOptionsAllowOffline', | ||
| 278 | 'oidcRPMetaDataOptionsAllowNativeSso', | ||
| 279 | 'oidcRPMetaDataOptionsAllowPasswordGrant', | ||
| 280 | 'oidcRPMetaDataOptionsAllowClientCredentialsGrant', | ||
| 281 | 'oidcRPMetaDataOptionsRequestUris', | ||
| 282 | 'oidcRPMetaDataOptionsAuthnLevel', | ||
| 283 | 'oidcRPMetaDataOptionsRule', | ||
| 284 | 'oidcRPMetaDataOptionsAuthMethod', | ||
| 285 | 'oidcRPMetaDataOptionsAuthRequiredForAuthorize', | ||
| 286 | 'oidcRPMetaDataOptionsAuthnRequireState', | ||
| 287 | 'oidcRPMetaDataOptionsAuthnRequireNonce', | ||
| 288 | 'oidcRPMetaDataOptionsUserinfoRequireHeaderToken', | ||
| 289 | ] | ||
| 290 | }, | ||
| 291 | { | ||
| 292 | title => 'algorithms', | ||
| 293 | form => 'simpleInputContainer', | ||
| 294 | nodes => [ | ||
| 295 | 'oidcRPMetaDataOptionsIDTokenSignAlg', | ||
| 296 | 'oidcRPMetaDataOptionsAccessTokenSignAlg', | ||
| 297 | 'oidcRPMetaDataOptionsUserInfoSignAlg', | ||
| 298 | 'oidcRPMetaDataOptionsIntrospectionSignAlg', | ||
| 299 | 'oidcRPMetaDataOptionsAccessTokenEncKeyMgtAlg', | ||
| 300 | 'oidcRPMetaDataOptionsAccessTokenEncContentEncAlg', | ||
| 301 | 'oidcRPMetaDataOptionsIdTokenEncKeyMgtAlg', | ||
| 302 | 'oidcRPMetaDataOptionsIdTokenEncContentEncAlg', | ||
| 303 | 'oidcRPMetaDataOptionsUserInfoEncKeyMgtAlg', | ||
| 304 | 'oidcRPMetaDataOptionsUserInfoEncContentEncAlg', | ||
| 305 | 'oidcRPMetaDataOptionsIntrospectionEncKeyMgtAlg', | ||
| 306 | 'oidcRPMetaDataOptionsIntrospectionEncContentEncAlg', | ||
| 307 | 'oidcRPMetaDataOptionsLogoutEncKeyMgtAlg', | ||
| 308 | 'oidcRPMetaDataOptionsLogoutEncContentEncAlg', | ||
| 309 | ], | ||
| 310 | }, | ||
| 311 | { | ||
| 312 | title => 'oidcRpKeys', | ||
| 313 | nodes => [ | ||
| 314 | 'oidcRPMetaDataOptionsJwksUri', | ||
| 315 | 'oidcRPMetaDataOptionsJwks', | ||
| 316 | 'oidcRPMetaDataOptionsSigningKey', | ||
| 317 | ], | ||
| 318 | }, | ||
| 319 | { | ||
| 320 | title => 'oidcRPMetaDataOptionsTimeouts', | ||
| 321 | form => 'simpleInputContainer', | ||
| 322 | nodes => [ | ||
| 323 | 'oidcRPMetaDataOptionsAuthorizationCodeExpiration', | ||
| 324 | 'oidcRPMetaDataOptionsIDTokenExpiration', | ||
| 325 | 'oidcRPMetaDataOptionsAccessTokenExpiration', | ||
| 326 | 'oidcRPMetaDataOptionsOfflineSessionExpiration', | ||
| 327 | 'oidcRPMetaDataOptionsRtActivity', | ||
| 328 | ] | ||
| 329 | }, | ||
| 330 | { | ||
| 331 | title => 'logout', | ||
| 332 | form => 'simpleInputContainer', | ||
| 333 | nodes => [ | ||
| 334 | 'oidcRPMetaDataOptionsLogoutBypassConfirm', | ||
| 335 | 'oidcRPMetaDataOptionsLogoutSessionRequired', | ||
| 336 | 'oidcRPMetaDataOptionsLogoutType', | ||
| 337 | 'oidcRPMetaDataOptionsLogoutUrl', | ||
| 338 | 'oidcRPMetaDataOptionsPostLogoutRedirectUris', | ||
| 339 | ] | ||
| 340 | }, | ||
| 341 | 'oidcRPMetaDataOptionsActivation', | ||
| 342 | 'oidcRPMetaDataOptionsComment', | ||
| 343 | ] | ||
| 344 | }, | ||
| 345 | 'oidcRPMetaDataMacros', | ||
| 346 | { | ||
| 347 | title => 'oidcRPMetaDataOptionsDisplay', | ||
| 348 | help => 'idpopenidconnect.html#display', | ||
| 349 | form => 'simpleInputContainer', | ||
| 350 | nodes => [ | ||
| 351 | 'oidcRPMetaDataOptionsDisplayName', | ||
| 352 | 'oidcRPMetaDataOptionsIcon' | ||
| 353 | ], | ||
| 354 | }, | ||
| 355 | ], | ||
| 356 | casSrvMetaDataNode => [ | ||
| 357 | 'casSrvMetaDataExportedVars', | ||
| 358 | 'casSrvMetaDataOptionsProxiedServices', | ||
| 359 | { | ||
| 360 | title => 'casSrvMetaDataOptions', | ||
| 361 | form => 'simpleInputContainer', | ||
| 362 | nodes => [ | ||
| 363 | 'casSrvMetaDataOptionsUrl', | ||
| 364 | 'casSrvMetaDataOptionsRenew', | ||
| 365 | 'casSrvMetaDataOptionsGateway', | ||
| 366 | 'casSrvMetaDataOptionsSamlValidate', | ||
| 367 | 'casSrvMetaDataOptionsComment' | ||
| 368 | ] | ||
| 369 | }, | ||
| 370 | { | ||
| 371 | title => 'casSrvMetaDataOptionsDisplay', | ||
| 372 | form => 'simpleInputContainer', | ||
| 373 | nodes => [ | ||
| 374 | 'casSrvMetaDataOptionsDisplayName', | ||
| 375 | 'casSrvMetaDataOptionsIcon', | ||
| 376 | 'casSrvMetaDataOptionsTooltip', | ||
| 377 | 'casSrvMetaDataOptionsResolutionRule', | ||
| 378 | 'casSrvMetaDataOptionsSortNumber' | ||
| 379 | ] | ||
| 380 | }, | ||
| 381 | ], | ||
| 382 | casAppMetaDataNode => [ | ||
| 383 | 'casAppMetaDataExportedVars', | ||
| 384 | { | ||
| 385 | title => 'casAppMetaDataOptions', | ||
| 386 | form => 'simpleInputContainer', | ||
| 387 | nodes => [ | ||
| 388 | 'casAppMetaDataOptionsActivation', | ||
| 389 | 'casAppMetaDataOptionsService', | ||
| 390 | 'casAppMetaDataOptionsUserAttribute', | ||
| 391 | 'casAppMetaDataOptionsAllowProxy', | ||
| 392 | 'casAppMetaDataOptionsLogout', | ||
| 393 | 'casAppMetaDataOptionsAuthnLevel', | ||
| 394 | 'casAppMetaDataOptionsRule', | ||
| 395 | 'casAppMetaDataOptionsComment', | ||
| 396 | ] | ||
| 397 | }, | ||
| 398 | { | ||
| 399 | title => 'casAppMetaDataOptionsDisplay', | ||
| 400 | form => 'simpleInputContainer', | ||
| 401 | nodes => [ 'casAppMetaDataOptionsDisplayName', ], | ||
| 402 | }, | ||
| 403 | 'casAppMetaDataMacros', | ||
| 404 | ], | ||
| 405 | keyNode => [ { | ||
| 406 | title => 'KeyMaterial', | ||
| 407 | form => 'KeyMaterial', | ||
| 408 | group => [ 'keyPrivate', 'keyPrivatePwd', 'keyPublic' ] | ||
| 409 | }, | ||
| 410 | { | ||
| 411 | title => 'keyOptions', | ||
| 412 | help => 'keys.html#options', | ||
| 413 | form => 'simpleInputContainer', | ||
| 414 | nodes => [ 'keyId', 'keyComment', ], | ||
| 415 | }, | ||
| 416 | ], | ||
| 417 | }; | ||
| 418 | } | ||
| 419 | |||
| 420 | 32 | 1; | |