2015-05-14 08:44:38 +02:00
|
|
|
# This file contains the description of special subtrees of the manager
|
|
|
|
# interface.
|
|
|
|
# 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
|
|
|
|
#
|
2015-12-26 21:08:31 +01:00
|
|
|
# All other ideas have to be set in Manager/Build/Attributes.pm !
|
2015-05-14 08:44:38 +02:00
|
|
|
|
2017-11-05 19:57:54 +01:00
|
|
|
# DON'T FORGET TO RUN "make json" AFTER EACH CHANGE
|
2015-05-14 08:44:38 +02:00
|
|
|
|
2015-12-26 21:08:31 +01:00
|
|
|
package Lemonldap::NG::Manager::Build::CTrees;
|
2015-05-14 08:44:38 +02:00
|
|
|
|
2020-04-22 15:30:44 +02:00
|
|
|
our $VERSION = '2.0.8';
|
2017-02-28 21:53:19 +01:00
|
|
|
|
2015-05-14 08:44:38 +02:00
|
|
|
sub cTrees {
|
|
|
|
return {
|
|
|
|
virtualHost => [
|
|
|
|
'locationRules',
|
|
|
|
'exportedHeaders',
|
|
|
|
'post',
|
2019-03-07 18:22:16 +01:00
|
|
|
{
|
|
|
|
title => 'vhostOptions',
|
2015-05-14 08:44:38 +02:00
|
|
|
help => 'configvhost.html#options',
|
2018-11-20 22:36:38 +01:00
|
|
|
form => 'simpleInputContainer',
|
2015-05-14 08:44:38 +02:00
|
|
|
nodes => [
|
|
|
|
'vhostPort', 'vhostHttps',
|
2017-02-15 07:41:50 +01:00
|
|
|
'vhostMaintenance', 'vhostAliases',
|
2017-03-23 19:22:44 +01:00
|
|
|
'vhostType', 'vhostAuthnLevel',
|
2019-05-26 21:43:13 +02:00
|
|
|
'vhostServiceTokenTTL'
|
2015-05-14 08:44:38 +02:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
samlIDPMetaDataNode => [
|
|
|
|
'samlIDPMetaDataXML',
|
|
|
|
'samlIDPMetaDataExportedAttributes',
|
2019-02-07 23:08:34 +01:00
|
|
|
|
2019-03-07 18:22:16 +01:00
|
|
|
{
|
|
|
|
title => "samlIDPMetaDataOptionsSession",
|
2015-05-14 08:44:38 +02:00
|
|
|
form => 'simpleInputContainer',
|
|
|
|
nodes => [
|
|
|
|
"samlIDPMetaDataOptionsAdaptSessionUtime",
|
2016-09-13 14:04:30 +02:00
|
|
|
"samlIDPMetaDataOptionsForceUTF8",
|
2018-10-02 17:18:17 +02:00
|
|
|
"samlIDPMetaDataOptionsStoreSAMLToken",
|
|
|
|
"samlIDPMetaDataOptionsUserAttribute"
|
2015-05-14 08:44:38 +02:00
|
|
|
]
|
|
|
|
},
|
2019-03-07 18:22:16 +01:00
|
|
|
{
|
|
|
|
title => "samlIDPMetaDataOptionsSignature",
|
2015-05-14 08:44:38 +02:00
|
|
|
form => 'simpleInputContainer',
|
|
|
|
nodes => [
|
|
|
|
"samlIDPMetaDataOptionsSignSSOMessage",
|
|
|
|
"samlIDPMetaDataOptionsCheckSSOMessageSignature",
|
|
|
|
"samlIDPMetaDataOptionsSignSLOMessage",
|
|
|
|
"samlIDPMetaDataOptionsCheckSLOMessageSignature"
|
|
|
|
]
|
|
|
|
},
|
2019-03-07 18:22:16 +01:00
|
|
|
{
|
|
|
|
title => "samlIDPMetaDataOptionsBinding",
|
2015-05-14 08:44:38 +02:00
|
|
|
form => 'simpleInputContainer',
|
|
|
|
nodes => [
|
|
|
|
"samlIDPMetaDataOptionsSSOBinding",
|
|
|
|
"samlIDPMetaDataOptionsSLOBinding"
|
|
|
|
]
|
|
|
|
},
|
2019-03-07 18:22:16 +01:00
|
|
|
{
|
|
|
|
title => "samlIDPMetaDataOptionsSecurity",
|
2015-05-14 08:44:38 +02:00
|
|
|
form => 'simpleInputContainer',
|
|
|
|
nodes => [
|
|
|
|
"samlIDPMetaDataOptionsEncryptionMode",
|
2016-09-29 21:24:58 +02:00
|
|
|
"samlIDPMetaDataOptionsCheckTime",
|
|
|
|
"samlIDPMetaDataOptionsCheckAudience"
|
2015-05-14 08:44:38 +02:00
|
|
|
]
|
2019-02-07 23:08:34 +01:00
|
|
|
},
|
2019-03-07 18:22:16 +01:00
|
|
|
{
|
|
|
|
title => 'samlIDPMetaDataOptions',
|
2019-02-07 23:08:34 +01:00
|
|
|
help => 'authsaml.html#options',
|
|
|
|
form => 'simpleInputContainer',
|
|
|
|
nodes => [
|
|
|
|
'samlIDPMetaDataOptionsResolutionRule',
|
|
|
|
'samlIDPMetaDataOptionsNameIDFormat',
|
|
|
|
'samlIDPMetaDataOptionsForceAuthn',
|
|
|
|
'samlIDPMetaDataOptionsIsPassive',
|
|
|
|
'samlIDPMetaDataOptionsAllowProxiedAuthn',
|
|
|
|
'samlIDPMetaDataOptionsAllowLoginFromIDP',
|
|
|
|
'samlIDPMetaDataOptionsRequestedAuthnContext',
|
|
|
|
'samlIDPMetaDataOptionsRelayStateURL',
|
|
|
|
],
|
2019-02-04 23:13:54 +01:00
|
|
|
},
|
2019-03-07 18:22:16 +01:00
|
|
|
{
|
|
|
|
title => "samlIDPMetaDataOptionsDisplay",
|
2019-02-04 23:13:54 +01:00
|
|
|
form => 'simpleInputContainer',
|
|
|
|
nodes => [
|
|
|
|
"samlIDPMetaDataOptionsDisplayName",
|
2019-04-10 16:14:49 +02:00
|
|
|
"samlIDPMetaDataOptionsIcon",
|
2019-04-10 19:48:26 +02:00
|
|
|
"samlIDPMetaDataOptionsSortNumber"
|
2019-02-04 23:13:54 +01:00
|
|
|
]
|
2015-05-14 08:44:38 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
samlSPMetaDataNode => [
|
|
|
|
"samlSPMetaDataXML",
|
|
|
|
"samlSPMetaDataExportedAttributes",
|
2019-03-07 18:22:16 +01:00
|
|
|
{
|
|
|
|
title => "samlSPMetaDataOptions",
|
2015-05-14 08:44:38 +02:00
|
|
|
help => 'idpsaml.html#options',
|
2019-03-07 18:22:16 +01:00
|
|
|
nodes => [ {
|
|
|
|
title => "samlSPMetaDataOptionsAuthnResponse",
|
2015-05-14 08:44:38 +02:00
|
|
|
form => 'simpleInputContainer',
|
|
|
|
nodes => [
|
|
|
|
"samlSPMetaDataOptionsNameIDFormat",
|
|
|
|
"samlSPMetaDataOptionsNameIDSessionKey",
|
|
|
|
"samlSPMetaDataOptionsOneTimeUse",
|
|
|
|
"samlSPMetaDataOptionsSessionNotOnOrAfterTimeout",
|
2016-07-08 16:14:37 +02:00
|
|
|
"samlSPMetaDataOptionsNotOnOrAfterTimeout",
|
|
|
|
"samlSPMetaDataOptionsForceUTF8"
|
2015-05-14 08:44:38 +02:00
|
|
|
]
|
|
|
|
},
|
2019-03-07 18:22:16 +01:00
|
|
|
{
|
|
|
|
title => "samlSPMetaDataOptionsSignature",
|
2015-05-14 08:44:38 +02:00
|
|
|
form => 'simpleInputContainer',
|
|
|
|
nodes => [
|
|
|
|
"samlSPMetaDataOptionsSignSSOMessage",
|
|
|
|
"samlSPMetaDataOptionsCheckSSOMessageSignature",
|
|
|
|
"samlSPMetaDataOptionsSignSLOMessage",
|
|
|
|
"samlSPMetaDataOptionsCheckSLOMessageSignature"
|
|
|
|
]
|
|
|
|
},
|
2019-03-07 18:22:16 +01:00
|
|
|
{
|
|
|
|
title => "samlSPMetaDataOptionsSecurity",
|
2015-05-14 08:44:38 +02:00
|
|
|
form => 'simpleInputContainer',
|
|
|
|
nodes => [
|
|
|
|
"samlSPMetaDataOptionsEncryptionMode",
|
2017-03-22 21:47:09 +01:00
|
|
|
"samlSPMetaDataOptionsEnableIDPInitiatedURL",
|
2020-06-08 16:08:57 +02:00
|
|
|
"samlSPMetaDataOptionsAuthnLevel",
|
2017-03-22 21:47:09 +01:00
|
|
|
"samlSPMetaDataOptionsRule",
|
2015-05-14 08:44:38 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2019-10-29 15:20:57 +01:00
|
|
|
},
|
|
|
|
"samlSPMetaDataMacros",
|
2015-05-14 08:44:38 +02:00
|
|
|
],
|
|
|
|
oidcOPMetaDataNode => [
|
|
|
|
'oidcOPMetaDataJSON',
|
|
|
|
'oidcOPMetaDataJWKS',
|
|
|
|
'oidcOPMetaDataExportedVars',
|
2019-03-07 18:22:16 +01:00
|
|
|
{
|
|
|
|
title => 'oidcOPMetaDataOptions',
|
|
|
|
nodes => [ {
|
|
|
|
title => 'oidcOPMetaDataOptionsConfiguration',
|
2016-01-11 17:59:44 +01:00
|
|
|
form => 'simpleInputContainer',
|
2015-05-14 08:44:38 +02:00
|
|
|
nodes => [
|
|
|
|
'oidcOPMetaDataOptionsConfigurationURI',
|
|
|
|
'oidcOPMetaDataOptionsJWKSTimeout',
|
|
|
|
'oidcOPMetaDataOptionsClientID',
|
2016-09-13 15:40:02 +02:00
|
|
|
'oidcOPMetaDataOptionsClientSecret',
|
|
|
|
'oidcOPMetaDataOptionsStoreIDToken'
|
2015-05-14 08:44:38 +02:00
|
|
|
]
|
|
|
|
},
|
2019-03-07 18:22:16 +01:00
|
|
|
{
|
|
|
|
title => 'oidcOPMetaDataOptionsProtocol',
|
2016-01-11 17:59:44 +01:00
|
|
|
form => 'simpleInputContainer',
|
2015-05-14 08:44:38 +02:00
|
|
|
nodes => [
|
|
|
|
'oidcOPMetaDataOptionsScope',
|
|
|
|
'oidcOPMetaDataOptionsDisplay',
|
|
|
|
'oidcOPMetaDataOptionsPrompt',
|
|
|
|
'oidcOPMetaDataOptionsMaxAge',
|
|
|
|
'oidcOPMetaDataOptionsUiLocales',
|
|
|
|
'oidcOPMetaDataOptionsAcrValues',
|
|
|
|
'oidcOPMetaDataOptionsTokenEndpointAuthMethod',
|
|
|
|
'oidcOPMetaDataOptionsCheckJWTSignature',
|
|
|
|
'oidcOPMetaDataOptionsIDTokenMaxAge',
|
|
|
|
'oidcOPMetaDataOptionsUseNonce'
|
|
|
|
]
|
|
|
|
},
|
2019-02-07 23:08:34 +01:00
|
|
|
]
|
|
|
|
},
|
2019-03-07 18:22:16 +01:00
|
|
|
{
|
|
|
|
title => 'oidcOPMetaDataOptionsDisplayParams',
|
2019-02-07 23:20:28 +01:00
|
|
|
form => 'simpleInputContainer',
|
|
|
|
nodes => [
|
|
|
|
'oidcOPMetaDataOptionsDisplayName',
|
2019-04-10 16:37:39 +02:00
|
|
|
'oidcOPMetaDataOptionsIcon',
|
|
|
|
'oidcOPMetaDataOptionsSortNumber'
|
2019-02-07 23:20:28 +01:00
|
|
|
]
|
|
|
|
},
|
2015-05-14 08:44:38 +02:00
|
|
|
],
|
|
|
|
oidcRPMetaDataNode => [
|
|
|
|
'oidcRPMetaDataExportedVars',
|
2019-02-07 23:20:28 +01:00
|
|
|
'oidcRPMetaDataOptionsExtraClaims',
|
2019-03-07 18:22:16 +01:00
|
|
|
{
|
|
|
|
title => 'oidcRPMetaDataOptions',
|
2020-04-24 11:18:17 +02:00
|
|
|
help => 'idpopenidconnect.html#options',
|
2019-03-07 18:22:16 +01:00
|
|
|
nodes => [ {
|
2020-04-23 20:31:21 +02:00
|
|
|
title => 'oidcRPMetaDataOptionsBasic',
|
2016-01-11 17:59:44 +01:00
|
|
|
form => 'simpleInputContainer',
|
2015-05-14 08:44:38 +02:00
|
|
|
nodes => [
|
|
|
|
'oidcRPMetaDataOptionsClientID',
|
2019-04-29 10:02:16 +02:00
|
|
|
'oidcRPMetaDataOptionsClientSecret',
|
|
|
|
'oidcRPMetaDataOptionsPublic',
|
2020-04-23 20:31:21 +02:00
|
|
|
'oidcRPMetaDataOptionsRedirectUris',
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title => 'oidcRPMetaDataOptionsAdvanced',
|
|
|
|
form => 'simpleInputContainer',
|
|
|
|
nodes => [
|
|
|
|
'oidcRPMetaDataOptionsBypassConsent',
|
2020-04-24 10:31:26 +02:00
|
|
|
'oidcRPMetaDataOptionsUserIDAttr',
|
2020-04-23 20:31:21 +02:00
|
|
|
'oidcRPMetaDataOptionsIDTokenForceClaims',
|
2020-04-24 10:31:26 +02:00
|
|
|
'oidcRPMetaDataOptionsAdditionalAudiences',
|
2020-04-23 20:31:21 +02:00
|
|
|
'oidcRPMetaDataOptionsRefreshToken',
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title => 'security',
|
|
|
|
form => 'simpleInputContainer',
|
|
|
|
nodes => [
|
|
|
|
'oidcRPMetaDataOptionsIDTokenSignAlg',
|
2019-04-29 17:35:23 +02:00
|
|
|
'oidcRPMetaDataOptionsRequirePKCE',
|
2020-04-23 20:31:21 +02:00
|
|
|
'oidcRPMetaDataOptionsAllowOffline',
|
|
|
|
'oidcRPMetaDataOptionsAllowPasswordGrant',
|
2020-06-08 16:08:57 +02:00
|
|
|
'oidcRPMetaDataOptionsAuthnLevel',
|
2020-04-23 20:31:21 +02:00
|
|
|
'oidcRPMetaDataOptionsRule',
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title => 'oidcRPMetaDataOptionsTimeouts',
|
|
|
|
form => 'simpleInputContainer',
|
|
|
|
nodes => [
|
|
|
|
'oidcRPMetaDataOptionsAuthorizationCodeExpiration',
|
|
|
|
'oidcRPMetaDataOptionsIDTokenExpiration',
|
|
|
|
'oidcRPMetaDataOptionsAccessTokenExpiration',
|
|
|
|
'oidcRPMetaDataOptionsOfflineSessionExpiration',
|
2015-05-14 08:44:38 +02:00
|
|
|
]
|
|
|
|
},
|
2019-03-07 18:22:16 +01:00
|
|
|
{
|
|
|
|
title => 'logout',
|
2017-03-09 22:56:45 +01:00
|
|
|
form => 'simpleInputContainer',
|
|
|
|
nodes => [
|
2017-05-18 16:52:38 +02:00
|
|
|
'oidcRPMetaDataOptionsPostLogoutRedirectUris',
|
2017-03-09 22:56:45 +01:00
|
|
|
'oidcRPMetaDataOptionsLogoutUrl',
|
|
|
|
'oidcRPMetaDataOptionsLogoutType',
|
|
|
|
'oidcRPMetaDataOptionsLogoutSessionRequired',
|
|
|
|
]
|
|
|
|
},
|
2015-05-14 08:44:38 +02:00
|
|
|
]
|
|
|
|
},
|
2019-10-29 15:20:57 +01:00
|
|
|
'oidcRPMetaDataMacros',
|
2019-03-07 18:22:16 +01:00
|
|
|
{
|
|
|
|
title => 'oidcRPMetaDataOptionsDisplay',
|
2019-02-07 23:20:28 +01:00
|
|
|
form => 'simpleInputContainer',
|
|
|
|
nodes => [
|
|
|
|
'oidcRPMetaDataOptionsDisplayName',
|
|
|
|
'oidcRPMetaDataOptionsIcon'
|
|
|
|
],
|
|
|
|
},
|
2015-05-14 08:44:38 +02:00
|
|
|
],
|
2019-02-07 23:20:28 +01:00
|
|
|
casSrvMetaDataNode => [
|
|
|
|
'casSrvMetaDataExportedVars',
|
|
|
|
'casSrvMetaDataOptionsProxiedServices',
|
2019-03-07 18:22:16 +01:00
|
|
|
{
|
|
|
|
title => 'casSrvMetaDataOptions',
|
2018-07-23 00:13:43 +02:00
|
|
|
form => 'simpleInputContainer',
|
2017-04-12 18:45:52 +02:00
|
|
|
nodes => [
|
|
|
|
'casSrvMetaDataOptionsUrl',
|
|
|
|
'casSrvMetaDataOptionsRenew',
|
|
|
|
'casSrvMetaDataOptionsGateway',
|
2019-02-07 23:20:28 +01:00
|
|
|
]
|
|
|
|
},
|
2019-03-07 18:22:16 +01:00
|
|
|
{
|
|
|
|
title => 'casSrvMetaDataOptionsDisplay',
|
2019-02-07 23:20:28 +01:00
|
|
|
form => 'simpleInputContainer',
|
|
|
|
nodes => [
|
2017-04-13 09:42:12 +02:00
|
|
|
'casSrvMetaDataOptionsDisplayName',
|
|
|
|
'casSrvMetaDataOptionsIcon',
|
2019-04-10 21:58:28 +02:00
|
|
|
'casSrvMetaDataOptionsSortNumber',
|
2017-04-12 18:45:52 +02:00
|
|
|
]
|
|
|
|
},
|
2017-04-12 18:45:49 +02:00
|
|
|
],
|
2019-08-25 18:08:31 +02:00
|
|
|
casAppMetaDataNode => [
|
|
|
|
'casAppMetaDataExportedVars',
|
|
|
|
{
|
2019-03-07 18:22:16 +01:00
|
|
|
title => 'casAppMetaDataOptions',
|
2018-07-23 00:13:43 +02:00
|
|
|
form => 'simpleInputContainer',
|
2017-04-13 21:17:29 +02:00
|
|
|
nodes => [
|
|
|
|
'casAppMetaDataOptionsService',
|
2019-04-25 20:35:41 +02:00
|
|
|
'casAppMetaDataOptionsUserAttribute',
|
2020-06-08 16:08:57 +02:00
|
|
|
'casAppMetaDataOptionsAuthnLevel',
|
2017-04-13 21:17:29 +02:00
|
|
|
'casAppMetaDataOptionsRule'
|
|
|
|
]
|
2017-04-12 18:45:55 +02:00
|
|
|
},
|
2019-10-29 15:20:57 +01:00
|
|
|
'casAppMetaDataMacros',
|
2017-04-12 18:45:55 +02:00
|
|
|
],
|
2015-05-14 08:44:38 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
1;
|