blib/lib/Lemonldap/NG/Manager/Attributes.pm

filter: Statementstmt 57.9% 73 / 126 Branchbran 44.7% 17 / 38 Conditioncond 50.0% 9 / 18 MC/DCmcdc 41.6% 5 / 12 Subroutinesub 46.5% 41 / 88 Podpod 0.0% 0 / 3 totaltotal 50.8% 145 / 285 CC 29 SCAR 15.2
CC
29
Cov
54%
__ANON__
42.0
perlExpr
7.2
__ANON__
6.0
CRAP 4.6
« blib/lib/Lemonldap/NG/Manager/Conf/Zero.pm ↑ Summary blib/lib/Lemonldap/NG/Manager/Api/Common.pm »
1 # This file is generated by Lemonldap::NG::Manager::Build. Don't modify it by hand
2 package Lemonldap::NG::Manager::Attributes;
3  
4 28 our $VERSION = '2.23.0';
5  
6 sub perlExpr {
7 2372 ▶ my ( $val, $conf ) = @_;
Subroutine perlExpr: called CC=6 SCAR=19.7
Pod undocumented
8 2372 my $cpt = 'Safe'->new;
9 2372 $cpt->share_from( 'MIME::Base64', ['&encode_base64'] );
10 2372 $cpt->share_from(
11 'Lemonldap::NG::Handler::Main::Jail',
12 [
13 '&encrypt', '&token',
14 @Lemonldap::NG::Handler::Main::Jail::builtCustomFunctions
15 ]
16 );
17 2372 $cpt->share_from( 'Lemonldap::NG::Common::Safelib',
18 $Lemonldap::NG::Common::Safelib::functions );
19 2372 $cpt->reval("local *_;$val");
20 my $err = join(
21 '',
22 2372 ▶ grep( { $_ =~ /(?:Undefined subroutine|Devel::StackTrace)/ ? () : $_; }
Branch: 1 branch
BranchTrueFalseTotal
$_ =~ /(?:Undefined subroutine|Devel::StackTrace)/ ? : 0 0 0
23 split( /\n/, $@, 0 ) )
24 );
25 2372 ▶ return -1, "__badExpression__: $err" if $err and $conf->{'useSafeJail'};
Branch: 1 branch
BranchTrueFalseTotal
if $err and $conf->{"useSafeJail"} 0 2372 2372
Condition33%1/3
$err and $conf->{"useSafeJail"}
!ll&&!rl&&r
237200
MC/DC0%0/2
$err and $conf->{"useSafeJail"}
$err $conf->{"useSafeJail"}
Truth table33%1/3
A and B
A= $errB= $conf->{"useSafeJail"}
ABresult
0X0
100
111
26 return $val =~ qr/(?<=[^=<!>\|\?])=(?![>=~])/
27 2372 ▶ && $conf->{'avoidAssignment'} ? ( 1, '__badExpressionAssignment__' ) : 1;
Branch: 1 branch
BranchTrueFalseTotal
$val =~ qr/(?<=[^=<!>\|\?])=(?![>=~])/ && $conf->{'avoidAssignment'} ? : 2 2370 2372
Condition66%2/3
$val =~ qr/(?<=[^=<!>\|\?])=(?![>=~])/ and $conf->{"avoidAssignment"}
!ll&&!rl&&r
237002
MC/DC50%1/2
$val =~ qr/(?<=[^=<!>\|\?])=(?![>=~])/ and $conf->{"avoidAssignment"}
$val =~ qr/(?<=[^=<!>\|\?])=(?![>=~])/ $conf->{"avoidAssignment"}
Truth table66%2/3
A and B
A= $val =~ qr/(?<=[^=<!>\|\?])=(?![>=~])/B= $conf->{"avoidAssignment"}
ABresult
0X0
100
111
28 }
29  
30 sub types {
31 return {
32 'array' => {
33 'test' => sub {
34 34 ▶ 1;
Subroutine __ANON__: called CC=1 SCAR=0.0
35 }
36 },
37 'authParamsText' => {
38 'test' => sub {
39 36 ▶ 1;
Subroutine __ANON__: called CC=1 SCAR=0.0
40 }
41 },
42 'blackWhiteList' => {
43 'test' => sub {
44 11 ▶ 1;
Subroutine __ANON__: called CC=1 SCAR=0.0
45 }
46 },
47 'bool' => {
48 'msgFail' => '__notABoolean__',
49 'test' => qr/^[01]$/
50 },
51 'boolOrExpr' => {
52 'msgFail' => '__notAValidPerlExpression__',
53 'test' => sub {
54 1906 ▶ return perlExpr(@_);
Subroutine __ANON__: called CC=1 SCAR=0.0
55 }
56 },
57 'catAndAppList' => {
58 'test' => sub {
59 165 ▶ 1;
Subroutine __ANON__: called CC=1 SCAR=0.0
60 }
61 },
62 'EcOrRSAPrivateKey' => {
63 'test' => sub {
64 0 ▶ return $_[0] =~
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_[0] =~ m[^(?:(?:\-+\s*BEGIN\s+(?:(?:RSA|EC|ENCRYPTED)\s+)?PRIVATE\s+KEY\s*\-+\r?\n)?(?:Proc-Type:.*\r?\nDEK-Info:.*\r?\n[\r\n]*)?[a-zA-Z0-9/\+\r\n]+={0,2}(?:\r?\n\-+\s*END\s+(?:(?:RSA|EC|ENCRYPTED)\s+)?PRIVATE\s+KEY\s*\-+)?[\r\n]*)?$]s ? : 0 0 0
65 m[^(?:(?:\-+\s*BEGIN\s+(?:(?:RSA|EC|ENCRYPTED)\s+)?PRIVATE\s+KEY\s*\-+\r?\n)?(?:Proc-Type:.*\r?\nDEK-Info:.*\r?\n[\r\n]*)?[a-zA-Z0-9/\+\r\n]+={0,2}(?:\r?\n\-+\s*END\s+(?:(?:RSA|EC|ENCRYPTED)\s+)?PRIVATE\s+KEY\s*\-+)?[\r\n]*)?$]s
66 ? 1
67 : ( 1, '__badPemEncoding__' );
68 }
69 },
70 'EcOrRSAPublicKeyOrCertificate' => {
71 'test' => sub {
72 0 ▶ return $_[0] =~
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_[0] =~ m[^(?:(?:\-+\s*BEGIN\s+(?:PUBLIC\s+KEY|CERTIFICATE)\s*\-+\r?\n)?[a-zA-Z0-9/\+\r\n]+={0,2}(?:\r?\n\-+\s*END\s+(?:PUBLIC\s+KEY|CERTIFICATE)\s*\-+)?[\r\n]*)?$]s ? : 0 0 0
73 m[^(?:(?:\-+\s*BEGIN\s+(?:PUBLIC\s+KEY|CERTIFICATE)\s*\-+\r?\n)?[a-zA-Z0-9/\+\r\n]+={0,2}(?:\r?\n\-+\s*END\s+(?:PUBLIC\s+KEY|CERTIFICATE)\s*\-+)?[\r\n]*)?$]s
74 ? 1
75 : ( 1, '__badPemEncoding__' );
76 }
77 },
78 'file' => {
79 'test' => sub {
80 72 ▶ 1;
Subroutine __ANON__: called CC=1 SCAR=0.0
81 }
82 },
83 'hostname' => {
84 'form' => 'text',
85 'msgFail' => '__badHostname__',
86 'test' =>
87 qr/^(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a-zA-Z])[.]?)|(?:[0-9]+[.][0-9]+[.][0-9]+[.][0-9]+)))?$/
88 },
89 'int' => {
90 'msgFail' => '__notAnInteger__',
91 'test' => qr/^\-?\d+$/
92 },
93 'intOrNull' => {
94 'msgFail' => '__notAnInteger__',
95 'test' => qr/^\-?\d*$/
96 },
97 'keyText' => {
98 'keyTest' => qr/^[a-zA-Z0-9_]+$/,
99 'msgFail' => '__badValue__',
100 'test' => qr/^.*$/
101 },
102 'keyTextContainer' => {
103 'keyMsgFail' => '__badKeyName__',
104 'keyTest' => qr/^\w[\w\.\-]*$/,
105 'msgFail' => '__emptyValueNotAllowed__',
106 'test' => qr/./
107 },
108 'lmAttrOrMacro' => {
109 'form' => 'text',
110 'test' => sub {
111 90 ▶ my ( $val, $conf ) = @_;
Subroutine __ANON__: called CC=6 SCAR=17.9
112 90 ▶ return 1 if defined $conf->{'macros'}{$val} or $val =~ /^_/;
Branch: 1 branch
BranchTrueFalseTotal
if defined $conf->{"macros"}{$val} or $val =~ /^_/ 60 30 90
Condition100%3/3
defined $conf->{"macros"}{$val} or $val =~ /^_/
l!l&&r!l&&!r
501030
MC/DC100%2/2
defined $conf->{"macros"}{$val} or $val =~ /^_/
defined $conf->{"macros"}{$val} $val =~ /^_/
Truth table100%3/3
A or B
A= defined $conf->{"macros"}{$val}B= $val =~ /^_/
ABresult
1X1
011
000
113 30 foreach $_ ( keys %$conf ) {
114 return 1
115 1578 ▶ if $_ =~ /exportedvars$/i and defined $conf->{$_}{$val};
Branch: 1 branch
BranchTrueFalseTotal
if $_ =~ /exportedvars$/i and defined $conf->{$_}{$val} 30 1548 1578
Condition100%3/3
$_ =~ /exportedvars$/i and defined $conf->{$_}{$val}
!ll&&!rl&&r
14886030
MC/DC100%2/2
$_ =~ /exportedvars$/i and defined $conf->{$_}{$val}
$_ =~ /exportedvars$/i defined $conf->{$_}{$val}
Truth table100%3/3
A and B
A= $_ =~ /exportedvars$/iB= defined $conf->{$_}{$val}
ABresult
0X0
100
111
116 }
117 0 return 1, "__unknownAttrOrMacro__: $val";
118 }
119 },
120 'longtext' => {
121 'test' => sub {
122 50 ▶ 1;
Subroutine __ANON__: called CC=1 SCAR=0.0
123 }
124 },
125 'menuApp' => {
126 'test' => sub {
127 0 ▶ 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
128 }
129 },
130 'menuCat' => {
131 'test' => sub {
132 0 ▶ 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
133 }
134 },
135 'oidcAttribute' => {
136 'test' => sub {
137 0 ▶ 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
138 }
139 },
140 'oidcmetadatajson' => {
141 'test' => sub {
142 0 ▶ 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
143 }
144 },
145 'oidcmetadatajwks' => {
146 'test' => sub {
147 0 ▶ 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
148 }
149 },
150 'oidcOPMetaDataNode' => {
151 'test' => sub {
152 0 ▶ 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
153 }
154 },
155 'oidcRPMetaDataNode' => {
156 'test' => sub {
157 0 ▶ 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
158 }
159 },
160 'password' => {
161 'msgFail' => '__malformedValue__',
162 'test' => sub {
163 64 ▶ 1;
Subroutine __ANON__: called CC=1 SCAR=0.0
164 }
165 },
166 'pcre' => {
167 'form' => 'text',
168 'test' => sub {
169 234 ▶ eval {
Subroutine __ANON__: called CC=2 SCAR=7.0
170 234 do {
171 234 qr/$_[0]/;
172 }
173 };
174 234 ▶ return $@ ? ( 0, "__badRegexp__: $@" ) : 1;
Branch: 1 branch
BranchTrueFalseTotal
$@ ? : 0 234 234
175 }
176 },
177 'PerlModule' => {
178 'form' => 'text',
179 'msgFail' => '__badPerlPackageName__',
180 'test' => qr/^(?:[a-zA-Z][a-zA-Z0-9]*)*(?:::[a-zA-Z][a-zA-Z0-9]*)*$/
181 },
182 'portalskin' => {
183 'test' => sub {
184 50 ▶ 1;
Subroutine __ANON__: called CC=1 SCAR=0.0
185 }
186 },
187 'portalskinbackground' => {
188 'test' => sub {
189 0 ▶ 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
190 }
191 },
192 'post' => {
193 'test' => sub {
194 0 ▶ 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
195 }
196 },
197 'RSAPrivateKey' => {
198 'test' => sub {
199 12 ▶ return $_[0] =~
Subroutine __ANON__: called CC=2 SCAR=7.6
Branch: 1 branch
BranchTrueFalseTotal
$_[0] =~ m[^(?:(?:\-+\s*BEGIN\s+(?:(?:RSA|ENCRYPTED)\s+)?PRIVATE\s+KEY\s*\-+\r?\n)?(?:Proc-Type:.*\r?\nDEK-Info:.*\r?\n[\r\n]*)?[a-zA-Z0-9/\+\r\n]+={0,2}(?:\r?\n\-+\s*END\s+(?:(?:RSA|ENCRYPTED)\s+)?PRIVATE\s+KEY\s*\-+)?[\r\n]*)?$]s ? : 12 0 12
200 m[^(?:(?:\-+\s*BEGIN\s+(?:(?:RSA|ENCRYPTED)\s+)?PRIVATE\s+KEY\s*\-+\r?\n)?(?:Proc-Type:.*\r?\nDEK-Info:.*\r?\n[\r\n]*)?[a-zA-Z0-9/\+\r\n]+={0,2}(?:\r?\n\-+\s*END\s+(?:(?:RSA|ENCRYPTED)\s+)?PRIVATE\s+KEY\s*\-+)?[\r\n]*)?$]s
201 ? 1
202 : ( 1, '__badPemEncoding__' );
203 }
204 },
205 'RSAPublicKey' => {
206 'test' => sub {
207 0 ▶ return $_[0] =~
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_[0] =~ m[^(?:(?:\-+\s*BEGIN\s+PUBLIC\s+KEY\s*\-+\r?\n)?[a-zA-Z0-9/\+\r\n]+={0,2}(?:\r?\n\-+\s*END\s+PUBLIC\s+KEY\s*\-+)?[\r\n]*)?$]s ? : 0 0 0
208 m[^(?:(?:\-+\s*BEGIN\s+PUBLIC\s+KEY\s*\-+\r?\n)?[a-zA-Z0-9/\+\r\n]+={0,2}(?:\r?\n\-+\s*END\s+PUBLIC\s+KEY\s*\-+)?[\r\n]*)?$]s
209 ? 1
210 : ( 1, '__badPemEncoding__' );
211 }
212 },
213 'RSAPublicKeyOrCertificate' => {
214 'test' => sub {
215 12 ▶ return $_[0] =~
Subroutine __ANON__: called CC=2 SCAR=7.6
Branch: 1 branch
BranchTrueFalseTotal
$_[0] =~ m[^(?:(?:\-+\s*BEGIN\s+(?:PUBLIC\s+KEY|CERTIFICATE)\s*\-+\r?\n)?[a-zA-Z0-9/\+\r\n]+={0,2}(?:\r?\n\-+\s*END\s+(?:PUBLIC\s+KEY|CERTIFICATE)\s*\-+)?[\r\n]*)?$]s ? : 12 0 12
216 m[^(?:(?:\-+\s*BEGIN\s+(?:PUBLIC\s+KEY|CERTIFICATE)\s*\-+\r?\n)?[a-zA-Z0-9/\+\r\n]+={0,2}(?:\r?\n\-+\s*END\s+(?:PUBLIC\s+KEY|CERTIFICATE)\s*\-+)?[\r\n]*)?$]s
217 ? 1
218 : ( 1, '__badPemEncoding__' );
219 }
220 },
221 'rule' => {
222 'test' => sub {
223 0 ▶ 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
224 }
225 },
226 'samlAssertion' => {
227 'test' => sub {
228 40 ▶ 1;
Subroutine __ANON__: called CC=1 SCAR=0.0
229 }
230 },
231 'samlAttribute' => {
232 'test' => sub {
233 0 ▶ 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
234 }
235 },
236 'samlIDPMetaDataNode' => {
237 'test' => sub {
238 0 ▶ 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
239 }
240 },
241 'samlService' => {
242 'test' => sub {
243 100 ▶ 1;
Subroutine __ANON__: called CC=1 SCAR=0.0
244 }
245 },
246 'samlSPMetaDataNode' => {
247 'test' => sub {
248 0 ▶ 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
249 }
250 },
251 'select' => {
252 'test' => sub {
253 781 ▶ return 0, 'Value is not a scalar' if ref $_[0];
Subroutine __ANON__: called CC=3 SCAR=11.2
Branch: 1 branch
BranchTrueFalseTotal
if ref $_[0] 0 781 781
254 4761 my $test = grep( { $_ eq $_[0]; }
255 781 map( { $_->{'k'}; } @{ $_[2]{'select'}; } ) );
256 781 ▶ return $test
Branch: 1 branch
BranchTrueFalseTotal
$test ? : 781 0 781
257 ? 1
258 : ( 1, "Invalid value '$_[0]' for this select" );
259 }
260 },
261 'subContainer' => {
262 'keyTest' => qr/\w/,
263 'test' => sub {
264 5 ▶ 1;
Subroutine __ANON__: called CC=1 SCAR=0.0
265 }
266 },
267 'text' => {
268 'msgFail' => '__malformedValue__',
269 'test' => sub {
270 2087 ▶ 1;
Subroutine __ANON__: called CC=1 SCAR=0.0
271 }
272 },
273 107 ▶ 'trool' => {
Subroutine types: called CC=1 SCAR=0.0
Pod undocumented
274 'msgFail' => '__authorizedValues__: -1, 0, 1',
275 'test' => qr/^(?:-1|0|1)$/
276 },
277 'url' => {
278 'form' => 'text',
279 'msgFail' => '__badUrl__',
280 'test' =>
281 qr/(?:^$|(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a-zA-Z])[.]?)|(?:[0-9]+[.][0-9]+[.][0-9]+[.][0-9]+)))(?::(?:(?:[0-9]*)))?(?:\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*)(?:;(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*))*)(?:\/(?:(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*)(?:;(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*))*))*))(?:[?](?:(?:(?:[;\/?:@&=+\$,a-zA-Z0-9\-_.!~*'()]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*)))?))?))/
282 }
283 };
284 }
285  
286 sub attributes {
287 return {
288 'activeTimer' => {
289 'default' => 1,
290 'type' => 'bool'
291 },
292 'adaptativeAuthenticationLevelRules' => {
293 'keyTest' => sub {
294 0 ▶ return perlExpr(@_);
Subroutine __ANON__: not called CC=1 SCAR=6.9
295 },
296 'test' => sub {
297 0 ▶ 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
298 },
299 'type' => 'keyTextContainer'
300 },
301 'adminLogoutServerSecret' => {
302 'type' => 'text'
303 },
304 'ADPwdExpireWarning' => {
305 'default' => 0,
306 'type' => 'int'
307 },
308 'ADPwdMaxAge' => {
309 'default' => 0,
310 'type' => 'int'
311 },
312 'apacheAuthnLevel' => {
313 'default' => 3,
314 'type' => 'int'
315 },
316 'appAccessHistoryEnabled' => {
317 'default' => 0,
318 'type' => 'bool'
319 },
320 'applicationList' => {
321 'default' => {
322 'default' => {
323 'catname' => 'Default category',
324 'type' => 'category'
325 }
326 },
327 'keyTest' => qr/\w/,
328 'type' => 'catAndAppList'
329 },
330 'authChoiceAuthBasic' => {
331 'type' => 'text'
332 },
333 'authChoiceFindUser' => {
334 'type' => 'text'
335 },
336 'authChoiceModules' => {
337 'keyMsgFail' => '__badChoiceKey__',
338 'keyTest' => qr/^(\d*)?[a-zA-Z0-9_]+$/,
339 'select' => [ [ {
340 'k' => 'Apache',
341 'v' => 'Apache'
342 },
343 {
344 'k' => 'AD',
345 'v' => 'Active Directory'
346 },
347 {
348 'k' => 'CAS',
349 'v' => 'Central Authentication Service (CAS)'
350 },
351 {
352 'k' => 'DBI',
353 'v' => 'Database (DBI)'
354 },
355 {
356 'k' => 'Demo',
357 'v' => 'Demo'
358 },
359 {
360 'k' => 'Facebook',
361 'v' => 'Facebook'
362 },
363 {
364 'k' => 'GitHub',
365 'v' => 'GitHub'
366 },
367 {
368 'k' => 'GPG',
369 'v' => 'GPG'
370 },
371 {
372 'k' => 'Kerberos',
373 'v' => 'Kerberos'
374 },
375 {
376 'k' => 'LDAP',
377 'v' => 'LDAP'
378 },
379 {
380 'k' => 'LinkedIn',
381 'v' => 'LinkedIn'
382 },
383 {
384 'k' => 'PAM',
385 'v' => 'PAM'
386 },
387 {
388 'k' => 'Null',
389 'v' => 'None'
390 },
391 {
392 'k' => 'OpenID',
393 'v' => 'OpenID 2.0 (deprecated)'
394 },
395 {
396 'k' => 'OpenIDConnect',
397 'v' => 'OpenID Connect'
398 },
399 {
400 'k' => 'Proxy',
401 'v' => 'Proxy'
402 },
403 {
404 'k' => 'Radius',
405 'v' => 'Radius'
406 },
407 {
408 'k' => 'REST',
409 'v' => 'REST'
410 },
411 {
412 'k' => 'Remote',
413 'v' => 'Remote'
414 },
415 {
416 'k' => 'SAML',
417 'v' => 'SAML v2'
418 },
419 {
420 'k' => 'Slave',
421 'v' => 'Slave'
422 },
423 {
424 'k' => 'SSL',
425 'v' => 'mTLS'
426 },
427 {
428 'k' => 'Twitter',
429 'v' => 'Twitter'
430 },
431 {
432 'k' => 'WebID',
433 'v' => 'WebID (deprecated)'
434 },
435 {
436 'k' => 'WebAuthn',
437 'v' => 'WebAuthn'
438 },
439 {
440 'k' => 'Combination',
441 'v' => 'combineMods'
442 },
443 {
444 'k' => 'Custom',
445 'v' => 'customModule'
446 }
447 ],
448 [ {
449 'k' => 'AD',
450 'v' => 'Active Directory'
451 },
452 {
453 'k' => 'CAS',
454 'v' => 'Central Authentication Service (CAS)'
455 },
456 {
457 'k' => 'DBI',
458 'v' => 'Database (DBI)'
459 },
460 {
461 'k' => 'Demo',
462 'v' => 'Demo'
463 },
464 {
465 'k' => 'Facebook',
466 'v' => 'Facebook'
467 },
468 {
469 'k' => 'LDAP',
470 'v' => 'LDAP'
471 },
472 {
473 'k' => 'Null',
474 'v' => 'None'
475 },
476 {
477 'k' => 'OpenID',
478 'v' => 'OpenID 2.0 (deprecated)'
479 },
480 {
481 'k' => 'OpenIDConnect',
482 'v' => 'OpenID Connect'
483 },
484 {
485 'k' => 'Proxy',
486 'v' => 'Proxy'
487 },
488 {
489 'k' => 'REST',
490 'v' => 'REST'
491 },
492 {
493 'k' => 'Remote',
494 'v' => 'Remote'
495 },
496 {
497 'k' => 'SAML',
498 'v' => 'SAML v2'
499 },
500 {
501 'k' => 'Slave',
502 'v' => 'Slave'
503 },
504 {
505 'k' => 'WebID',
506 'v' => 'WebID (deprecated)'
507 },
508 {
509 'k' => 'Combination',
510 'v' => 'combineMods'
511 },
512 {
513 'k' => 'Custom',
514 'v' => 'customModule'
515 }
516 ],
517 [ {
518 'k' => 'AD',
519 'v' => 'Active Directory'
520 },
521 {
522 'k' => 'DBI',
523 'v' => 'Database (DBI)'
524 },
525 {
526 'k' => 'Demo',
527 'v' => 'Demo'
528 },
529 {
530 'k' => 'LDAP',
531 'v' => 'LDAP'
532 },
533 {
534 'k' => 'REST',
535 'v' => 'REST'
536 },
537 {
538 'k' => 'Null',
539 'v' => 'None'
540 },
541 {
542 'k' => 'Combination',
543 'v' => 'combineMods'
544 },
545 {
546 'k' => 'Custom',
547 'v' => 'customModule'
548 }
549 ]
550 ],
551 'test' => sub {
552 0 ▶ 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
553 },
554 'type' => 'authChoiceContainer'
555 },
556 'authChoiceParam' => {
557 'default' => 'lmAuth',
558 'type' => 'text'
559 },
560 'authChoiceSelectOnly' => {
561 'default' => 0,
562 'type' => 'bool'
563 },
564 'authentication' => {
565 'default' => 'Demo',
566 'select' => [ {
567 'k' => 'Apache',
568 'v' => 'Apache'
569 },
570 {
571 'k' => 'AD',
572 'v' => 'Active Directory'
573 },
574 {
575 'k' => 'DBI',
576 'v' => 'Database (DBI)'
577 },
578 {
579 'k' => 'Facebook',
580 'v' => 'Facebook'
581 },
582 {
583 'k' => 'GitHub',
584 'v' => 'GitHub'
585 },
586 {
587 'k' => 'GPG',
588 'v' => 'GPG'
589 },
590 {
591 'k' => 'Kerberos',
592 'v' => 'Kerberos'
593 },
594 {
595 'k' => 'LDAP',
596 'v' => 'LDAP'
597 },
598 {
599 'k' => 'LinkedIn',
600 'v' => 'LinkedIn'
601 },
602 {
603 'k' => 'PAM',
604 'v' => 'PAM'
605 },
606 {
607 'k' => 'Radius',
608 'v' => 'Radius'
609 },
610 {
611 'k' => 'REST',
612 'v' => 'REST'
613 },
614 {
615 'k' => 'SSL',
616 'v' => 'mTLS'
617 },
618 {
619 'k' => 'Twitter',
620 'v' => 'Twitter'
621 },
622 {
623 'k' => 'WebID',
624 'v' => 'WebID (deprecated)'
625 },
626 {
627 'k' => 'WebAuthn',
628 'v' => 'WebAuthn'
629 },
630 {
631 'k' => 'Demo',
632 'v' => 'Demonstration'
633 },
634 {
635 'k' => 'Choice',
636 'v' => 'authChoice'
637 },
638 {
639 'k' => 'Combination',
640 'v' => 'combineMods'
641 },
642 {
643 'k' => 'CAS',
644 'v' => 'Central Authentication Service (CAS)'
645 },
646 {
647 'k' => 'OpenID',
648 'v' => 'OpenID 2.0 (deprecated)'
649 },
650 {
651 'k' => 'OpenIDConnect',
652 'v' => 'OpenID Connect'
653 },
654 {
655 'k' => 'SAML',
656 'v' => 'SAML v2'
657 },
658 {
659 'k' => 'Proxy',
660 'v' => 'Proxy'
661 },
662 {
663 'k' => 'Remote',
664 'v' => 'Remote'
665 },
666 {
667 'k' => 'Slave',
668 'v' => 'Slave'
669 },
670 {
671 'k' => 'Null',
672 'v' => 'None'
673 },
674 {
675 'k' => 'Custom',
676 'v' => 'customModule'
677 }
678 ],
679 'type' => 'select'
680 },
681 'AuthLDAPFilter' => {
682 'type' => 'text'
683 },
684 'autoSigninRules' => {
685 'keyTest' => sub {
686 0 ▶ return perlExpr(@_);
Subroutine __ANON__: not called CC=1 SCAR=6.9
687 },
688 'test' => sub {
689 0 ▶ 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
690 },
691 'type' => 'keyTextContainer'
692 },
693 'available2F' => {
694 'default' =>
695 'TOTP,REST,Mail2F,Ext2F,WebAuthn,Yubikey,Radius,Password,Okta',
696 'type' => 'text'
697 },
698 'available2FSelfRegistration' => {
699 'default' => 'Password,TOTP,WebAuthn,Yubikey',
700 'type' => 'text'
701 },
702 'avoidAssignment' => {
703 'default' => 0,
704 'type' => 'bool'
705 },
706 'browsersDontStorePassword' => {
707 'default' => 0,
708 'type' => 'bool'
709 },
710 'bruteForceProtection' => {
711 'default' => 0,
712 'type' => 'bool'
713 },
714 'bruteForceProtectionIncrementalTempo' => {
715 'default' => 0,
716 'type' => 'bool'
717 },
718 'bruteForceProtectionLockTimes' => {
719 'default' => '15, 30, 60, 300, 600',
720 'type' => 'text'
721 },
722 'bruteForceProtectionMaxAge' => {
723 'default' => 300,
724 'type' => 'int'
725 },
726 'bruteForceProtectionMaxFailed' => {
727 'default' => 3,
728 'type' => 'int'
729 },
730 'bruteForceProtectionMaxLockTime' => {
731 'default' => 900,
732 'type' => 'int'
733 },
734 'bruteForceProtectionTempo' => {
735 'default' => 30,
736 'type' => 'int'
737 },
738 'cacheTagSalt' => {
739 'type' => 'text'
740 },
741 'captcha' => {
742 'type' => 'PerlModule'
743 },
744 'captcha_login_enabled' => {
745 'default' => 0,
746 'type' => 'boolOrExpr'
747 },
748 'captcha_mail_enabled' => {
749 'default' => 1,
750 'type' => 'boolOrExpr'
751 },
752 'captcha_register_enabled' => {
753 'default' => 1,
754 'type' => 'boolOrExpr'
755 },
756 'captcha_size' => {
757 'default' => 6,
758 'type' => 'int'
759 },
760 'captchaOptions' => {
761 'type' => 'keyTextContainer'
762 },
763 'casAccessControlPolicy' => {
764 'default' => 'none',
765 'select' => [ {
766 'k' => 'none',
767 'v' => 'None'
768 },
769 {
770 'k' => 'error',
771 'v' => 'Display error on portal'
772 },
773 {
774 'k' => 'faketicket',
775 'v' => 'Send a fake service ticket'
776 }
777 ],
778 'type' => 'select'
779 },
780 'casAppMetaDataExportedVars' => {
781 'default' => {
782 'cn' => 'cn',
783 'mail' => 'mail',
784 'uid' => 'uid'
785 },
786 'type' => 'keyTextContainer'
787 },
788 'casAppMetaDataMacros' => {
789 'default' => {},
790 'test' => {
791 'keyMsgFail' => '__badMacroName__',
792 'keyTest' => qr/^[_a-zA-Z][a-zA-Z0-9_]*$/,
793 'test' => sub {
794 8 ▶ return perlExpr(@_);
Subroutine __ANON__: called CC=1 SCAR=0.0
795 }
796 },
797 'type' => 'keyTextContainer'
798 },
799 'casAppMetaDataNodes' => {
800 'type' => 'casAppMetaDataNodeContainer'
801 },
802 'casAppMetaDataOptions' => {
803 'type' => 'subContainer'
804 },
805 'casAppMetaDataOptionsActivation' => {
806 'default' => 1,
807 'type' => 'bool'
808 },
809 'casAppMetaDataOptionsAllowProxy' => {
810 'default' => 1,
811 'type' => 'bool'
812 },
813 'casAppMetaDataOptionsAuthnLevel' => {
814 'test' => sub {
815 0 ▶ return perlExpr(@_);
Subroutine __ANON__: not called CC=1 SCAR=6.9
816 },
817 'type' => 'text'
818 },
819 'casAppMetaDataOptionsComment' => {
820 'type' => 'longtext'
821 },
822 'casAppMetaDataOptionsDisplayName' => {
823 'type' => 'text'
824 },
825 'casAppMetaDataOptionsLogout' => {
826 'default' => -1,
827 'type' => 'trool'
828 },
829 'casAppMetaDataOptionsRule' => {
830 'test' => sub {
831 5 ▶ return perlExpr(@_);
Subroutine __ANON__: called CC=1 SCAR=0.0
832 },
833 'type' => 'text'
834 },
835 'casAppMetaDataOptionsService' => {
836 'type' => 'text'
837 },
838 'casAppMetaDataOptionsUserAttribute' => {
839 'type' => 'text'
840 },
841 'casAttr' => {
842 'type' => 'text'
843 },
844 'casAttributes' => {
845 'type' => 'keyTextContainer'
846 },
847 'casAuthnLevel' => {
848 'default' => 1,
849 'type' => 'int'
850 },
851 'casBackChannelSingleLogout' => {
852 'default' => 0,
853 'type' => 'bool'
854 },
855 'casSrvMetaDataExportedVars' => {
856 'default' => {
857 'cn' => 'cn',
858 'mail' => 'mail',
859 'uid' => 'uid'
860 },
861 'type' => 'keyTextContainer'
862 },
863 'casSrvMetaDataNodes' => {
864 'type' => 'casSrvMetaDataNodeContainer'
865 },
866 'casSrvMetaDataOptions' => {
867 'type' => 'subContainer'
868 },
869 'casSrvMetaDataOptionsComment' => {
870 'type' => 'longtext'
871 },
872 'casSrvMetaDataOptionsDisplayName' => {
873 'type' => 'text'
874 },
875 'casSrvMetaDataOptionsGateway' => {
876 'default' => 0,
877 'type' => 'bool'
878 },
879 'casSrvMetaDataOptionsIcon' => {
880 'type' => 'text'
881 },
882 'casSrvMetaDataOptionsProxiedServices' => {
883 'keyMsgFail' => '__badCasProxyId__',
884 'keyTest' => qr/^\w/,
885 'type' => 'keyTextContainer'
886 },
887 'casSrvMetaDataOptionsRenew' => {
888 'default' => 0,
889 'type' => 'bool'
890 },
891 'casSrvMetaDataOptionsResolutionRule' => {
892 'default' => '',
893 'type' => 'longtext'
894 },
895 'casSrvMetaDataOptionsSamlValidate' => {
896 'type' => 'bool'
897 },
898 'casSrvMetaDataOptionsSortNumber' => {
899 'type' => 'int'
900 },
901 'casSrvMetaDataOptionsTooltip' => {
902 'type' => 'text'
903 },
904 'casSrvMetaDataOptionsUrl' => {
905 'msgFail' => '__badUrl__',
906 'test' =>
907 qr/(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a-zA-Z])[.]?)|(?:[0-9]+[.][0-9]+[.][0-9]+[.][0-9]+)))(?::(?:(?:[0-9]*)))?(?:\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*)(?:;(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*))*)(?:\/(?:(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*)(?:;(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*))*))*))(?:[?](?:(?:(?:[;\/?:@&=+\$,a-zA-Z0-9\-_.!~*'()]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*)))?))?)/,
908 'type' => 'text'
909 },
910 'casStorage' => {
911 'type' => 'PerlModule'
912 },
913 'casStorageOptions' => {
914 'type' => 'keyTextContainer'
915 },
916 'casStrictMatching' => {
917 'default' => 0,
918 'type' => 'bool'
919 },
920 'casTicketExpiration' => {
921 'default' => 0,
922 'type' => 'int'
923 },
924 'cda' => {
925 'default' => 0,
926 'type' => 'bool'
927 },
928 'certificateResetByMailCeaAttribute' => {
929 'default' => 'description',
930 'type' => 'text'
931 },
932 'certificateResetByMailCertificateAttribute' => {
933 'default' => 'userCertificate;binary',
934 'type' => 'text'
935 },
936 'certificateResetByMailStep1Body' => {
937 'type' => 'longtext'
938 },
939 'certificateResetByMailStep1Subject' => {
940 'type' => 'text'
941 },
942 'certificateResetByMailStep2Body' => {
943 'type' => 'longtext'
944 },
945 'certificateResetByMailStep2Subject' => {
946 'type' => 'text'
947 },
948 'certificateResetByMailURL' => {
949 'type' => 'url'
950 },
951 'certificateResetByMailValidityDelay' => {
952 'default' => 0,
953 'type' => 'int'
954 },
955 'cfgAuthor' => {
956 'type' => 'text'
957 },
958 'cfgAuthorIP' => {
959 'type' => 'text'
960 },
961 'cfgDate' => {
962 'type' => 'int'
963 },
964 'cfgLog' => {
965 'type' => 'longtext'
966 },
967 'cfgNum' => {
968 'default' => 0,
969 'type' => 'int'
970 },
971 'cfgVersion' => {
972 'type' => 'text'
973 },
974 'checkDevOps' => {
975 'default' => 0,
976 'type' => 'bool'
977 },
978 'checkDevOpsCheckSessionAttributes' => {
979 'default' => 1,
980 'type' => 'bool'
981 },
982 'checkDevOpsDisplayNormalizedHeaders' => {
983 'default' => 1,
984 'type' => 'bool'
985 },
986 'checkDevOpsDownload' => {
987 'default' => 1,
988 'type' => 'bool'
989 },
990 'checkEntropy' => {
991 'default' => 0,
992 'type' => 'bool'
993 },
994 'checkEntropyRequired' => {
995 'default' => 0,
996 'type' => 'bool'
997 },
998 'checkEntropyRequiredLevel' => {
999 'type' => 'int'
1000 },
1001 'checkHIBP' => {
1002 'default' => 0,
1003 'type' => 'bool'
1004 },
1005 'checkHIBPRequired' => {
1006 'default' => 1,
1007 'type' => 'bool'
1008 },
1009 'checkHIBPURL' => {
1010 'default' => 'https://api.pwnedpasswords.com/range/',
1011 'type' => 'url'
1012 },
1013 'checkMsg' => {
1014 'default' => 5,
1015 'type' => 'int'
1016 },
1017 'checkState' => {
1018 'default' => 0,
1019 'type' => 'bool'
1020 },
1021 'checkStateSecret' => {
1022 'type' => 'text'
1023 },
1024 'checkTime' => {
1025 'default' => 600,
1026 'type' => 'int'
1027 },
1028 'checkUser' => {
1029 'default' => 0,
1030 'type' => 'bool'
1031 },
1032 'checkUserDisplayComputedSession' => {
1033 'default' => 1,
1034 'type' => 'boolOrExpr'
1035 },
1036 'checkUserDisplayEmptyHeaders' => {
1037 'default' => 0,
1038 'type' => 'boolOrExpr'
1039 },
1040 'checkUserDisplayEmptyValues' => {
1041 'default' => 0,
1042 'type' => 'boolOrExpr'
1043 },
1044 'checkUserDisplayHiddenAttributes' => {
1045 'default' => 0,
1046 'type' => 'boolOrExpr'
1047 },
1048 'checkUserDisplayHistory' => {
1049 'default' => 0,
1050 'type' => 'boolOrExpr'
1051 },
1052 'checkUserDisplayNormalizedHeaders' => {
1053 'default' => 0,
1054 'type' => 'boolOrExpr'
1055 },
1056 'checkUserDisplayPersistentInfo' => {
1057 'default' => 0,
1058 'type' => 'boolOrExpr'
1059 },
1060 'checkUserHiddenAttributes' => {
1061 'default' => '_loginHistory, _session_id, hGroups',
1062 'type' => 'text'
1063 },
1064 'checkUserHiddenHeaders' => {
1065 'keyMsgFail' => '__badHostname__',
1066 'keyTest' => qr/^\S+$/,
1067 'test' => {
1068 'keyMsgFail' => '__badHeaderName__',
1069 'keyTest' => qr/^(?=[^\-])[\w\-\s]+(?<=[^-])$/,
1070 'test' => sub {
1071 0 ▶ return perlExpr(@_);
Subroutine __ANON__: not called CC=1 SCAR=6.9
1072 }
1073 },
1074 'type' => 'keyTextContainer'
1075 },
1076 'checkUserIdRule' => {
1077 'default' => 1,
1078 'test' => sub {
1079 35 ▶ return perlExpr(@_);
Subroutine __ANON__: called CC=1 SCAR=0.0
1080 },
1081 'type' => 'text'
1082 },
1083 'checkUserSearchAttributes' => {
1084 'type' => 'text'
1085 },
1086 'checkUserUnrestrictedUsersRule' => {
1087 'test' => sub {
1088 0 ▶ return perlExpr(@_);
Subroutine __ANON__: not called CC=1 SCAR=6.9
1089 },
1090 'type' => 'text'
1091 },
1092 'checkXSS' => {
1093 'default' => 1,
1094 'type' => 'bool'
1095 },
1096 'combination' => {
1097 'type' => 'text'
1098 },
1099 'combModules' => {
1100 'keyTest' => qr/^\w+$/,
1101 'select' => [ {
1102 'k' => 'Apache',
1103 'v' => 'Apache'
1104 },
1105 {
1106 'k' => 'AD',
1107 'v' => 'Active Directory'
1108 },
1109 {
1110 'k' => 'DBI',
1111 'v' => 'Database (DBI)'
1112 },
1113 {
1114 'k' => 'Facebook',
1115 'v' => 'Facebook'
1116 },
1117 {
1118 'k' => 'GitHub',
1119 'v' => 'GitHub'
1120 },
1121 {
1122 'k' => 'GPG',
1123 'v' => 'GPG'
1124 },
1125 {
1126 'k' => 'Kerberos',
1127 'v' => 'Kerberos'
1128 },
1129 {
1130 'k' => 'LDAP',
1131 'v' => 'LDAP'
1132 },
1133 {
1134 'k' => 'LinkedIn',
1135 'v' => 'LinkedIn'
1136 },
1137 {
1138 'k' => 'PAM',
1139 'v' => 'PAM'
1140 },
1141 {
1142 'k' => 'Radius',
1143 'v' => 'Radius'
1144 },
1145 {
1146 'k' => 'REST',
1147 'v' => 'REST'
1148 },
1149 {
1150 'k' => 'SSL',
1151 'v' => 'mTLS'
1152 },
1153 {
1154 'k' => 'Twitter',
1155 'v' => 'Twitter'
1156 },
1157 {
1158 'k' => 'WebID',
1159 'v' => 'WebID (deprecated)'
1160 },
1161 {
1162 'k' => 'WebAuthn',
1163 'v' => 'WebAuthn'
1164 },
1165 {
1166 'k' => 'Demo',
1167 'v' => 'Demonstration'
1168 },
1169 {
1170 'k' => 'CAS',
1171 'v' => 'Central Authentication Service (CAS)'
1172 },
1173 {
1174 'k' => 'OpenID',
1175 'v' => 'OpenID 2.0 (deprecated)'
1176 },
1177 {
1178 'k' => 'OpenIDConnect',
1179 'v' => 'OpenID Connect'
1180 },
1181 {
1182 'k' => 'SAML',
1183 'v' => 'SAML v2'
1184 },
1185 {
1186 'k' => 'Proxy',
1187 'v' => 'Proxy'
1188 },
1189 {
1190 'k' => 'Remote',
1191 'v' => 'Remote'
1192 },
1193 {
1194 'k' => 'Slave',
1195 'v' => 'Slave'
1196 },
1197 {
1198 'k' => 'Null',
1199 'v' => 'None'
1200 },
1201 {
1202 'k' => 'Custom',
1203 'v' => 'customModule'
1204 }
1205 ],
1206 'test' => sub {
1207 2 ▶ 1;
Subroutine __ANON__: called CC=1 SCAR=0.0
1208 },
1209 'type' => 'cmbModuleContainer'
1210 },
1211 'compactConf' => {
1212 'default' => 0,
1213 'type' => 'bool'
1214 },
1215 'configStorage' => {
1216 'type' => 'text'
1217 },
1218 'confirmFormMethod' => {
1219 'default' => 'post',
1220 'select' => [ {
1221 'k' => 'get',
1222 'v' => 'GET'
1223 },
1224 {
1225 'k' => 'post',
1226 'v' => 'POST'
1227 }
1228 ],
1229 'type' => 'select'
1230 },
1231 'contextSwitchingAllowed2fModifications' => {
1232 'default' => 0,
1233 'type' => 'bool'
1234 },
1235 'contextSwitchingIdRule' => {
1236 'default' => 1,
1237 'test' => sub {
1238 35 ▶ return perlExpr(@_);
Subroutine __ANON__: called CC=1 SCAR=0.0
1239 },
1240 'type' => 'text'
1241 },
1242 'contextSwitchingPrefix' => {
1243 'default' => 'switching',
1244 'type' => 'text'
1245 },
1246 'contextSwitchingRule' => {
1247 'default' => 0,
1248 'type' => 'boolOrExpr'
1249 },
1250 'contextSwitchingStopWithLogout' => {
1251 'default' => 1,
1252 'type' => 'bool'
1253 },
1254 'contextSwitchingUnrestrictedUsersRule' => {
1255 'test' => sub {
1256 0 ▶ return perlExpr(@_);
Subroutine __ANON__: not called CC=1 SCAR=6.9
1257 },
1258 'type' => 'text'
1259 },
1260 'cookieExpiration' => {
1261 'type' => 'intOrNull'
1262 },
1263 'cookieName' => {
1264 'default' => 'lemonldap',
1265 'msgFail' => '__badCookieName__',
1266 'test' => qr/^[a-zA-Z][a-zA-Z0-9_-]*$/,
1267 'type' => 'text'
1268 },
1269 'corsAllow_Credentials' => {
1270 'default' => 'true',
1271 'type' => 'text'
1272 },
1273 'corsAllow_Headers' => {
1274 'default' => '*',
1275 'type' => 'text'
1276 },
1277 'corsAllow_Methods' => {
1278 'default' => 'POST,GET',
1279 'type' => 'text'
1280 },
1281 'corsAllow_Origin' => {
1282 'default' => '*',
1283 'type' => 'text'
1284 },
1285 'corsEnabled' => {
1286 'default' => 1,
1287 'type' => 'bool'
1288 },
1289 'corsExpose_Headers' => {
1290 'default' => '*',
1291 'type' => 'text'
1292 },
1293 'corsMax_Age' => {
1294 'default' => '86400',
1295 'type' => 'text'
1296 },
1297 'crowdsec' => {
1298 'default' => 0,
1299 'type' => 'boolOrExpr'
1300 },
1301 'crowdsecAction' => {
1302 'default' => 'reject',
1303 'select' => [ {
1304 'k' => 'reject',
1305 'v' => 'Reject'
1306 },
1307 {
1308 'k' => 'warn',
1309 'v' => 'Warn'
1310 }
1311 ],
1312 'type' => 'select'
1313 },
1314 'crowdsecAgent' => {
1315 'default' => 0,
1316 'type' => 'boolOrExpr'
1317 },
1318 'crowdSecAgentResponseCode' => {
1319 'default' => 404,
1320 'type' => 'int'
1321 },
1322 'crowdSecAgentResponseValue' => {
1323 'type' => 'text'
1324 },
1325 'crowdsecBanDuration' => {
1326 'default' => '4h',
1327 'type' => 'text'
1328 },
1329 'crowdsecBlockDelay' => {
1330 'type' => 'int'
1331 },
1332 'crowdsecFilters' => {
1333 'type' => 'text'
1334 },
1335 'crowdsecIgnoreFailures' => {
1336 'default' => 0,
1337 'type' => 'bool'
1338 },
1339 'crowdsecKey' => {
1340 'type' => 'text'
1341 },
1342 'crowdsecMachineId' => {
1343 'type' => 'text'
1344 },
1345 'crowdsecMaxFailures' => {
1346 'type' => 'int'
1347 },
1348 'crowdsecPassword' => {
1349 'type' => 'text'
1350 },
1351 'crowdsecUrl' => {
1352 'type' => 'url'
1353 },
1354 'cspConnect' => {
1355 'default' => '\'self\'',
1356 'type' => 'text'
1357 },
1358 'cspDefault' => {
1359 'default' => '\'self\'',
1360 'type' => 'text'
1361 },
1362 'cspFont' => {
1363 'default' => '\'self\'',
1364 'type' => 'text'
1365 },
1366 'cspFormAction' => {
1367 'default' => '*',
1368 'type' => 'text'
1369 },
1370 'cspFrameAncestors' => {
1371 'default' => '',
1372 'type' => 'text'
1373 },
1374 'cspImg' => {
1375 'default' => '\'self\' data:',
1376 'type' => 'text'
1377 },
1378 'cspScript' => {
1379 'default' => '\'self\'',
1380 'type' => 'text'
1381 },
1382 'cspStyle' => {
1383 'default' => '\'self\'',
1384 'type' => 'text'
1385 },
1386 'customAddParams' => {
1387 'type' => 'keyTextContainer'
1388 },
1389 'customAuth' => {
1390 'type' => 'text'
1391 },
1392 'customFunctions' => {
1393 'msgFail' => '__badCustomFuncName__',
1394 'test' => qr/^(?:\w+(?:::\w+)*(?:\s+\w+(?:::\w+)*)*)?$/,
1395 'type' => 'text'
1396 },
1397 'customPassword' => {
1398 'type' => 'text'
1399 },
1400 'customPlugins' => {
1401 'type' => 'text'
1402 },
1403 'customPluginsParams' => {
1404 'type' => 'keyTextContainer'
1405 },
1406 'customRegister' => {
1407 'type' => 'text'
1408 },
1409 'customResetCertByMail' => {
1410 'type' => 'text'
1411 },
1412 'customToTrace' => {
1413 'type' => 'lmAttrOrMacro'
1414 },
1415 'customUserDB' => {
1416 'type' => 'text'
1417 },
1418 'dbiAuthChain' => {
1419 'type' => 'text'
1420 },
1421 'dbiAuthLoginCol' => {
1422 'type' => 'text'
1423 },
1424 'dbiAuthnLevel' => {
1425 'default' => 2,
1426 'type' => 'int'
1427 },
1428 'dbiAuthPassword' => {
1429 'type' => 'password'
1430 },
1431 'dbiAuthPasswordCol' => {
1432 'type' => 'text'
1433 },
1434 'dbiAuthPasswordHash' => {
1435 'type' => 'text'
1436 },
1437 'dbiAuthTable' => {
1438 'type' => 'text'
1439 },
1440 'dbiAuthUser' => {
1441 'type' => 'text'
1442 },
1443 'dbiDynamicHashEnabled' => {
1444 'type' => 'bool'
1445 },
1446 'dbiDynamicHashNewPasswordScheme' => {
1447 'type' => 'text'
1448 },
1449 'dbiDynamicHashValidSaltedSchemes' => {
1450 'type' => 'text'
1451 },
1452 'dbiDynamicHashValidSchemes' => {
1453 'type' => 'text'
1454 },
1455 'dbiExportedVars' => {
1456 'default' => {},
1457 'keyMsgFail' => '__badVariableName__',
1458 'keyTest' => qr/^!?[a-zA-Z][a-zA-Z0-9_-]*$/,
1459 'msgFail' => '__badValue__',
1460 'test' => qr/^[a-zA-Z][a-zA-Z0-9_:\-]*$/,
1461 'type' => 'keyTextContainer'
1462 },
1463 'dbiPasswordMailCol' => {
1464 'type' => 'text'
1465 },
1466 'dbiUserTable' => {
1467 'type' => 'text'
1468 },
1469 'decryptValueFunctions' => {
1470 'msgFail' => '__badCustomFuncName__',
1471 'test' => qr/^(?:\w+(?:::\w+)*(?:\s+\w+(?:::\w+)*)*)?$/,
1472 'type' => 'text'
1473 },
1474 'decryptValueRule' => {
1475 'default' => 0,
1476 'type' => 'boolOrExpr'
1477 },
1478 'defaultAuthnLevel' => {
1479 'type' => 'intOrNull'
1480 },
1481 'defaultNewKeySize' => {
1482 'default' => 2048,
1483 'type' => 'int'
1484 },
1485 'demoExportedVars' => {
1486 'default' => {
1487 'cn' => 'cn',
1488 'mail' => 'mail',
1489 'uid' => 'uid'
1490 },
1491 'keyMsgFail' => '__badVariableName__',
1492 'keyTest' => qr/^!?[a-zA-Z][a-zA-Z0-9_-]*$/,
1493 'msgFail' => '__badValue__',
1494 'test' => qr/^[a-zA-Z][a-zA-Z0-9_:\-]*$/,
1495 'type' => 'keyTextContainer'
1496 },
1497 'disabledPlugins' => {
1498 'type' => 'text'
1499 },
1500 'disablePersistentStorage' => {
1501 'default' => 0,
1502 'type' => 'bool'
1503 },
1504 'displaySessionId' => {
1505 'default' => 1,
1506 'type' => 'bool'
1507 },
1508 'domain' => {
1509 'default' => 'example.com',
1510 'msgFail' => '__badDomainName__',
1511 'test' =>
1512 qr/^(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a-zA-Z])[.]?)|#\w+#))?$/,
1513 'type' => 'text'
1514 },
1515 'eventQueueName' => {
1516 'default' => 'llng_events',
1517 'type' => 'text'
1518 },
1519 'eventStatus' => {
1520 'type' => 'bool'
1521 },
1522 'exportedAttr' => {
1523 'type' => 'text'
1524 },
1525 'exportedHeaders' => {
1526 'keyMsgFail' => '__badHostname__',
1527 'keyTest' => qr/^\S+$/,
1528 'test' => {
1529 'keyMsgFail' => '__badHeaderName__',
1530 'keyTest' => qr/^(?=[^\-])[\w\-]+(?<=[^-])$/,
1531 'test' => sub {
1532 102 ▶ return perlExpr(@_);
Subroutine __ANON__: called CC=1 SCAR=0.0
1533 }
1534 },
1535 'type' => 'keyTextContainer'
1536 },
1537 'exportedVars' => {
1538 'default' => {
1539 'UA' => 'HTTP_USER_AGENT'
1540 },
1541 'keyMsgFail' => '__badVariableName__',
1542 'keyTest' => qr/^!?[_a-zA-Z][a-zA-Z0-9_]*$/,
1543 'msgFail' => '__badValue__',
1544 'test' => qr/^[_a-zA-Z][a-zA-Z0-9_:\-]*$/,
1545 'type' => 'keyTextContainer'
1546 },
1547 'ext2fActivation' => {
1548 'default' => 0,
1549 'type' => 'boolOrExpr'
1550 },
1551 'ext2fAuthnLevel' => {
1552 'type' => 'intOrNull'
1553 },
1554 'ext2fCodeActivation' => {
1555 'default' => '\\d{6}',
1556 'type' => 'pcre'
1557 },
1558 'ext2fLabel' => {
1559 'type' => 'text'
1560 },
1561 'ext2fLogo' => {
1562 'type' => 'text'
1563 },
1564 'ext2fResendInterval' => {
1565 'type' => 'text'
1566 },
1567 'ext2FSendCommand' => {
1568 'type' => 'text'
1569 },
1570 'ext2FValidateCommand' => {
1571 'type' => 'text'
1572 },
1573 'externalMenu' => {
1574 'default' => '',
1575 'type' => 'text'
1576 },
1577 'facebookAppId' => {
1578 'type' => 'text'
1579 },
1580 'facebookAppSecret' => {
1581 'type' => 'text'
1582 },
1583 'facebookAuthnLevel' => {
1584 'default' => 1,
1585 'type' => 'int'
1586 },
1587 'facebookExportedVars' => {
1588 'default' => {},
1589 'keyMsgFail' => '__badVariableName__',
1590 'keyTest' => qr/^!?[a-zA-Z][a-zA-Z0-9_-]*$/,
1591 'msgFail' => '__badValue__',
1592 'test' => qr/^[a-zA-Z][a-zA-Z0-9_:\-]*$/,
1593 'type' => 'keyTextContainer'
1594 },
1595 'facebookUserField' => {
1596 'default' => 'id',
1597 'type' => 'text'
1598 },
1599 'failedLoginNumber' => {
1600 'default' => 5,
1601 'type' => 'int'
1602 },
1603 'findUser' => {
1604 'default' => 0,
1605 'type' => 'bool'
1606 },
1607 'findUserControl' => {
1608 'default' => '^[*\\w]+$',
1609 'type' => 'pcre'
1610 },
1611 'findUserExcludingAttributes' => {
1612 'keyTest' => qr/^\S+$/,
1613 'type' => 'keyTextContainer'
1614 },
1615 'findUserSearchingAttributes' => {
1616 'keyTest' => qr/^\S+$/,
1617 'type' => 'keyTextContainer'
1618 },
1619 'findUserWildcard' => {
1620 'default' => '*',
1621 'type' => 'text'
1622 },
1623 'floatingCategoryName' => {
1624 'type' => 'text'
1625 },
1626 'forceGlobalStorageIssuerOTT' => {
1627 'type' => 'bool'
1628 },
1629 'forceGlobalStorageUpgradeOTT' => {
1630 'type' => 'bool'
1631 },
1632 'formTimeout' => {
1633 'default' => 120,
1634 'type' => 'int'
1635 },
1636 'githubAuthnLevel' => {
1637 'default' => 1,
1638 'type' => 'int'
1639 },
1640 'githubClientID' => {
1641 'type' => 'text'
1642 },
1643 'githubClientSecret' => {
1644 'type' => 'password'
1645 },
1646 'githubScope' => {
1647 'default' => 'user:email',
1648 'type' => 'text'
1649 },
1650 'githubUserField' => {
1651 'default' => 'login',
1652 'type' => 'text'
1653 },
1654 'globalLogoutCustomParam' => {
1655 'type' => 'text'
1656 },
1657 'globalLogoutRule' => {
1658 'default' => 0,
1659 'type' => 'boolOrExpr'
1660 },
1661 'globalLogoutTimer' => {
1662 'default' => 1,
1663 'type' => 'bool'
1664 },
1665 'globalStorage' => {
1666 'default' => 'Apache::Session::File',
1667 'type' => 'PerlModule'
1668 },
1669 'globalStorageOptions' => {
1670 'default' => {
1671 'Directory' => '/var/lib/lemonldap-ng/sessions/',
1672 'generateModule' =>
1673 'Lemonldap::NG::Common::Apache::Session::Generate::SHA256',
1674 'LockDirectory' => '/var/lib/lemonldap-ng/sessions/lock/'
1675 },
1676 'type' => 'keyTextContainer'
1677 },
1678 'gpgAuthnLevel' => {
1679 'default' => 5,
1680 'type' => 'int'
1681 },
1682 'gpgDb' => {
1683 'default' => '',
1684 'type' => 'text'
1685 },
1686 'grantSessionRules' => {
1687 'default' => {},
1688 'keyTest' => sub {
1689 0 ▶ return perlExpr(@_);
Subroutine __ANON__: not called CC=1 SCAR=6.9
1690 },
1691 'test' => sub {
1692 0 ▶ 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
1693 },
1694 'type' => 'grantContainer'
1695 },
1696 'groupLDAPFilter' => {
1697 'type' => 'text'
1698 },
1699 'groups' => {
1700 'default' => {},
1701 'test' => sub {
1702 0 ▶ return perlExpr(@_);
Subroutine __ANON__: not called CC=1 SCAR=6.9
1703 },
1704 'type' => 'keyTextContainer'
1705 },
1706 'groupsBeforeMacros' => {
1707 'default' => 0,
1708 'type' => 'bool'
1709 },
1710 'handlerInternalCache' => {
1711 'default' => 15,
1712 'type' => 'int'
1713 },
1714 'handlerServiceTokenTTL' => {
1715 'default' => 30,
1716 'type' => 'int'
1717 },
1718 'hashedSessionStore' => {
1719 'default' => 0,
1720 'type' => 'bool'
1721 },
1722 'hiddenAttributes' => {
1723 'default' => '_password _2fDevices',
1724 'type' => 'text'
1725 },
1726 'hideOldPassword' => {
1727 'default' => 1,
1728 'type' => 'bool'
1729 },
1730 'httpOnly' => {
1731 'default' => 1,
1732 'type' => 'bool'
1733 },
1734 'https' => {
1735 'default' => -1,
1736 'type' => 'trool'
1737 },
1738 'impersonationHiddenAttributes' => {
1739 'default' => '_2fDevices, _loginHistory',
1740 'type' => 'text'
1741 },
1742 'impersonationIdRule' => {
1743 'default' => 1,
1744 'test' => sub {
1745 35 ▶ return perlExpr(@_);
Subroutine __ANON__: called CC=1 SCAR=0.0
1746 },
1747 'type' => 'text'
1748 },
1749 'impersonationMergeSSOgroups' => {
1750 'default' => 0,
1751 'type' => 'boolOrExpr'
1752 },
1753 'impersonationPrefix' => {
1754 'default' => 'real_',
1755 'type' => 'text'
1756 },
1757 'impersonationRule' => {
1758 'default' => 0,
1759 'type' => 'boolOrExpr'
1760 },
1761 'impersonationSkipEmptyValues' => {
1762 'default' => 1,
1763 'type' => 'bool'
1764 },
1765 'impersonationUnrestrictedUsersRule' => {
1766 'test' => sub {
1767 0 ▶ return perlExpr(@_);
Subroutine __ANON__: not called CC=1 SCAR=6.9
1768 },
1769 'type' => 'text'
1770 },
1771 'infoFormMethod' => {
1772 'default' => 'get',
1773 'select' => [ {
1774 'k' => 'get',
1775 'v' => 'GET'
1776 },
1777 {
1778 'k' => 'post',
1779 'v' => 'POST'
1780 }
1781 ],
1782 'type' => 'select'
1783 },
1784 'initializePasswordReset' => {
1785 'default' => 0,
1786 'type' => 'bool'
1787 },
1788 'initializePasswordResetSecret' => {
1789 'type' => 'password'
1790 },
1791 'issuerDBCASActivation' => {
1792 'default' => 0,
1793 'type' => 'bool'
1794 },
1795 'issuerDBCASPath' => {
1796 'default' => '^/cas/',
1797 'type' => 'pcre'
1798 },
1799 'issuerDBCASRule' => {
1800 'default' => 1,
1801 'type' => 'boolOrExpr'
1802 },
1803 'issuerDBGetActivation' => {
1804 'default' => 0,
1805 'type' => 'bool'
1806 },
1807 'issuerDBGetParameters' => {
1808 'default' => {},
1809 'keyMsgFail' => '__badHostname__',
1810 'keyTest' =>
1811 qr/^(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a-zA-Z])[.]?)$/,
1812 'test' => {
1813 'keyMsgFail' => '__badKeyName__',
1814 'keyTest' => qr/^(?=[^\-])[\w\-]+(?<=[^-])$/,
1815 'test' => sub {
1816 0 ▶ my ( $val, $conf ) = @_;
Subroutine __ANON__: not called CC=6 SCAR=37.4
1817 return 1
1818 0 ▶ if defined $conf->{'macros'}{$val} or $val eq '_timezone';
Branch: 1 branch
BranchTrueFalseTotal
if defined $conf->{"macros"}{$val} or $val eq "_timezone" 0 0 0
Condition0%0/3
defined $conf->{"macros"}{$val} or $val eq "_timezone"
l!l&&r!l&&!r
000
MC/DC0%0/2
defined $conf->{"macros"}{$val} or $val eq "_timezone"
defined $conf->{"macros"}{$val} $val eq "_timezone"
Truth table0%0/3
A or B
A= defined $conf->{"macros"}{$val}B= $val eq "_timezone"
ABresult
1X1
011
000
1819 0 foreach $_ ( keys %$conf ) {
1820 return 1
1821 if $_ =~ /exportedvars$/i
1822 0 ▶ and defined $conf->{$_}{$val};
Branch: 1 branch
BranchTrueFalseTotal
if $_ =~ /exportedvars$/i and defined $conf->{$_}{$val} 0 0 0
Condition0%0/3
$_ =~ /exportedvars$/i and defined $conf->{$_}{$val}
!ll&&!rl&&r
000
MC/DC0%0/2
$_ =~ /exportedvars$/i and defined $conf->{$_}{$val}
$_ =~ /exportedvars$/i defined $conf->{$_}{$val}
Truth table0%0/3
A and B
A= $_ =~ /exportedvars$/iB= defined $conf->{$_}{$val}
ABresult
0X0
100
111
1823 }
1824 0 return 1, "__unknownAttrOrMacro__: $val";
1825 }
1826 },
1827 'type' => 'doubleHash'
1828 },
1829 'issuerDBGetPath' => {
1830 'default' => '^/get/',
1831 'type' => 'text'
1832 },
1833 'issuerDBGetRule' => {
1834 'default' => 1,
1835 'type' => 'boolOrExpr'
1836 },
1837 'issuerDBJitsiMeetTokensActivation' => {
1838 'default' => 0,
1839 'type' => 'bool'
1840 },
1841 'issuerDBJitsiMeetTokensPath' => {
1842 'default' => '^/jitsi/',
1843 'type' => 'text'
1844 },
1845 'issuerDBJitsiMeetTokensRule' => {
1846 'default' => 1,
1847 'type' => 'boolOrExpr'
1848 },
1849 'issuerDBOpenIDActivation' => {
1850 'default' => 0,
1851 'type' => 'bool'
1852 },
1853 'issuerDBOpenIDConnectActivation' => {
1854 'default' => 0,
1855 'type' => 'bool'
1856 },
1857 'issuerDBOpenIDConnectPath' => {
1858 'default' => '^/oauth2/',
1859 'type' => 'text'
1860 },
1861 'issuerDBOpenIDConnectRule' => {
1862 'default' => 1,
1863 'type' => 'boolOrExpr'
1864 },
1865 'issuerDBOpenIDPath' => {
1866 'default' => '^/openidserver/',
1867 'type' => 'pcre'
1868 },
1869 'issuerDBOpenIDRule' => {
1870 'default' => 1,
1871 'type' => 'boolOrExpr'
1872 },
1873 'issuerDBSAMLActivation' => {
1874 'default' => 0,
1875 'type' => 'bool'
1876 },
1877 'issuerDBSAMLPath' => {
1878 'default' => '^/saml/',
1879 'type' => 'pcre'
1880 },
1881 'issuerDBSAMLRule' => {
1882 'default' => 1,
1883 'type' => 'boolOrExpr'
1884 },
1885 'issuersTimeout' => {
1886 'default' => 120,
1887 'type' => 'int'
1888 },
1889 'jitsiAppId' => {
1890 'type' => 'text'
1891 },
1892 'jitsiAppSecret' => {
1893 'type' => 'text'
1894 },
1895 'jitsiDefaultServer' => {
1896 'type' => 'url'
1897 },
1898 'jitsiExpiration' => {
1899 'default' => '300',
1900 'type' => 'int'
1901 },
1902 'jitsiIdAttribute' => {
1903 'type' => 'text'
1904 },
1905 'jitsiMailAttribute' => {
1906 'type' => 'text'
1907 },
1908 'jitsiNameAttribute' => {
1909 'type' => 'text'
1910 },
1911 'jitsiSigningAlg' => {
1912 'default' => 'RS256',
1913 'select' => [ {
1914 'k' => 'HS256',
1915 'v' => 'HS256'
1916 },
1917 {
1918 'k' => 'HS384',
1919 'v' => 'HS384'
1920 },
1921 {
1922 'k' => 'HS512',
1923 'v' => 'HS512'
1924 },
1925 {
1926 'k' => 'RS256',
1927 'v' => 'RS256'
1928 },
1929 {
1930 'k' => 'RS384',
1931 'v' => 'RS384'
1932 },
1933 {
1934 'k' => 'RS512',
1935 'v' => 'RS512'
1936 },
1937 {
1938 'k' => 'PS256',
1939 'v' => 'PS256'
1940 },
1941 {
1942 'k' => 'PS384',
1943 'v' => 'PS384'
1944 },
1945 {
1946 'k' => 'PS512',
1947 'v' => 'PS512'
1948 },
1949 {
1950 'k' => 'ES256',
1951 'v' => 'ES256'
1952 },
1953 {
1954 'k' => 'ES384',
1955 'v' => 'ES384'
1956 },
1957 {
1958 'k' => 'ES512',
1959 'v' => 'ES512'
1960 },
1961 {
1962 'k' => 'EdDSA',
1963 'v' => 'EdDSA'
1964 }
1965 ],
1966 'type' => 'select'
1967 },
1968 'jitsiSigningKey' => {
1969 'default' => 'default-oidc-sig, old-oidc-sig, new-oidc-sig',
1970 'type' => 'text'
1971 },
1972 'jsRedirect' => {
1973 'default' => 0,
1974 'type' => 'boolOrExpr'
1975 },
1976 'key' => {
1977 'type' => 'password'
1978 },
1979 'keyComment' => {
1980 'default' => '',
1981 'type' => 'text'
1982 },
1983 'keyId' => {
1984 'default' => '',
1985 'type' => 'text'
1986 },
1987 'keyNodes' => {
1988 'type' => 'keyNodeContainer'
1989 },
1990 'keyPrivate' => {
1991 'default' => '',
1992 'type' => 'EcOrRSAPrivateKey'
1993 },
1994 'keyPrivatePwd' => {
1995 'default' => '',
1996 'type' => 'password'
1997 },
1998 'keyPublic' => {
1999 'default' => '',
2000 'type' => 'EcOrRSAPublicKeyOrCertificate'
2001 },
2002 'keys' => {
2003 'type' => 'subContainer'
2004 },
2005 'krbAllowedDomains' => {
2006 'type' => 'text'
2007 },
2008 'krbAuthnLevel' => {
2009 'default' => 3,
2010 'type' => 'int'
2011 },
2012 'krbByJs' => {
2013 'default' => 0,
2014 'type' => 'bool'
2015 },
2016 'krbKeytab' => {
2017 'type' => 'text'
2018 },
2019 'krbRemoveDomain' => {
2020 'default' => 1,
2021 'type' => 'bool'
2022 },
2023 'ldapAllowResetExpiredPassword' => {
2024 'default' => 0,
2025 'type' => 'bool'
2026 },
2027 'ldapAuthnLevel' => {
2028 'default' => 2,
2029 'type' => 'int'
2030 },
2031 'ldapBase' => {
2032 'default' => 'dc=example,dc=com',
2033 'msgFail' => '__badValue__',
2034 'test' => qr/^(?:\w+=.*|)$/,
2035 'type' => 'text'
2036 },
2037 'ldapCAFile' => {
2038 'type' => 'text'
2039 },
2040 'ldapCAPath' => {
2041 'type' => 'text'
2042 },
2043 'ldapChangePasswordAsUser' => {
2044 'default' => 0,
2045 'type' => 'bool'
2046 },
2047 'ldapExportedVars' => {
2048 'default' => {
2049 'cn' => 'cn',
2050 'mail' => 'mail',
2051 'uid' => 'uid'
2052 },
2053 'keyMsgFail' => '__badVariableName__',
2054 'keyTest' => qr/^!?[a-zA-Z][a-zA-Z0-9_-]*$/,
2055 'msgFail' => '__badValue__',
2056 'test' => qr/^[a-zA-Z][a-zA-Z0-9_:\-]*$/,
2057 'type' => 'keyTextContainer'
2058 },
2059 'LDAPFilter' => {
2060 'type' => 'text'
2061 },
2062 'ldapForcePasswordChangeExpirationWarning' => {
2063 'type' => 'intOrNull'
2064 },
2065 'ldapGetUserBeforePasswordChange' => {
2066 'default' => 0,
2067 'type' => 'bool'
2068 },
2069 'ldapGroupAttributeName' => {
2070 'default' => 'member',
2071 'type' => 'text'
2072 },
2073 'ldapGroupAttributeNameGroup' => {
2074 'default' => 'dn',
2075 'type' => 'text'
2076 },
2077 'ldapGroupAttributeNameSearch' => {
2078 'default' => 'cn',
2079 'type' => 'text'
2080 },
2081 'ldapGroupAttributeNameUser' => {
2082 'default' => 'dn',
2083 'type' => 'text'
2084 },
2085 'ldapGroupBase' => {
2086 'type' => 'text'
2087 },
2088 'ldapGroupDecodeSearchedValue' => {
2089 'default' => 0,
2090 'type' => 'bool'
2091 },
2092 'ldapGroupObjectClass' => {
2093 'default' => 'groupOfNames',
2094 'type' => 'text'
2095 },
2096 'ldapGroupRecursive' => {
2097 'default' => 0,
2098 'type' => 'bool'
2099 },
2100 'ldapIOTimeout' => {
2101 'default' => 10,
2102 'type' => 'int'
2103 },
2104 'ldapITDS' => {
2105 'default' => 0,
2106 'type' => 'bool'
2107 },
2108 'ldapPasswordResetAttribute' => {
2109 'default' => 'pwdReset',
2110 'type' => 'text'
2111 },
2112 'ldapPasswordResetAttributeValue' => {
2113 'default' => 'TRUE',
2114 'type' => 'text'
2115 },
2116 'ldapPort' => {
2117 'type' => 'intOrNull'
2118 },
2119 'ldapPpolicyControl' => {
2120 'default' => 0,
2121 'type' => 'bool'
2122 },
2123 'ldapPwdEnc' => {
2124 'default' => 'utf-8',
2125 'msgFail' => '__badEncoding__',
2126 'test' => qr/^[a-zA-Z0-9_][a-zA-Z0-9_\-]*[a-zA-Z0-9_]$/,
2127 'type' => 'text'
2128 },
2129 'ldapRaw' => {
2130 'type' => 'text'
2131 },
2132 'ldapSearchDeref' => {
2133 'default' => 'find',
2134 'select' => [ {
2135 'k' => 'never',
2136 'v' => 'never'
2137 },
2138 {
2139 'k' => 'search',
2140 'v' => 'search'
2141 },
2142 {
2143 'k' => 'find',
2144 'v' => 'find'
2145 },
2146 {
2147 'k' => 'always',
2148 'v' => 'always'
2149 }
2150 ],
2151 'type' => 'select'
2152 },
2153 'ldapServer' => {
2154 'default' => 'ldap://localhost',
2155 'test' => sub {
2156 5 ▶ my $l = shift();
Subroutine __ANON__: called CC=3 SCAR=11.1
2157 5 my @s = split( /[\s,]+/, $l, 0 );
2158 5 foreach my $s (@s) {
2159 5 ▶ return 0, qq[__badLdapUri__: "$s"]
Branch: 1 branch
BranchTrueFalseTotal
unless $s =~ m[^(?:ldapi://[^/]*/?|\w[\w\-\.]*(?::\d{1,5})?|ldap(?:s|\+tls)?://\w[\w\-\.]*(?::\d{1,5})?/?.*)$] 0 5 5
2160 unless $s =~
2161 m[^(?:ldapi://[^/]*/?|\w[\w\-\.]*(?::\d{1,5})?|ldap(?:s|\+tls)?://\w[\w\-\.]*(?::\d{1,5})?/?.*)$];
2162 }
2163 5 return 1;
2164 },
2165 'type' => 'text'
2166 },
2167 'ldapSetPassword' => {
2168 'default' => 0,
2169 'type' => 'bool'
2170 },
2171 'ldapTimeout' => {
2172 'default' => 10,
2173 'type' => 'int'
2174 },
2175 'ldapUsePasswordResetAttribute' => {
2176 'default' => 1,
2177 'type' => 'bool'
2178 },
2179 'ldapVerify' => {
2180 'default' => 'require',
2181 'select' => [ {
2182 'k' => 'none',
2183 'v' => 'None'
2184 },
2185 {
2186 'k' => 'optional',
2187 'v' => 'Optional'
2188 },
2189 {
2190 'k' => 'require',
2191 'v' => 'Require'
2192 }
2193 ],
2194 'type' => 'select'
2195 },
2196 'ldapVersion' => {
2197 'default' => 3,
2198 'type' => 'int'
2199 },
2200 'linkedInAuthnLevel' => {
2201 'default' => 1,
2202 'type' => 'int'
2203 },
2204 'linkedInClientID' => {
2205 'type' => 'text'
2206 },
2207 'linkedInClientSecret' => {
2208 'type' => 'password'
2209 },
2210 'linkedInFields' => {
2211 'default' => 'id,first-name,last-name,email-address',
2212 'type' => 'text'
2213 },
2214 'linkedInScope' => {
2215 'default' => 'r_liteprofile r_emailaddress',
2216 'type' => 'text'
2217 },
2218 'linkedInUserField' => {
2219 'default' => 'emailAddress',
2220 'type' => 'text'
2221 },
2222 'localSessionStorage' => {
2223 'default' => 'Cache::FileCache',
2224 'type' => 'PerlModule'
2225 },
2226 'localSessionStorageOptions' => {
2227 'default' => {
2228 'cache_depth' => 3,
2229 'cache_root' => '/var/cache/lemonldap-ng',
2230 'default_expires_in' => 600,
2231 'directory_umask' => '007',
2232 'namespace' => 'lemonldap-ng-sessions'
2233 },
2234 'type' => 'keyTextContainer'
2235 },
2236 'localStorage' => {
2237 'type' => 'text'
2238 },
2239 'localStorageOptions' => {
2240 'type' => 'keyTextContainer'
2241 },
2242 'locationDetect' => {
2243 'default' => 0,
2244 'type' => 'bool'
2245 },
2246 'locationDetectGeoIpDatabase' => {
2247 'type' => 'text'
2248 },
2249 'locationDetectGeoIpLanguages' => {
2250 'default' => 'en, fr',
2251 'type' => 'text'
2252 },
2253 'locationDetectIpDetail' => {
2254 'type' => 'text'
2255 },
2256 'locationDetectUaDetail' => {
2257 'type' => 'text'
2258 },
2259 'locationRules' => {
2260 'default' => {
2261 'default' => 'deny'
2262 },
2263 'keyMsgFail' => '__badHostname__',
2264 'keyTest' => qr/^\S+$/,
2265 'test' => {
2266 'keyMsgFail' => '__badRegexp__',
2267 'keyTest' => sub {
2268 255 ▶ eval {
Subroutine __ANON__: called CC=2 SCAR=7.0
2269 255 do {
2270 255 qr/$_[0]/;
2271 }
2272 };
2273 255 ▶ return $@ ? 0 : 1;
Branch: 1 branch
BranchTrueFalseTotal
$@ ? : 0 255 255
2274 },
2275 'msgFail' => '__badExpression__',
2276 'test' => sub {
2277 255 ▶ my ( $val, $conf ) = @_;
Subroutine __ANON__: called CC=3 SCAR=11.0
2278 255 my $s = $val;
2279 255 ▶ if ( $s =~ s/^logout(?:_(?:sso|app(?:_sso)?))?\s*// ) {
Branch: 1 branch
BranchTrueFalseTotal
if ($s =~ s/^logout(?:_(?:sso|app(?:_sso)?))?\s*//) 100 155 255
2280 100 ▶ return $s =~ m[^(?:https?://.*)?$]
Branch: 1 branch
BranchTrueFalseTotal
$s =~ m[^(?:https?://.*)?$] ? : 100 0 100
2281 ? 1
2282 : ( 0, '__badUrl__' );
2283 }
2284 155 $s =~ s/\b(accept|deny|unprotect|skip)\b/1/g;
2285 155 return &perlExpr( $s, $conf );
2286 }
2287 },
2288 'type' => 'ruleContainer'
2289 },
2290 'log4perlConfFile' => {
2291 'type' => 'text'
2292 },
2293 'logger' => {
2294 'type' => 'text'
2295 },
2296 'loginHistoryEnabled' => {
2297 'default' => 0,
2298 'type' => 'bool'
2299 },
2300 'logLevel' => {
2301 'type' => 'text'
2302 },
2303 'logoutServices' => {
2304 'default' => {},
2305 'type' => 'keyTextContainer'
2306 },
2307 'lokiAuthorization' => {
2308 'type' => 'text'
2309 },
2310 'lokiEnv' => {
2311 'type' => 'text'
2312 },
2313 'lokiInstance' => {
2314 'type' => 'text'
2315 },
2316 'lokiLabel' => {
2317 'type' => 'text'
2318 },
2319 'lokiService' => {
2320 'type' => 'text'
2321 },
2322 'lokiTenant' => {
2323 'type' => 'text'
2324 },
2325 'lokiTenantHeader' => {
2326 'type' => 'text'
2327 },
2328 'lokiUrl' => {
2329 'type' => 'text'
2330 },
2331 'lokiUserService' => {
2332 'type' => 'text'
2333 },
2334 'lwpOpts' => {
2335 'default' => {
2336 'timeout' => 10
2337 },
2338 'type' => 'keyTextContainer'
2339 },
2340 'lwpSslOpts' => {
2341 'type' => 'keyTextContainer'
2342 },
2343 'macros' => {
2344 'default' => {},
2345 'keyMsgFail' => '__badMacroName__',
2346 'keyTest' => qr/^[_a-zA-Z][a-zA-Z0-9_]*$/,
2347 'test' => sub {
2348 50 ▶ return perlExpr(@_);
Subroutine __ANON__: called CC=1 SCAR=0.0
2349 },
2350 'type' => 'keyTextContainer'
2351 },
2352 'mail2fActivation' => {
2353 'default' => 0,
2354 'type' => 'boolOrExpr'
2355 },
2356 'mail2fAuthnLevel' => {
2357 'type' => 'intOrNull'
2358 },
2359 'mail2fBody' => {
2360 'type' => 'longtext'
2361 },
2362 'mail2fCodeRegex' => {
2363 'default' => '\\d{6}',
2364 'type' => 'pcre'
2365 },
2366 'mail2fLabel' => {
2367 'type' => 'text'
2368 },
2369 'mail2fLogo' => {
2370 'type' => 'text'
2371 },
2372 'mail2fResendInterval' => {
2373 'type' => 'text'
2374 },
2375 'mail2fSessionKey' => {
2376 'type' => 'text'
2377 },
2378 'mail2fSubject' => {
2379 'type' => 'text'
2380 },
2381 'mail2fTimeout' => {
2382 'type' => 'intOrNull'
2383 },
2384 'mailBody' => {
2385 'type' => 'longtext'
2386 },
2387 'mailCharset' => {
2388 'default' => 'utf-8',
2389 'type' => 'text'
2390 },
2391 'mailConfirmBody' => {
2392 'type' => 'longtext'
2393 },
2394 'mailConfirmSubject' => {
2395 'type' => 'text'
2396 },
2397 'mailFrom' => {
2398 'default' => 'noreply@example.com',
2399 'type' => 'text'
2400 },
2401 'mailLDAPFilter' => {
2402 'type' => 'text'
2403 },
2404 'mailOnPasswordChange' => {
2405 'default' => 0,
2406 'type' => 'bool'
2407 },
2408 'mailReplyTo' => {
2409 'type' => 'text'
2410 },
2411 'mailSessionKey' => {
2412 'default' => 'mail',
2413 'type' => 'text'
2414 },
2415 'mailSubject' => {
2416 'type' => 'text'
2417 },
2418 'mailTimeout' => {
2419 'default' => 0,
2420 'type' => 'int'
2421 },
2422 'mailUrl' => {
2423 'type' => 'url'
2424 },
2425 'maintenance' => {
2426 'default' => 0,
2427 'type' => 'bool'
2428 },
2429 'managerDn' => {
2430 'default' => '',
2431 'msgFail' => '__badValue__',
2432 'test' => qr/^.*$/,
2433 'type' => 'text'
2434 },
2435 'managerPassword' => {
2436 'default' => '',
2437 'msgFail' => '__badValue__',
2438 'test' => qr/^\S*$/,
2439 'type' => 'password'
2440 },
2441 'max2FDevices' => {
2442 'default' => 10,
2443 'type' => 'int'
2444 },
2445 'max2FDevicesNameLength' => {
2446 'default' => 20,
2447 'type' => 'int'
2448 },
2449 'messageBroker' => {
2450 'select' => [ {
2451 'k' => '',
2452 'v' => ''
2453 },
2454 {
2455 'k' => '::Redis',
2456 'v' => 'Redis'
2457 },
2458 {
2459 'k' => '::Pg',
2460 'v' => 'PostgreSQL'
2461 },
2462 {
2463 'k' => '::MQTT',
2464 'v' => 'MQTT'
2465 },
2466 {
2467 'k' => '::Web',
2468 'v' => 'Web'
2469 }
2470 ],
2471 'type' => 'select'
2472 },
2473 'messageBrokerOptions' => {
2474 'default' => {},
2475 'type' => 'keyTextContainer'
2476 },
2477 'multiValuesSeparator' => {
2478 'default' => '; ',
2479 'type' => 'authParamsText'
2480 },
2481 'mySessionAuthorizedRWKeys' => {
2482 'default' => [
2483 '_appsListOrder', '_oidcConnectedRP',
2484 '_oidcConnectedRPIDs', '_oidcConsents'
2485 ],
2486 'type' => 'array'
2487 },
2488 'newLocationWarning' => {
2489 'default' => 0,
2490 'type' => 'bool'
2491 },
2492 'newLocationWarningLocationAttribute' => {
2493 'default' => 'ipAddr',
2494 'type' => 'text'
2495 },
2496 'newLocationWarningLocationDisplayAttribute' => {
2497 'default' => '',
2498 'type' => 'text'
2499 },
2500 'newLocationWarningMailAttribute' => {
2501 'type' => 'text'
2502 },
2503 'newLocationWarningMailBody' => {
2504 'type' => 'longtext'
2505 },
2506 'newLocationWarningMailSubject' => {
2507 'type' => 'text'
2508 },
2509 'newLocationWarningMaxValues' => {
2510 'default' => '0',
2511 'type' => 'int'
2512 },
2513 'nginxCustomHandlers' => {
2514 'keyTest' => qr/^\w+$/,
2515 'msgFail' => '__badPerlPackageName__',
2516 'test' => qr/^[a-zA-Z][a-zA-Z0-9]*(?:::[a-zA-Z][a-zA-Z0-9]*)*$/,
2517 'type' => 'keyTextContainer'
2518 },
2519 'noAjaxHook' => {
2520 'default' => 0,
2521 'type' => 'bool'
2522 },
2523 'notification' => {
2524 'default' => 0,
2525 'type' => 'bool'
2526 },
2527 'notificationDefaultCond' => {
2528 'default' => '',
2529 'type' => 'text'
2530 },
2531 'notificationServer' => {
2532 'default' => 0,
2533 'type' => 'bool'
2534 },
2535 'notificationServerDELETE' => {
2536 'default' => 0,
2537 'type' => 'bool'
2538 },
2539 'notificationServerGET' => {
2540 'default' => 0,
2541 'type' => 'bool'
2542 },
2543 'notificationServerPOST' => {
2544 'default' => 1,
2545 'type' => 'bool'
2546 },
2547 'notificationServerSentAttributes' => {
2548 'default' => 'uid reference date title subtitle text check',
2549 'type' => 'text'
2550 },
2551 'notificationsExplorer' => {
2552 'default' => 0,
2553 'type' => 'bool'
2554 },
2555 'notificationsMaxRetrieve' => {
2556 'default' => 3,
2557 'type' => 'int'
2558 },
2559 'notificationStorage' => {
2560 'default' => 'File',
2561 'type' => 'PerlModule'
2562 },
2563 'notificationStorageOptions' => {
2564 'default' => {
2565 'dirName' => '/var/lib/lemonldap-ng/notifications'
2566 },
2567 'type' => 'keyTextContainer'
2568 },
2569 'notificationWildcard' => {
2570 'default' => 'allusers',
2571 'type' => 'text'
2572 },
2573 'notificationXSLTfile' => {
2574 'type' => 'text'
2575 },
2576 'notifyDeleted' => {
2577 'default' => 1,
2578 'type' => 'bool'
2579 },
2580 'notifyOther' => {
2581 'default' => 0,
2582 'type' => 'bool'
2583 },
2584 'nullAuthnLevel' => {
2585 'default' => 0,
2586 'type' => 'int'
2587 },
2588 'oidcAuthnLevel' => {
2589 'default' => 1,
2590 'type' => 'int'
2591 },
2592 'oidcDropCspHeaders' => {
2593 'type' => 'bool'
2594 },
2595 'oidcOfflineTokens' => {
2596 'type' => 'bool'
2597 },
2598 'oidcOPMetaDataExportedVars' => {
2599 'default' => {
2600 'cn' => 'name',
2601 'mail' => 'email',
2602 'sn' => 'family_name',
2603 'uid' => 'sub'
2604 },
2605 'type' => 'keyTextContainer'
2606 },
2607 'oidcOPMetaDataJSON' => {
2608 'keyTest' => sub {
2609 0 ▶ 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
2610 },
2611 'type' => 'file'
2612 },
2613 'oidcOPMetaDataJWKS' => {
2614 'keyTest' => sub {
2615 0 ▶ 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
2616 },
2617 'type' => 'file'
2618 },
2619 'oidcOPMetaDataNodes' => {
2620 'type' => 'oidcOPMetaDataNodeContainer'
2621 },
2622 'oidcOPMetaDataOptions' => {
2623 'type' => 'subContainer'
2624 },
2625 'oidcOPMetaDataOptionsAcrValues' => {
2626 'type' => 'text'
2627 },
2628 'oidcOPMetaDataOptionsAuthEndpointExtraParams' => {
2629 'type' => 'keyTextContainer'
2630 },
2631 'oidcOPMetaDataOptionsAuthnEndpointAuthMethod' => {
2632 'select' => [ {
2633 'k' => '',
2634 'v' => 'None'
2635 },
2636 {
2637 'k' => 'jws',
2638 'v' => 'Signed JWT'
2639 }
2640 ],
2641 'type' => 'select'
2642 },
2643 'oidcOPMetaDataOptionsAuthnEndpointAuthSigAlg' => {
2644 'default' => 'RS256',
2645 'select' => [ {
2646 'k' => 'HS256',
2647 'v' => 'HS256'
2648 },
2649 {
2650 'k' => 'HS384',
2651 'v' => 'HS384'
2652 },
2653 {
2654 'k' => 'HS512',
2655 'v' => 'HS512'
2656 },
2657 {
2658 'k' => 'RS256',
2659 'v' => 'RS256'
2660 },
2661 {
2662 'k' => 'RS384',
2663 'v' => 'RS384'
2664 },
2665 {
2666 'k' => 'RS512',
2667 'v' => 'RS512'
2668 },
2669 {
2670 'k' => 'PS256',
2671 'v' => 'PS256'
2672 },
2673 {
2674 'k' => 'PS384',
2675 'v' => 'PS384'
2676 },
2677 {
2678 'k' => 'PS512',
2679 'v' => 'PS512'
2680 },
2681 {
2682 'k' => 'ES256',
2683 'v' => 'ES256'
2684 },
2685 {
2686 'k' => 'ES384',
2687 'v' => 'ES384'
2688 },
2689 {
2690 'k' => 'ES512',
2691 'v' => 'ES512'
2692 },
2693 {
2694 'k' => 'EdDSA',
2695 'v' => 'EdDSA'
2696 }
2697 ],
2698 'type' => 'select'
2699 },
2700 'oidcOPMetaDataOptionsCheckJWTSignature' => {
2701 'default' => 1,
2702 'type' => 'bool'
2703 },
2704 'oidcOPMetaDataOptionsClientID' => {
2705 'type' => 'text'
2706 },
2707 'oidcOPMetaDataOptionsClientSecret' => {
2708 'type' => 'password'
2709 },
2710 'oidcOPMetaDataOptionsComment' => {
2711 'type' => 'longtext'
2712 },
2713 'oidcOPMetaDataOptionsConfigurationURI' => {
2714 'type' => 'url'
2715 },
2716 'oidcOPMetaDataOptionsDisplay' => {
2717 'default' => '',
2718 'select' => [ {
2719 'k' => '',
2720 'v' => ''
2721 },
2722 {
2723 'k' => 'page',
2724 'v' => 'page'
2725 },
2726 {
2727 'k' => 'popup',
2728 'v' => 'popup'
2729 },
2730 {
2731 'k' => 'touch',
2732 'v' => 'touch'
2733 },
2734 {
2735 'k' => 'wap',
2736 'v' => 'wap'
2737 }
2738 ],
2739 'type' => 'select'
2740 },
2741 'oidcOPMetaDataOptionsDisplayName' => {
2742 'type' => 'text'
2743 },
2744 'oidcOPMetaDataOptionsIcon' => {
2745 'type' => 'text'
2746 },
2747 'oidcOPMetaDataOptionsIDTokenMaxAge' => {
2748 'default' => 30,
2749 'type' => 'int'
2750 },
2751 'oidcOPMetaDataOptionsJWKSTimeout' => {
2752 'default' => 0,
2753 'type' => 'int'
2754 },
2755 'oidcOPMetaDataOptionsMaxAge' => {
2756 'default' => 0,
2757 'type' => 'int'
2758 },
2759 'oidcOPMetaDataOptionsNoJwtHeader' => {
2760 'default' => 0,
2761 'type' => 'bool'
2762 },
2763 'oidcOPMetaDataOptionsPrompt' => {
2764 'type' => 'text'
2765 },
2766 'oidcOPMetaDataOptionsRequireIss' => {
2767 'default' => 0,
2768 'type' => 'bool'
2769 },
2770 'oidcOPMetaDataOptionsRequirePkce' => {
2771 'default' => 0,
2772 'type' => 'bool'
2773 },
2774 'oidcOPMetaDataOptionsResolutionRule' => {
2775 'default' => '',
2776 'type' => 'longtext'
2777 },
2778 'oidcOPMetaDataOptionsScope' => {
2779 'default' => 'openid profile',
2780 'type' => 'text'
2781 },
2782 'oidcOPMetaDataOptionsSigningKey' => {
2783 'default' => '',
2784 'type' => 'text'
2785 },
2786 'oidcOPMetaDataOptionsSortNumber' => {
2787 'type' => 'int'
2788 },
2789 'oidcOPMetaDataOptionsStoreIDToken' => {
2790 'default' => 0,
2791 'type' => 'bool'
2792 },
2793 'oidcOPMetaDataOptionsTokenEndpointAuthMethod' => {
2794 'default' => 'client_secret_post',
2795 'select' => [ {
2796 'k' => 'client_secret_post',
2797 'v' => 'client_secret_post'
2798 },
2799 {
2800 'k' => 'client_secret_basic',
2801 'v' => 'client_secret_basic'
2802 },
2803 {
2804 'k' => 'client_secret_jwt',
2805 'v' => 'client_secret_jwt'
2806 },
2807 {
2808 'k' => 'private_key_jwt',
2809 'v' => 'private_key_jwt'
2810 }
2811 ],
2812 'type' => 'select'
2813 },
2814 'oidcOPMetaDataOptionsTokenEndpointAuthSigAlg' => {
2815 'default' => 'RS256',
2816 'select' => [ {
2817 'k' => 'HS256',
2818 'v' => 'HS256'
2819 },
2820 {
2821 'k' => 'HS384',
2822 'v' => 'HS384'
2823 },
2824 {
2825 'k' => 'HS512',
2826 'v' => 'HS512'
2827 },
2828 {
2829 'k' => 'RS256',
2830 'v' => 'RS256'
2831 },
2832 {
2833 'k' => 'RS384',
2834 'v' => 'RS384'
2835 },
2836 {
2837 'k' => 'RS512',
2838 'v' => 'RS512'
2839 },
2840 {
2841 'k' => 'PS256',
2842 'v' => 'PS256'
2843 },
2844 {
2845 'k' => 'PS384',
2846 'v' => 'PS384'
2847 },
2848 {
2849 'k' => 'PS512',
2850 'v' => 'PS512'
2851 },
2852 {
2853 'k' => 'ES256',
2854 'v' => 'ES256'
2855 },
2856 {
2857 'k' => 'ES384',
2858 'v' => 'ES384'
2859 },
2860 {
2861 'k' => 'ES512',
2862 'v' => 'ES512'
2863 },
2864 {
2865 'k' => 'EdDSA',
2866 'v' => 'EdDSA'
2867 }
2868 ],
2869 'type' => 'select'
2870 },
2871 'oidcOPMetaDataOptionsTooltip' => {
2872 'type' => 'text'
2873 },
2874 'oidcOPMetaDataOptionsUiLocales' => {
2875 'type' => 'text'
2876 },
2877 'oidcOPMetaDataOptionsUseNonce' => {
2878 'default' => 1,
2879 'type' => 'bool'
2880 },
2881 'oidcOPMetaDataOptionsUserAttribute' => {
2882 'type' => 'text'
2883 },
2884 'oidcOPMetaDataOptionsUserinfoSource' => {
2885 'default' => 'userinfo',
2886 'select' => [ {
2887 'k' => 'userinfo',
2888 'v' => 'Userinfo endpoint'
2889 },
2890 {
2891 'k' => 'id_token',
2892 'v' => 'ID Token'
2893 },
2894 {
2895 'k' => 'access_token',
2896 'v' => 'Access Token'
2897 }
2898 ],
2899 'type' => 'select'
2900 },
2901 'oidcRPCallbackGetParam' => {
2902 'default' => 'openidconnectcallback',
2903 'type' => 'text'
2904 },
2905 'oidcRPMetaDataExportedVars' => {
2906 'default' => {
2907 'email' => 'mail',
2908 'name' => 'cn',
2909 'preferred_username' => 'uid'
2910 },
2911 'keyTest' => qr/\w/,
2912 'test' => qr/\w/,
2913 'type' => 'oidcAttributeContainer'
2914 },
2915 'oidcRPMetaDataMacros' => {
2916 'default' => {},
2917 'test' => {
2918 'keyMsgFail' => '__badMacroName__',
2919 'keyTest' => qr/^[_a-zA-Z][a-zA-Z0-9_]*$/,
2920 'test' => sub {
2921 8 ▶ return perlExpr(@_);
Subroutine __ANON__: called CC=1 SCAR=0.0
2922 }
2923 },
2924 'type' => 'keyTextContainer'
2925 },
2926 'oidcRPMetaDataNodes' => {
2927 'type' => 'oidcRPMetaDataNodeContainer'
2928 },
2929 'oidcRPMetaDataOptions' => {
2930 'type' => 'subContainer'
2931 },
2932 'oidcRPMetaDataOptionsAccessTokenClaims' => {
2933 'default' => 0,
2934 'type' => 'bool'
2935 },
2936 'oidcRPMetaDataOptionsAccessTokenEncContentEncAlg' => {
2937 'default' => 'A256GCM',
2938 'select' => [ {
2939 'k' => 'A256CBC-HS512',
2940 'v' => 'A256CBC-HS512'
2941 },
2942 {
2943 'k' => 'A256GCM',
2944 'v' => 'A256GCM'
2945 },
2946 {
2947 'k' => 'A192CBC-HS384',
2948 'v' => 'A192CBC-HS384'
2949 },
2950 {
2951 'k' => 'A192GCM',
2952 'v' => 'A192GCM'
2953 },
2954 {
2955 'k' => 'A128CBC-HS256',
2956 'v' => 'A128CBC-HS256'
2957 },
2958 {
2959 'k' => 'A128GCM',
2960 'v' => 'A128GCM'
2961 }
2962 ],
2963 'type' => 'select'
2964 },
2965 'oidcRPMetaDataOptionsAccessTokenEncKeyMgtAlg' => {
2966 'select' => [ {
2967 'k' => '',
2968 'v' => 'None'
2969 },
2970 {
2971 'k' => 'RSA-OAEP',
2972 'v' => 'RSA-OAEP'
2973 },
2974 {
2975 'k' => 'RSA-OAEP-256',
2976 'v' => 'RSA-OAEP-256'
2977 },
2978 {
2979 'k' => 'RSA1_5',
2980 'v' => 'RSA1_5'
2981 },
2982 {
2983 'k' => 'ECDH-ES',
2984 'v' => 'ECDH-ES'
2985 },
2986 {
2987 'k' => 'ECDH-ES+A128KW',
2988 'v' => 'ECDH-ES+A128KW'
2989 },
2990 {
2991 'k' => 'ECDH-ES+A192KW',
2992 'v' => 'ECDH-ES+A192KW'
2993 },
2994 {
2995 'k' => 'ECDH-ES+A256KW',
2996 'v' => 'ECDH-ES+A256KW'
2997 }
2998 ],
2999 'type' => 'select'
3000 },
3001 'oidcRPMetaDataOptionsAccessTokenExpiration' => {
3002 'type' => 'intOrNull'
3003 },
3004 'oidcRPMetaDataOptionsAccessTokenJWT' => {
3005 'default' => 0,
3006 'type' => 'bool'
3007 },
3008 'oidcRPMetaDataOptionsAccessTokenSignAlg' => {
3009 'default' => 'RS256',
3010 'select' => [ {
3011 'k' => 'HS256',
3012 'v' => 'HS256'
3013 },
3014 {
3015 'k' => 'HS384',
3016 'v' => 'HS384'
3017 },
3018 {
3019 'k' => 'HS512',
3020 'v' => 'HS512'
3021 },
3022 {
3023 'k' => 'RS256',
3024 'v' => 'RS256'
3025 },
3026 {
3027 'k' => 'RS384',
3028 'v' => 'RS384'
3029 },
3030 {
3031 'k' => 'RS512',
3032 'v' => 'RS512'
3033 },
3034 {
3035 'k' => 'PS256',
3036 'v' => 'PS256'
3037 },
3038 {
3039 'k' => 'PS384',
3040 'v' => 'PS384'
3041 },
3042 {
3043 'k' => 'PS512',
3044 'v' => 'PS512'
3045 },
3046 {
3047 'k' => 'ES256',
3048 'v' => 'ES256'
3049 },
3050 {
3051 'k' => 'ES384',
3052 'v' => 'ES384'
3053 },
3054 {
3055 'k' => 'ES512',
3056 'v' => 'ES512'
3057 },
3058 {
3059 'k' => 'EdDSA',
3060 'v' => 'EdDSA'
3061 }
3062 ],
3063 'type' => 'select'
3064 },
3065 'oidcRPMetaDataOptionsActivation' => {
3066 'default' => 1,
3067 'type' => 'bool'
3068 },
3069 'oidcRPMetaDataOptionsAdditionalAudiences' => {
3070 'type' => 'text'
3071 },
3072 'oidcRPMetaDataOptionsAllowClientCredentialsGrant' => {
3073 'default' => 0,
3074 'type' => 'bool'
3075 },
3076 'oidcRPMetaDataOptionsAllowNativeSso' => {
3077 'default' => 0,
3078 'type' => 'bool'
3079 },
3080 'oidcRPMetaDataOptionsAllowOffline' => {
3081 'default' => 0,
3082 'type' => 'bool'
3083 },
3084 'oidcRPMetaDataOptionsAllowPasswordGrant' => {
3085 'default' => 0,
3086 'type' => 'bool'
3087 },
3088 'oidcRPMetaDataOptionsAuthMethod' => {
3089 'select' => [ {
3090 'k' => '',
3091 'v' => 'Any'
3092 },
3093 {
3094 'k' => 'client_secret_post',
3095 'v' => 'client_secret_post'
3096 },
3097 {
3098 'k' => 'client_secret_basic',
3099 'v' => 'client_secret_basic'
3100 },
3101 {
3102 'k' => 'client_secret_jwt',
3103 'v' => 'client_secret_jwt'
3104 },
3105 {
3106 'k' => 'private_key_jwt',
3107 'v' => 'private_key_jwt'
3108 }
3109 ],
3110 'type' => 'select'
3111 },
3112 'oidcRPMetaDataOptionsAuthnLevel' => {
3113 'test' => sub {
3114 0 ▶ return perlExpr(@_);
Subroutine __ANON__: not called CC=1 SCAR=6.9
3115 },
3116 'type' => 'text'
3117 },
3118 'oidcRPMetaDataOptionsAuthnRequireNonce' => {
3119 'default' => 0,
3120 'type' => 'bool'
3121 },
3122 'oidcRPMetaDataOptionsAuthnRequireState' => {
3123 'default' => 0,
3124 'type' => 'bool'
3125 },
3126 'oidcRPMetaDataOptionsAuthorizationCodeExpiration' => {
3127 'type' => 'intOrNull'
3128 },
3129 'oidcRPMetaDataOptionsAuthRequiredForAuthorize' => {
3130 'default' => 0,
3131 'type' => 'bool'
3132 },
3133 'oidcRPMetaDataOptionsBypassConsent' => {
3134 'default' => 0,
3135 'type' => 'bool'
3136 },
3137 'oidcRPMetaDataOptionsClientID' => {
3138 'type' => 'text'
3139 },
3140 'oidcRPMetaDataOptionsClientSecret' => {
3141 'type' => 'password'
3142 },
3143 'oidcRPMetaDataOptionsComment' => {
3144 'type' => 'longtext'
3145 },
3146 'oidcRPMetaDataOptionsDisplayName' => {
3147 'type' => 'text'
3148 },
3149 'oidcRPMetaDataOptionsExtraClaims' => {
3150 'default' => {},
3151 'keyTest' => qr/^[\x21\x23-\x5B\x5D-\x7E]+$/,
3152 'type' => 'keyTextContainer'
3153 },
3154 'oidcRPMetaDataOptionsIcon' => {
3155 'type' => 'text'
3156 },
3157 'oidcRPMetaDataOptionsIdTokenEncContentEncAlg' => {
3158 'default' => 'A256GCM',
3159 'select' => [ {
3160 'k' => 'A256CBC-HS512',
3161 'v' => 'A256CBC-HS512'
3162 },
3163 {
3164 'k' => 'A256GCM',
3165 'v' => 'A256GCM'
3166 },
3167 {
3168 'k' => 'A192CBC-HS384',
3169 'v' => 'A192CBC-HS384'
3170 },
3171 {
3172 'k' => 'A192GCM',
3173 'v' => 'A192GCM'
3174 },
3175 {
3176 'k' => 'A128CBC-HS256',
3177 'v' => 'A128CBC-HS256'
3178 },
3179 {
3180 'k' => 'A128GCM',
3181 'v' => 'A128GCM'
3182 }
3183 ],
3184 'type' => 'select'
3185 },
3186 'oidcRPMetaDataOptionsIdTokenEncKeyMgtAlg' => {
3187 'select' => [ {
3188 'k' => '',
3189 'v' => 'None'
3190 },
3191 {
3192 'k' => 'RSA-OAEP',
3193 'v' => 'RSA-OAEP'
3194 },
3195 {
3196 'k' => 'RSA-OAEP-256',
3197 'v' => 'RSA-OAEP-256'
3198 },
3199 {
3200 'k' => 'RSA1_5',
3201 'v' => 'RSA1_5'
3202 },
3203 {
3204 'k' => 'ECDH-ES',
3205 'v' => 'ECDH-ES'
3206 },
3207 {
3208 'k' => 'ECDH-ES+A128KW',
3209 'v' => 'ECDH-ES+A128KW'
3210 },
3211 {
3212 'k' => 'ECDH-ES+A192KW',
3213 'v' => 'ECDH-ES+A192KW'
3214 },
3215 {
3216 'k' => 'ECDH-ES+A256KW',
3217 'v' => 'ECDH-ES+A256KW'
3218 }
3219 ],
3220 'type' => 'select'
3221 },
3222 'oidcRPMetaDataOptionsIDTokenExpiration' => {
3223 'type' => 'intOrNull'
3224 },
3225 'oidcRPMetaDataOptionsIDTokenForceClaims' => {
3226 'default' => 0,
3227 'type' => 'bool'
3228 },
3229 'oidcRPMetaDataOptionsIDTokenSignAlg' => {
3230 'default' => 'RS256',
3231 'select' => [ {
3232 'k' => 'none',
3233 'v' => 'None'
3234 },
3235 {
3236 'k' => 'HS256',
3237 'v' => 'HS256'
3238 },
3239 {
3240 'k' => 'HS384',
3241 'v' => 'HS384'
3242 },
3243 {
3244 'k' => 'HS512',
3245 'v' => 'HS512'
3246 },
3247 {
3248 'k' => 'RS256',
3249 'v' => 'RS256'
3250 },
3251 {
3252 'k' => 'RS384',
3253 'v' => 'RS384'
3254 },
3255 {
3256 'k' => 'RS512',
3257 'v' => 'RS512'
3258 },
3259 {
3260 'k' => 'PS256',
3261 'v' => 'PS256'
3262 },
3263 {
3264 'k' => 'PS384',
3265 'v' => 'PS384'
3266 },
3267 {
3268 'k' => 'PS512',
3269 'v' => 'PS512'
3270 },
3271 {
3272 'k' => 'ES256',
3273 'v' => 'ES256'
3274 },
3275 {
3276 'k' => 'ES384',
3277 'v' => 'ES384'
3278 },
3279 {
3280 'k' => 'ES512',
3281 'v' => 'ES512'
3282 },
3283 {
3284 'k' => 'EdDSA',
3285 'v' => 'EdDSA'
3286 }
3287 ],
3288 'type' => 'select'
3289 },
3290 'oidcRPMetaDataOptionsIntrospectionEncContentEncAlg' => {
3291 'default' => 'A256GCM',
3292 'select' => [ {
3293 'k' => 'A256CBC-HS512',
3294 'v' => 'A256CBC-HS512'
3295 },
3296 {
3297 'k' => 'A256GCM',
3298 'v' => 'A256GCM'
3299 },
3300 {
3301 'k' => 'A192CBC-HS384',
3302 'v' => 'A192CBC-HS384'
3303 },
3304 {
3305 'k' => 'A192GCM',
3306 'v' => 'A192GCM'
3307 },
3308 {
3309 'k' => 'A128CBC-HS256',
3310 'v' => 'A128CBC-HS256'
3311 },
3312 {
3313 'k' => 'A128GCM',
3314 'v' => 'A128GCM'
3315 }
3316 ],
3317 'type' => 'select'
3318 },
3319 'oidcRPMetaDataOptionsIntrospectionEncKeyMgtAlg' => {
3320 'select' => [ {
3321 'k' => '',
3322 'v' => 'None'
3323 },
3324 {
3325 'k' => 'RSA-OAEP',
3326 'v' => 'RSA-OAEP'
3327 },
3328 {
3329 'k' => 'RSA-OAEP-256',
3330 'v' => 'RSA-OAEP-256'
3331 },
3332 {
3333 'k' => 'RSA1_5',
3334 'v' => 'RSA1_5'
3335 },
3336 {
3337 'k' => 'ECDH-ES',
3338 'v' => 'ECDH-ES'
3339 },
3340 {
3341 'k' => 'ECDH-ES+A128KW',
3342 'v' => 'ECDH-ES+A128KW'
3343 },
3344 {
3345 'k' => 'ECDH-ES+A192KW',
3346 'v' => 'ECDH-ES+A192KW'
3347 },
3348 {
3349 'k' => 'ECDH-ES+A256KW',
3350 'v' => 'ECDH-ES+A256KW'
3351 }
3352 ],
3353 'type' => 'select'
3354 },
3355 'oidcRPMetaDataOptionsIntrospectionSignAlg' => {
3356 'default' => '',
3357 'select' => [ {
3358 'k' => '',
3359 'v' => 'JSON'
3360 },
3361 {
3362 'k' => 'HS256',
3363 'v' => 'HS256'
3364 },
3365 {
3366 'k' => 'HS384',
3367 'v' => 'HS384'
3368 },
3369 {
3370 'k' => 'HS512',
3371 'v' => 'HS512'
3372 },
3373 {
3374 'k' => 'RS256',
3375 'v' => 'RS256'
3376 },
3377 {
3378 'k' => 'RS384',
3379 'v' => 'RS384'
3380 },
3381 {
3382 'k' => 'RS512',
3383 'v' => 'RS512'
3384 },
3385 {
3386 'k' => 'PS256',
3387 'v' => 'PS256'
3388 },
3389 {
3390 'k' => 'PS384',
3391 'v' => 'PS384'
3392 },
3393 {
3394 'k' => 'PS512',
3395 'v' => 'PS512'
3396 },
3397 {
3398 'k' => 'ES256',
3399 'v' => 'ES256'
3400 },
3401 {
3402 'k' => 'ES384',
3403 'v' => 'ES384'
3404 },
3405 {
3406 'k' => 'ES512',
3407 'v' => 'ES512'
3408 },
3409 {
3410 'k' => 'EdDSA',
3411 'v' => 'EdDSA'
3412 }
3413 ],
3414 'type' => 'select'
3415 },
3416 'oidcRPMetaDataOptionsJwks' => {
3417 'keyTest' => sub {
3418 0 ▶ 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
3419 },
3420 'type' => 'file'
3421 },
3422 'oidcRPMetaDataOptionsJwksUri' => {
3423 'type' => 'url'
3424 },
3425 'oidcRPMetaDataOptionsLogoutBypassConfirm' => {
3426 'default' => 0,
3427 'type' => 'bool'
3428 },
3429 'oidcRPMetaDataOptionsLogoutEncContentEncAlg' => {
3430 'default' => 'A256GCM',
3431 'select' => [ {
3432 'k' => 'A256CBC-HS512',
3433 'v' => 'A256CBC-HS512'
3434 },
3435 {
3436 'k' => 'A256GCM',
3437 'v' => 'A256GCM'
3438 },
3439 {
3440 'k' => 'A192CBC-HS384',
3441 'v' => 'A192CBC-HS384'
3442 },
3443 {
3444 'k' => 'A192GCM',
3445 'v' => 'A192GCM'
3446 },
3447 {
3448 'k' => 'A128CBC-HS256',
3449 'v' => 'A128CBC-HS256'
3450 },
3451 {
3452 'k' => 'A128GCM',
3453 'v' => 'A128GCM'
3454 }
3455 ],
3456 'type' => 'select'
3457 },
3458 'oidcRPMetaDataOptionsLogoutEncKeyMgtAlg' => {
3459 'select' => [ {
3460 'k' => '',
3461 'v' => 'None'
3462 },
3463 {
3464 'k' => 'RSA-OAEP',
3465 'v' => 'RSA-OAEP'
3466 },
3467 {
3468 'k' => 'RSA-OAEP-256',
3469 'v' => 'RSA-OAEP-256'
3470 },
3471 {
3472 'k' => 'RSA1_5',
3473 'v' => 'RSA1_5'
3474 },
3475 {
3476 'k' => 'ECDH-ES',
3477 'v' => 'ECDH-ES'
3478 },
3479 {
3480 'k' => 'ECDH-ES+A128KW',
3481 'v' => 'ECDH-ES+A128KW'
3482 },
3483 {
3484 'k' => 'ECDH-ES+A192KW',
3485 'v' => 'ECDH-ES+A192KW'
3486 },
3487 {
3488 'k' => 'ECDH-ES+A256KW',
3489 'v' => 'ECDH-ES+A256KW'
3490 }
3491 ],
3492 'type' => 'select'
3493 },
3494 'oidcRPMetaDataOptionsLogoutSessionRequired' => {
3495 'default' => 0,
3496 'type' => 'bool'
3497 },
3498 'oidcRPMetaDataOptionsLogoutType' => {
3499 'default' => 'front',
3500 'select' => [ {
3501 'k' => 'front',
3502 'v' => 'Front Channel'
3503 },
3504 {
3505 'k' => 'back',
3506 'v' => 'Back Channel'
3507 }
3508 ],
3509 'type' => 'select'
3510 },
3511 'oidcRPMetaDataOptionsLogoutUrl' => {
3512 'type' => 'text'
3513 },
3514 'oidcRPMetaDataOptionsNoJwtHeader' => {
3515 'default' => 0,
3516 'type' => 'bool'
3517 },
3518 'oidcRPMetaDataOptionsOfflineSessionExpiration' => {
3519 'type' => 'intOrNull'
3520 },
3521 'oidcRPMetaDataOptionsPostLogoutRedirectUris' => {
3522 'type' => 'text'
3523 },
3524 'oidcRPMetaDataOptionsPublic' => {
3525 'default' => 0,
3526 'type' => 'bool'
3527 },
3528 'oidcRPMetaDataOptionsRedirectUris' => {
3529 'type' => 'text'
3530 },
3531 'oidcRPMetaDataOptionsRefreshToken' => {
3532 'default' => 0,
3533 'type' => 'bool'
3534 },
3535 'oidcRPMetaDataOptionsRefreshTokenRotation' => {
3536 'default' => 0,
3537 'type' => 'bool'
3538 },
3539 'oidcRPMetaDataOptionsRequestUris' => {
3540 'type' => 'text'
3541 },
3542 'oidcRPMetaDataOptionsRequirePKCE' => {
3543 'default' => 0,
3544 'select' => [ {
3545 'k' => '0',
3546 'v' => 'disabled'
3547 },
3548 {
3549 'k' => '1',
3550 'v' => 'required'
3551 },
3552 {
3553 'k' => '2',
3554 'v' => 'pkceOrSecret'
3555 }
3556 ],
3557 'type' => 'select'
3558 },
3559 'oidcRPMetaDataOptionsRtActivity' => {
3560 'default' => 0,
3561 'test' => sub {
3562 8 ▶ $_[0] >= 0;
Subroutine __ANON__: called CC=1 SCAR=0.0
3563 },
3564 'type' => 'int'
3565 },
3566 'oidcRPMetaDataOptionsRule' => {
3567 'test' => sub {
3568 0 ▶ return perlExpr(@_);
Subroutine __ANON__: not called CC=1 SCAR=6.9
3569 },
3570 'type' => 'text'
3571 },
3572 'oidcRPMetaDataOptionsSigningKey' => {
3573 'default' => '',
3574 'type' => 'text'
3575 },
3576 'oidcRPMetaDataOptionsTokenXAuthorizedRP' => {
3577 'type' => 'text'
3578 },
3579 'oidcRPMetaDataOptionsUserIDAttr' => {
3580 'type' => 'text'
3581 },
3582 'oidcRPMetaDataOptionsUserInfoEncContentEncAlg' => {
3583 'default' => 'A256GCM',
3584 'select' => [ {
3585 'k' => 'A256CBC-HS512',
3586 'v' => 'A256CBC-HS512'
3587 },
3588 {
3589 'k' => 'A256GCM',
3590 'v' => 'A256GCM'
3591 },
3592 {
3593 'k' => 'A192CBC-HS384',
3594 'v' => 'A192CBC-HS384'
3595 },
3596 {
3597 'k' => 'A192GCM',
3598 'v' => 'A192GCM'
3599 },
3600 {
3601 'k' => 'A128CBC-HS256',
3602 'v' => 'A128CBC-HS256'
3603 },
3604 {
3605 'k' => 'A128GCM',
3606 'v' => 'A128GCM'
3607 }
3608 ],
3609 'type' => 'select'
3610 },
3611 'oidcRPMetaDataOptionsUserInfoEncKeyMgtAlg' => {
3612 'select' => [ {
3613 'k' => '',
3614 'v' => 'None'
3615 },
3616 {
3617 'k' => 'RSA-OAEP',
3618 'v' => 'RSA-OAEP'
3619 },
3620 {
3621 'k' => 'RSA-OAEP-256',
3622 'v' => 'RSA-OAEP-256'
3623 },
3624 {
3625 'k' => 'RSA1_5',
3626 'v' => 'RSA1_5'
3627 },
3628 {
3629 'k' => 'ECDH-ES',
3630 'v' => 'ECDH-ES'
3631 },
3632 {
3633 'k' => 'ECDH-ES+A128KW',
3634 'v' => 'ECDH-ES+A128KW'
3635 },
3636 {
3637 'k' => 'ECDH-ES+A192KW',
3638 'v' => 'ECDH-ES+A192KW'
3639 },
3640 {
3641 'k' => 'ECDH-ES+A256KW',
3642 'v' => 'ECDH-ES+A256KW'
3643 }
3644 ],
3645 'type' => 'select'
3646 },
3647 'oidcRPMetaDataOptionsUserinfoRequireHeaderToken' => {
3648 'default' => 0,
3649 'type' => 'bool'
3650 },
3651 'oidcRPMetaDataOptionsUserInfoSignAlg' => {
3652 'default' => '',
3653 'select' => [ {
3654 'k' => '',
3655 'v' => 'JSON'
3656 },
3657 {
3658 'k' => 'none',
3659 'v' => 'None'
3660 },
3661 {
3662 'k' => 'HS256',
3663 'v' => 'HS256'
3664 },
3665 {
3666 'k' => 'HS384',
3667 'v' => 'HS384'
3668 },
3669 {
3670 'k' => 'HS512',
3671 'v' => 'HS512'
3672 },
3673 {
3674 'k' => 'RS256',
3675 'v' => 'RS256'
3676 },
3677 {
3678 'k' => 'RS384',
3679 'v' => 'RS384'
3680 },
3681 {
3682 'k' => 'RS512',
3683 'v' => 'RS512'
3684 },
3685 {
3686 'k' => 'PS256',
3687 'v' => 'PS256'
3688 },
3689 {
3690 'k' => 'PS384',
3691 'v' => 'PS384'
3692 },
3693 {
3694 'k' => 'PS512',
3695 'v' => 'PS512'
3696 },
3697 {
3698 'k' => 'ES256',
3699 'v' => 'ES256'
3700 },
3701 {
3702 'k' => 'ES384',
3703 'v' => 'ES384'
3704 },
3705 {
3706 'k' => 'ES512',
3707 'v' => 'ES512'
3708 },
3709 {
3710 'k' => 'EdDSA',
3711 'v' => 'EdDSA'
3712 }
3713 ],
3714 'type' => 'select'
3715 },
3716 'oidcRPMetaDataScopeRules' => {
3717 'default' => {},
3718 'test' => {
3719 'keyMsgFail' => '__badMacroName__',
3720 'keyTest' => qr/^[\x21\x23-\x5B\x5D-\x7E]+$/,
3721 'test' => sub {
3722 8 ▶ return perlExpr(@_);
Subroutine __ANON__: called CC=1 SCAR=0.0
3723 }
3724 },
3725 'type' => 'keyTextContainer'
3726 },
3727 'oidcRPStateTimeout' => {
3728 'default' => 600,
3729 'type' => 'int'
3730 },
3731 'oidcServiceAccessTokenExpiration' => {
3732 'default' => 3600,
3733 'type' => 'int'
3734 },
3735 'oidcServiceAllowAuthorizationCodeFlow' => {
3736 'default' => 1,
3737 'type' => 'bool'
3738 },
3739 'oidcServiceAllowDynamicRegistration' => {
3740 'default' => 0,
3741 'select' => [ {
3742 'k' => '0',
3743 'v' => 'disabled'
3744 },
3745 {
3746 'k' => '1',
3747 'v' => 'confidentialOnly'
3748 },
3749 {
3750 'k' => '2',
3751 'v' => 'allClients'
3752 }
3753 ],
3754 'type' => 'select'
3755 },
3756 'oidcServiceAllowHybridFlow' => {
3757 'default' => 0,
3758 'type' => 'bool'
3759 },
3760 'oidcServiceAllowImplicitFlow' => {
3761 'default' => 0,
3762 'type' => 'bool'
3763 },
3764 'oidcServiceAllowOnlyDeclaredScopes' => {
3765 'default' => 0,
3766 'type' => 'bool'
3767 },
3768 'oidcServiceAuthorizationCodeExpiration' => {
3769 'default' => 60,
3770 'type' => 'int'
3771 },
3772 'oidcServiceDynamicRegistrationExportedVars' => {
3773 'type' => 'keyTextContainer'
3774 },
3775 'oidcServiceDynamicRegistrationExtraClaims' => {
3776 'keyTest' => qr/^[\x21\x23-\x5B\x5D-\x7E]+$/,
3777 'type' => 'keyTextContainer'
3778 },
3779 'oidcServiceEncAlgorithmAlg' => {
3780 'default' => 'RSA-OAEP',
3781 'select' => [ {
3782 'k' => 'RSA-OAEP',
3783 'v' => 'RSA-OAEP'
3784 },
3785 {
3786 'k' => 'RSA-OAEP-256',
3787 'v' => 'RSA-OAEP-256'
3788 },
3789 {
3790 'k' => 'RSA1_5',
3791 'v' => 'RSA1_5'
3792 },
3793 {
3794 'k' => 'ECDH-ES',
3795 'v' => 'ECDH-ES'
3796 },
3797 {
3798 'k' => 'ECDH-ES+A128KW',
3799 'v' => 'ECDH-ES+A128KW'
3800 },
3801 {
3802 'k' => 'ECDH-ES+A192KW',
3803 'v' => 'ECDH-ES+A192KW'
3804 },
3805 {
3806 'k' => 'ECDH-ES+A256KW',
3807 'v' => 'ECDH-ES+A256KW'
3808 }
3809 ],
3810 'type' => 'select'
3811 },
3812 'oidcServiceEncAlgorithmEnc' => {
3813 'default' => 'A256GCM',
3814 'select' => [ {
3815 'k' => 'A256CBC-HS512',
3816 'v' => 'A256CBC-HS512'
3817 },
3818 {
3819 'k' => 'A256GCM',
3820 'v' => 'A256GCM'
3821 },
3822 {
3823 'k' => 'A192CBC-HS384',
3824 'v' => 'A192CBC-HS384'
3825 },
3826 {
3827 'k' => 'A192GCM',
3828 'v' => 'A192GCM'
3829 },
3830 {
3831 'k' => 'A128CBC-HS256',
3832 'v' => 'A128CBC-HS256'
3833 },
3834 {
3835 'k' => 'A128GCM',
3836 'v' => 'A128GCM'
3837 }
3838 ],
3839 'type' => 'select'
3840 },
3841 'oidcServiceEncryptionKey' => {
3842 'default' => 'default-oidc-enc',
3843 'type' => 'text'
3844 },
3845 'oidcServiceHideMetadata' => {
3846 'type' => 'bool'
3847 },
3848 'oidcServiceIDTokenExpiration' => {
3849 'default' => 3600,
3850 'type' => 'int'
3851 },
3852 'oidcServiceIgnoreScopeForClaims' => {
3853 'default' => 0,
3854 'type' => 'bool'
3855 },
3856 'oidcServiceKeyIdEnc' => {
3857 'type' => 'text'
3858 },
3859 'oidcServiceKeyIdSig' => {
3860 'type' => 'text'
3861 },
3862 'oidcServiceKeyTypeEnc' => {
3863 'default' => 'RSA',
3864 'select' => [ {
3865 'k' => 'RSA',
3866 'v' => 'RSA'
3867 },
3868 {
3869 'k' => 'EC',
3870 'v' => 'EC'
3871 }
3872 ],
3873 'type' => 'select'
3874 },
3875 'oidcServiceKeyTypeSig' => {
3876 'default' => 'RSA',
3877 'select' => [ {
3878 'k' => 'RSA',
3879 'v' => 'RSA'
3880 },
3881 {
3882 'k' => 'EC',
3883 'v' => 'EC'
3884 }
3885 ],
3886 'type' => 'select'
3887 },
3888 'oidcServiceMetaDataAmrRules' => {
3889 'default' => {
3890 'mfa' => '$_2f',
3891 'otp' => '$_2f eq "TOTP"',
3892 'pop' => '$_auth eq "WebAuthn" or $_auth eq "SSL"',
3893 'pwd' => '$authenticationLevel == 2'
3894 },
3895 'keyTest' => qr/\w/,
3896 'test' => sub {
3897 0 ▶ return perlExpr(@_);
Subroutine __ANON__: not called CC=1 SCAR=6.9
3898 },
3899 'type' => 'keyTextContainer'
3900 },
3901 'oidcServiceMetaDataAuthnContext' => {
3902 'default' => {
3903 'loa-1' => 1,
3904 'loa-2' => 2,
3905 'loa-3' => 3,
3906 'loa-4' => 4,
3907 'loa-5' => 5
3908 },
3909 'keyTest' => qr/\w/,
3910 'type' => 'keyTextContainer'
3911 },
3912 'oidcServiceMetaDataAuthorizeURI' => {
3913 'default' => 'authorize',
3914 'type' => 'text'
3915 },
3916 'oidcServiceMetaDataBackChannelURI' => {
3917 'default' => 'blogout',
3918 'type' => 'text'
3919 },
3920 'oidcServiceMetaDataCheckSessionURI' => {
3921 'default' => 'checksession.html',
3922 'type' => 'text'
3923 },
3924 'oidcServiceMetaDataDisallowNoneAlg' => {
3925 'type' => 'bool'
3926 },
3927 'oidcServiceMetaDataEndSessionURI' => {
3928 'default' => 'logout',
3929 'type' => 'text'
3930 },
3931 'oidcServiceMetaDataFrontChannelURI' => {
3932 'default' => 'flogout',
3933 'type' => 'text'
3934 },
3935 'oidcServiceMetaDataIntrospectionURI' => {
3936 'default' => 'introspect',
3937 'type' => 'text'
3938 },
3939 'oidcServiceMetaDataIssuer' => {
3940 'type' => 'text'
3941 },
3942 'oidcServiceMetaDataJWKSURI' => {
3943 'default' => 'jwks',
3944 'type' => 'text'
3945 },
3946 'oidcServiceMetaDataRegistrationURI' => {
3947 'default' => 'register',
3948 'type' => 'text'
3949 },
3950 'oidcServiceMetaDataRevokeURI' => {
3951 'default' => 'revoke',
3952 'type' => 'text'
3953 },
3954 'oidcServiceMetaDataRpLogoutReturnURI' => {
3955 'default' => 'rlogoutreturn',
3956 'type' => 'text'
3957 },
3958 'oidcServiceMetaDataTokenURI' => {
3959 'default' => 'token',
3960 'type' => 'text'
3961 },
3962 'oidcServiceMetadataTtl' => {
3963 'type' => 'int'
3964 },
3965 'oidcServiceMetaDataUserInfoURI' => {
3966 'default' => 'userinfo',
3967 'type' => 'text'
3968 },
3969 'oidcServiceNewKeyIdSig' => {
3970 'type' => 'text'
3971 },
3972 'oidcServiceNewKeyTypeSig' => {
3973 'default' => 'RSA',
3974 'select' => [ {
3975 'k' => 'RSA',
3976 'v' => 'RSA'
3977 },
3978 {
3979 'k' => 'EC',
3980 'v' => 'EC'
3981 }
3982 ],
3983 'type' => 'select'
3984 },
3985 'oidcServiceNewPrivateKeySig' => {
3986 'type' => 'EcOrRSAPrivateKey'
3987 },
3988 'oidcServiceNewPublicKeySig' => {
3989 'type' => 'EcOrRSAPublicKeyOrCertificate'
3990 },
3991 'oidcServiceOfflineSessionExpiration' => {
3992 'default' => 2592000,
3993 'type' => 'int'
3994 },
3995 'oidcServiceOldKeyIdEnc' => {
3996 'type' => 'text'
3997 },
3998 'oidcServiceOldKeyIdSig' => {
3999 'type' => 'text'
4000 },
4001 'oidcServiceOldKeyTypeEnc' => {
4002 'default' => 'RSA',
4003 'select' => [ {
4004 'k' => 'RSA',
4005 'v' => 'RSA'
4006 },
4007 {
4008 'k' => 'EC',
4009 'v' => 'EC'
4010 }
4011 ],
4012 'type' => 'select'
4013 },
4014 'oidcServiceOldKeyTypeSig' => {
4015 'default' => 'RSA',
4016 'select' => [ {
4017 'k' => 'RSA',
4018 'v' => 'RSA'
4019 },
4020 {
4021 'k' => 'EC',
4022 'v' => 'EC'
4023 }
4024 ],
4025 'type' => 'select'
4026 },
4027 'oidcServiceOldPrivateKeyEnc' => {
4028 'type' => 'RSAPrivateKey'
4029 },
4030 'oidcServiceOldPrivateKeySig' => {
4031 'type' => 'EcOrRSAPrivateKey'
4032 },
4033 'oidcServiceOldPublicKeyEnc' => {
4034 'type' => 'RSAPublicKeyOrCertificate'
4035 },
4036 'oidcServiceOldPublicKeySig' => {
4037 'type' => 'EcOrRSAPublicKeyOrCertificate'
4038 },
4039 'oidcServicePrivateKeyEnc' => {
4040 'type' => 'RSAPrivateKey'
4041 },
4042 'oidcServicePrivateKeySig' => {
4043 'type' => 'EcOrRSAPrivateKey'
4044 },
4045 'oidcServicePublicKeyEnc' => {
4046 'type' => 'RSAPublicKeyOrCertificate'
4047 },
4048 'oidcServicePublicKeySig' => {
4049 'type' => 'EcOrRSAPublicKeyOrCertificate'
4050 },
4051 'oidcServiceSignatureKey' => {
4052 'default' => 'default-oidc-sig, old-oidc-sig, new-oidc-sig',
4053 'type' => 'text'
4054 },
4055 'oidcStorage' => {
4056 'type' => 'PerlModule'
4057 },
4058 'oidcStorageOptions' => {
4059 'type' => 'keyTextContainer'
4060 },
4061 'okta2fActivation' => {
4062 'default' => 0,
4063 'type' => 'boolOrExpr'
4064 },
4065 'okta2fAdminURL' => {
4066 'type' => 'url'
4067 },
4068 'okta2fApiKey' => {
4069 'type' => 'text'
4070 },
4071 'okta2fAuthnLevel' => {
4072 'type' => 'intOrNull'
4073 },
4074 'okta2fLabel' => {
4075 'type' => 'text'
4076 },
4077 'okta2fLoginAttribute' => {
4078 'type' => 'text'
4079 },
4080 'okta2fLogo' => {
4081 'type' => 'text'
4082 },
4083 'oldNotifFormat' => {
4084 'default' => 0,
4085 'type' => 'bool'
4086 },
4087 'openIdAttr' => {
4088 'type' => 'text'
4089 },
4090 'openIdAuthnLevel' => {
4091 'default' => 1,
4092 'type' => 'int'
4093 },
4094 'openIdExportedVars' => {
4095 'default' => {},
4096 'keyMsgFail' => '__badVariableName__',
4097 'keyTest' => qr/^!?[a-zA-Z][a-zA-Z0-9_-]*$/,
4098 'msgFail' => '__badValue__',
4099 'test' => qr/^[a-zA-Z][a-zA-Z0-9_:\-]*$/,
4100 'type' => 'keyTextContainer'
4101 },
4102 'openIdIDPList' => {
4103 'default' => '0;',
4104 'type' => 'blackWhiteList'
4105 },
4106 'openIdIssuerSecret' => {
4107 'type' => 'text'
4108 },
4109 'openIdSecret' => {
4110 'type' => 'text'
4111 },
4112 'openIdSPList' => {
4113 'default' => '0;',
4114 'type' => 'blackWhiteList'
4115 },
4116 'openIdSreg_country' => {
4117 'type' => 'lmAttrOrMacro'
4118 },
4119 'openIdSreg_dob' => {
4120 'type' => 'lmAttrOrMacro'
4121 },
4122 'openIdSreg_email' => {
4123 'default' => 'mail',
4124 'type' => 'lmAttrOrMacro'
4125 },
4126 'openIdSreg_fullname' => {
4127 'default' => 'cn',
4128 'type' => 'lmAttrOrMacro'
4129 },
4130 'openIdSreg_gender' => {
4131 'type' => 'lmAttrOrMacro'
4132 },
4133 'openIdSreg_language' => {
4134 'type' => 'lmAttrOrMacro'
4135 },
4136 'openIdSreg_nickname' => {
4137 'default' => 'uid',
4138 'type' => 'lmAttrOrMacro'
4139 },
4140 'openIdSreg_postcode' => {
4141 'type' => 'lmAttrOrMacro'
4142 },
4143 'openIdSreg_timezone' => {
4144 'default' => '_timezone',
4145 'type' => 'lmAttrOrMacro'
4146 },
4147 'pamAuthnLevel' => {
4148 'default' => 2,
4149 'type' => 'int'
4150 },
4151 'pamService' => {
4152 'default' => 'login',
4153 'type' => 'text'
4154 },
4155 'password2fActivation' => {
4156 'default' => 0,
4157 'type' => 'boolOrExpr'
4158 },
4159 'password2fAuthnLevel' => {
4160 'type' => 'intOrNull'
4161 },
4162 'password2fLabel' => {
4163 'type' => 'text'
4164 },
4165 'password2fLogo' => {
4166 'type' => 'text'
4167 },
4168 'password2fSelfRegistration' => {
4169 'default' => 0,
4170 'type' => 'boolOrExpr'
4171 },
4172 'password2fTTL' => {
4173 'type' => 'intOrNull'
4174 },
4175 'password2fUserCanRemoveKey' => {
4176 'default' => 1,
4177 'type' => 'bool'
4178 },
4179 'passwordDB' => {
4180 'default' => 'Demo',
4181 'select' => [ {
4182 'k' => 'AD',
4183 'v' => 'Active Directory'
4184 },
4185 {
4186 'k' => 'Choice',
4187 'v' => 'authChoice'
4188 },
4189 {
4190 'k' => 'DBI',
4191 'v' => 'Database (DBI)'
4192 },
4193 {
4194 'k' => 'Demo',
4195 'v' => 'Demonstration'
4196 },
4197 {
4198 'k' => 'LDAP',
4199 'v' => 'LDAP'
4200 },
4201 {
4202 'k' => 'REST',
4203 'v' => 'REST'
4204 },
4205 {
4206 'k' => 'Null',
4207 'v' => 'None'
4208 },
4209 {
4210 'k' => 'Combination',
4211 'v' => 'combineMods'
4212 },
4213 {
4214 'k' => 'Custom',
4215 'v' => 'customModule'
4216 }
4217 ],
4218 'type' => 'select'
4219 },
4220 'passwordPolicyActivation' => {
4221 'default' => 1,
4222 'type' => 'boolOrExpr'
4223 },
4224 'passwordPolicyMaxSize' => {
4225 'default' => 0,
4226 'type' => 'int'
4227 },
4228 'passwordPolicyMinDigit' => {
4229 'default' => 0,
4230 'type' => 'int'
4231 },
4232 'passwordPolicyMinLower' => {
4233 'default' => 0,
4234 'type' => 'int'
4235 },
4236 'passwordPolicyMinSize' => {
4237 'default' => 0,
4238 'type' => 'int'
4239 },
4240 'passwordPolicyMinSpeChar' => {
4241 'default' => 0,
4242 'type' => 'int'
4243 },
4244 'passwordPolicyMinUpper' => {
4245 'default' => 0,
4246 'type' => 'int'
4247 },
4248 'passwordPolicySpecialChar' => {
4249 'default' => '__ALL__',
4250 'test' => qr/^(?:__ALL__|[\S\W]*)$/,
4251 'type' => 'text'
4252 },
4253 'passwordResetAllowedRetries' => {
4254 'default' => 3,
4255 'type' => 'int'
4256 },
4257 'pdataDomain' => {
4258 'default' => '',
4259 'msgFail' => '__badDomainName__',
4260 'test' =>
4261 qr/^(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a-zA-Z])[.]?))?$/,
4262 'type' => 'text'
4263 },
4264 'persistentSessionAttributes' => {
4265 'default' => '_loginHistory _2fDevices _oidcConsents notification_',
4266 'type' => 'text'
4267 },
4268 'persistentStorage' => {
4269 'type' => 'PerlModule'
4270 },
4271 'persistentStorageOptions' => {
4272 'type' => 'keyTextContainer'
4273 },
4274 'port' => {
4275 'default' => -1,
4276 'type' => 'int'
4277 },
4278 'portal' => {
4279 'default' => 'http://auth.example.com/',
4280 'msgFail' => '__badUrl__',
4281 'test' =>
4282 qr/(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a-zA-Z])[.]?)|(?:[0-9]+[.][0-9]+[.][0-9]+[.][0-9]+)))(?::(?:(?:[0-9]*)))?(?:\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*)(?:;(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*))*)(?:\/(?:(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*)(?:;(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*))*))*))(?:[?](?:(?:(?:[;\/?:@&=+\$,a-zA-Z0-9\-_.!~*'()]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*)))?))?)/,
4283 'type' => 'url'
4284 },
4285 'portalAntiFrame' => {
4286 'default' => 1,
4287 'type' => 'bool'
4288 },
4289 'portalCheckLogins' => {
4290 'default' => 1,
4291 'type' => 'bool'
4292 },
4293 'portalCustomCss' => {
4294 'type' => 'text'
4295 },
4296 'portalCustomJs' => {
4297 'type' => 'text'
4298 },
4299 'portalCustomTplParams' => {
4300 'type' => 'keyTextContainer'
4301 },
4302 'portalDisplayAppslist' => {
4303 'default' => 1,
4304 'type' => 'boolOrExpr'
4305 },
4306 'portalDisplayCertificateResetByMail' => {
4307 'default' => 0,
4308 'type' => 'bool'
4309 },
4310 'portalDisplayChangePassword' => {
4311 'default' => '$_auth =~ /^(LDAP|DBI|Demo)$/',
4312 'type' => 'boolOrExpr'
4313 },
4314 'portalDisplayGeneratePassword' => {
4315 'default' => 1,
4316 'type' => 'bool'
4317 },
4318 'portalDisplayLoginHistory' => {
4319 'default' => 1,
4320 'type' => 'boolOrExpr'
4321 },
4322 'portalDisplayLogout' => {
4323 'default' => 1,
4324 'type' => 'boolOrExpr'
4325 },
4326 'portalDisplayOfflineTokens' => {
4327 'default' => '$_auth eq \'OIDC\'',
4328 'type' => 'boolOrExpr'
4329 },
4330 'portalDisplayOidcConsents' => {
4331 'default' => '$_oidcConsents && $_oidcConsents =~ /\\w+/',
4332 'type' => 'boolOrExpr'
4333 },
4334 'portalDisplayOrder' => {
4335 'default' =>
4336 'Appslist ChangePassword LoginHistory OidcConsents Logout',
4337 'type' => 'text'
4338 },
4339 'portalDisplayPasswordPolicy' => {
4340 'default' => 0,
4341 'type' => 'bool'
4342 },
4343 'portalDisplayRefreshMyRights' => {
4344 'default' => 1,
4345 'type' => 'bool'
4346 },
4347 'portalDisplayRegister' => {
4348 'default' => 1,
4349 'type' => 'bool'
4350 },
4351 'portalDisplayResetPassword' => {
4352 'default' => 0,
4353 'type' => 'bool'
4354 },
4355 'portalEnablePasswordDisplay' => {
4356 'default' => 0,
4357 'type' => 'bool'
4358 },
4359 'portalErrorOnExpiredSession' => {
4360 'default' => 1,
4361 'type' => 'bool'
4362 },
4363 'portalErrorOnMailNotFound' => {
4364 'default' => 0,
4365 'type' => 'bool'
4366 },
4367 'portalFavicon' => {
4368 'default' => 'common/favicon.ico',
4369 'type' => 'text'
4370 },
4371 'portalForceAuthn' => {
4372 'default' => 0,
4373 'type' => 'bool'
4374 },
4375 'portalForceAuthnInterval' => {
4376 'default' => 30,
4377 'type' => 'int'
4378 },
4379 'portalMainLogo' => {
4380 'default' => 'common/logos/logo_llng_400px.png',
4381 'type' => 'text'
4382 },
4383 'portalOpenLinkInNewWindow' => {
4384 'default' => 0,
4385 'type' => 'bool'
4386 },
4387 'portalPingInterval' => {
4388 'default' => 60000,
4389 'type' => 'int'
4390 },
4391 'portalRequireOldPassword' => {
4392 'default' => 1,
4393 'type' => 'boolOrExpr'
4394 },
4395 'portalSkin' => {
4396 'default' => 'bootstrap',
4397 'select' => [ {
4398 'k' => 'bootstrap',
4399 'v' => 'Bootstrap'
4400 }
4401 ],
4402 'type' => 'portalskin'
4403 },
4404 'portalSkinBackground' => {
4405 'select' => [ {
4406 'k' => '',
4407 'v' => 'None'
4408 },
4409 {
4410 'k' => '1280px-Anse_Source_d\'Argent_2-La_Digue.jpg',
4411 'v' => 'Anse'
4412 },
4413 {
4414 'k' =>
4415 '1280px-Autumn-clear-water-waterfall-landscape_-_Virginia_-_ForestWander.jpg',
4416 'v' => 'Waterfall'
4417 },
4418 {
4419 'k' => '1280px-BrockenSnowedTrees.jpg',
4420 'v' => 'Snowed Trees'
4421 },
4422 {
4423 'k' =>
4424 '1280px-Cedar_Breaks_National_Monument_partially.jpg',
4425 'v' => 'National Monument'
4426 },
4427 {
4428 'k' => '1280px-Parry_Peak_from_Winter_Park.jpg',
4429 'v' => 'Winter'
4430 },
4431 {
4432 'k' => 'Aletschgletscher_mit_Pinus_cembra1.jpg',
4433 'v' => 'Pinus'
4434 }
4435 ],
4436 'type' => 'portalskinbackground'
4437 },
4438 'portalSkinRules' => {
4439 'keyMsgFail' => '__badSkinRule__',
4440 'keyTest' => sub {
4441 0 ▶ return perlExpr(@_);
Subroutine __ANON__: not called CC=1 SCAR=6.9
4442 },
4443 'msgFail' => '__badValue__',
4444 'test' => sub {
4445 0 ▶ 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
4446 },
4447 'type' => 'keyTextContainer'
4448 },
4449 'portalStatus' => {
4450 'default' => 0,
4451 'type' => 'bool'
4452 },
4453 'portalUserAttr' => {
4454 'default' => '_user',
4455 'type' => 'text'
4456 },
4457 'post' => {
4458 'keyMsgFail' => '__badHostname__',
4459 'keyTest' => qr/^\S+$/,
4460 'test' => sub {
4461 3 ▶ 1;
Subroutine __ANON__: called CC=1 SCAR=0.0
4462 },
4463 'type' => 'postContainer'
4464 },
4465 'protection' => {
4466 'msgFail' => '__authorizedValues__: none authenticate manager',
4467 'test' => qr/^(?:none|authenticate|manager|)$/,
4468 'type' => 'text'
4469 },
4470 'proxyAuthnLevel' => {
4471 'default' => 2,
4472 'type' => 'int'
4473 },
4474 'proxyAuthService' => {
4475 'type' => 'text'
4476 },
4477 'proxyAuthServiceChoiceParam' => {
4478 'default' => 'lmAuth',
4479 'type' => 'text'
4480 },
4481 'proxyAuthServiceChoiceValue' => {
4482 'type' => 'text'
4483 },
4484 'proxyAuthServiceImpersonation' => {
4485 'default' => 0,
4486 'type' => 'bool'
4487 },
4488 'proxyCookieName' => {
4489 'msgFail' => '__badCookieName__',
4490 'test' => qr/^[a-zA-Z][a-zA-Z0-9_-]*$/,
4491 'type' => 'text'
4492 },
4493 'proxySessionService' => {
4494 'type' => 'text'
4495 },
4496 'proxyUseSoap' => {
4497 'default' => 0,
4498 'type' => 'bool'
4499 },
4500 'publicNotifications' => {
4501 'default' => 0,
4502 'type' => 'bool'
4503 },
4504 'radius2fActivation' => {
4505 'default' => 0,
4506 'type' => 'boolOrExpr'
4507 },
4508 'radius2fAuthnLevel' => {
4509 'type' => 'intOrNull'
4510 },
4511 'radius2fDictionaryFile' => {
4512 'type' => 'text'
4513 },
4514 'radius2fLabel' => {
4515 'type' => 'text'
4516 },
4517 'radius2fLogo' => {
4518 'type' => 'text'
4519 },
4520 'radius2fMsgAuth' => {
4521 'type' => 'bool'
4522 },
4523 'radius2fRequestAttributes' => {
4524 'default' => {},
4525 'keyMsgFail' => '__badKeyName__',
4526 'keyTest' => qr/^[a-zA-Z0-9_-]*$/,
4527 'type' => 'keyTextContainer'
4528 },
4529 'radius2fSecret' => {
4530 'type' => 'text'
4531 },
4532 'radius2fSendInitialRequest' => {
4533 'default' => 0,
4534 'type' => 'bool'
4535 },
4536 'radius2fServer' => {
4537 'type' => 'text'
4538 },
4539 'radius2fTimeout' => {
4540 'default' => 20,
4541 'type' => 'int'
4542 },
4543 'radius2fUsernameSessionKey' => {
4544 'type' => 'text'
4545 },
4546 'radiusAuthnLevel' => {
4547 'default' => 3,
4548 'type' => 'int'
4549 },
4550 'radiusDictionaryFile' => {
4551 'type' => 'text'
4552 },
4553 'radiusExportedVars' => {
4554 'default' => {},
4555 'keyMsgFail' => '__badVariableName__',
4556 'keyTest' => qr/^!?[a-zA-Z][a-zA-Z0-9_-]*$/,
4557 'msgFail' => '__badValue__',
4558 'test' => qr/^[a-zA-Z][a-zA-Z0-9_:\-]*$/,
4559 'type' => 'keyTextContainer'
4560 },
4561 'radiusMsgAuth' => {
4562 'type' => 'bool'
4563 },
4564 'radiusRequestAttributes' => {
4565 'default' => {},
4566 'keyMsgFail' => '__badKeyName__',
4567 'keyTest' => qr/^[a-zA-Z0-9_-]*$/,
4568 'type' => 'keyTextContainer'
4569 },
4570 'radiusSecret' => {
4571 'type' => 'text'
4572 },
4573 'radiusServer' => {
4574 'type' => 'text'
4575 },
4576 'radiusTimeout' => {
4577 'type' => 'intOrNull'
4578 },
4579 'randomPasswordRegexp' => {
4580 'default' => '[A-Z]{3}[a-z]{5}.\\d{2}',
4581 'type' => 'pcre'
4582 },
4583 'redirectFormMethod' => {
4584 'default' => 'get',
4585 'select' => [ {
4586 'k' => 'get',
4587 'v' => 'GET'
4588 },
4589 {
4590 'k' => 'post',
4591 'v' => 'POST'
4592 }
4593 ],
4594 'type' => 'select'
4595 },
4596 'refreshSessions' => {
4597 'type' => 'bool'
4598 },
4599 'registerConfirmBody' => {
4600 'type' => 'longtext'
4601 },
4602 'registerConfirmSubject' => {
4603 'type' => 'text'
4604 },
4605 'registerDB' => {
4606 'default' => 'Null',
4607 'select' => [ {
4608 'k' => 'AD',
4609 'v' => 'Active Directory'
4610 },
4611 {
4612 'k' => 'Demo',
4613 'v' => 'Demonstration'
4614 },
4615 {
4616 'k' => 'LDAP',
4617 'v' => 'LDAP'
4618 },
4619 {
4620 'k' => 'Null',
4621 'v' => 'None'
4622 },
4623 {
4624 'k' => 'Custom',
4625 'v' => 'customModule'
4626 }
4627 ],
4628 'type' => 'select'
4629 },
4630 'registerDoneBody' => {
4631 'type' => 'longtext'
4632 },
4633 'registerDoneSubject' => {
4634 'type' => 'text'
4635 },
4636 'registerTimeout' => {
4637 'default' => 0,
4638 'type' => 'int'
4639 },
4640 'registerUrl' => {
4641 'type' => 'url'
4642 },
4643 'reloadTimeout' => {
4644 'default' => 5,
4645 'type' => 'int'
4646 },
4647 'reloadUrls' => {
4648 'keyTest' =>
4649 qr/^(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a-zA-Z])[.]?)|(?:[0-9]+[.][0-9]+[.][0-9]+[.][0-9]+))(?::\d+)?$/,
4650 'msgFail' => '__badUrl__',
4651 'test' =>
4652 qr/(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a-zA-Z])[.]?)|(?:[0-9]+[.][0-9]+[.][0-9]+[.][0-9]+)))(?::(?:(?:[0-9]*)))?(?:\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*)(?:;(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*))*)(?:\/(?:(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*)(?:;(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*))*))*))(?:[?](?:(?:(?:[;\/?:@&=+\$,a-zA-Z0-9\-_.!~*'()]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*)))?))?)/,
4653 'type' => 'keyTextContainer'
4654 },
4655 'rememberAuthChoiceForgetAtLogout' => {
4656 'default' => 0,
4657 'type' => 'bool'
4658 },
4659 'rememberAuthChoiceRule' => {
4660 'default' => 0,
4661 'type' => 'boolOrExpr'
4662 },
4663 'rememberCookieName' => {
4664 'default' => 'llngrememberauthchoice',
4665 'msgFail' => '__badCookieName__',
4666 'test' => qr/^[a-zA-Z][a-zA-Z0-9_-]*$/,
4667 'type' => 'text'
4668 },
4669 'rememberCookieTimeout' => {
4670 'default' => 31536000,
4671 'type' => 'int'
4672 },
4673 'rememberDefaultChecked' => {
4674 'default' => 0,
4675 'type' => 'bool'
4676 },
4677 'rememberTimer' => {
4678 'default' => 5,
4679 'type' => 'int'
4680 },
4681 'remoteCookieName' => {
4682 'msgFail' => '__badCookieName__',
4683 'test' => qr/^[a-zA-Z][a-zA-Z0-9_-]*$/,
4684 'type' => 'text'
4685 },
4686 'remoteGlobalStorage' => {
4687 'default' => 'Lemonldap::NG::Common::Apache::Session::SOAP',
4688 'type' => 'PerlModule'
4689 },
4690 'remoteGlobalStorageOptions' => {
4691 'default' => {
4692 'ns' =>
4693 'http://auth.example.com/Lemonldap/NG/Common/PSGI/SOAPService',
4694 'proxy' => 'http://auth.example.com/sessions'
4695 },
4696 'type' => 'keyTextContainer'
4697 },
4698 'remotePortal' => {
4699 'type' => 'text'
4700 },
4701 'requireToken' => {
4702 'default' => 1,
4703 'type' => 'boolOrExpr'
4704 },
4705 'rest2fActivation' => {
4706 'default' => 0,
4707 'type' => 'boolOrExpr'
4708 },
4709 'rest2fAuthnLevel' => {
4710 'type' => 'intOrNull'
4711 },
4712 'rest2fCodeActivation' => {
4713 'type' => 'pcre'
4714 },
4715 'rest2fInitArgs' => {
4716 'msgFail' => '__badValue__',
4717 'test' => sub {
4718 0 ▶ return perlExpr(@_);
Subroutine __ANON__: not called CC=1 SCAR=6.9
4719 },
4720 'type' => 'keyTextContainer'
4721 },
4722 'rest2fInitUrl' => {
4723 'type' => 'url'
4724 },
4725 'rest2fLabel' => {
4726 'type' => 'text'
4727 },
4728 'rest2fLogo' => {
4729 'type' => 'text'
4730 },
4731 'rest2fResendInterval' => {
4732 'type' => 'text'
4733 },
4734 'rest2fVerifyArgs' => {
4735 'keyMsgFail' => '__badKeyName__',
4736 'keyTest' => qr/^\w+$/,
4737 'msgFail' => '__badValue__',
4738 'test' => qr/^\w+$/,
4739 'type' => 'keyTextContainer'
4740 },
4741 'rest2fVerifyUrl' => {
4742 'type' => 'url'
4743 },
4744 'restAuthArgs' => {
4745 'msgFail' => '__badValue__',
4746 'test' => sub {
4747 0 ▶ return perlExpr(@_);
Subroutine __ANON__: not called CC=1 SCAR=6.9
4748 },
4749 'type' => 'keyTextContainer'
4750 },
4751 'restAuthnLevel' => {
4752 'default' => 2,
4753 'type' => 'int'
4754 },
4755 'restAuthServer' => {
4756 'default' => 0,
4757 'type' => 'bool'
4758 },
4759 'restAuthUrl' => {
4760 'type' => 'url'
4761 },
4762 'restClockTolerance' => {
4763 'default' => 15,
4764 'type' => 'int'
4765 },
4766 'restConfigServer' => {
4767 'default' => 0,
4768 'type' => 'bool'
4769 },
4770 'restExportSecretKeys' => {
4771 'default' => 0,
4772 'type' => 'bool'
4773 },
4774 'restFindUserDBArgs' => {
4775 'msgFail' => '__badValue__',
4776 'test' => sub {
4777 0 ▶ return perlExpr(@_);
Subroutine __ANON__: not called CC=1 SCAR=6.9
4778 },
4779 'type' => 'keyTextContainer'
4780 },
4781 'restFindUserDBUrl' => {
4782 'type' => 'url'
4783 },
4784 'restPasswordServer' => {
4785 'default' => 0,
4786 'type' => 'bool'
4787 },
4788 'restPwdConfirmArgs' => {
4789 'msgFail' => '__badValue__',
4790 'test' => sub {
4791 0 ▶ return perlExpr(@_);
Subroutine __ANON__: not called CC=1 SCAR=6.9
4792 },
4793 'type' => 'keyTextContainer'
4794 },
4795 'restPwdConfirmUrl' => {
4796 'type' => 'url'
4797 },
4798 'restPwdModifyArgs' => {
4799 'msgFail' => '__badValue__',
4800 'test' => sub {
4801 0 ▶ return perlExpr(@_);
Subroutine __ANON__: not called CC=1 SCAR=6.9
4802 },
4803 'type' => 'keyTextContainer'
4804 },
4805 'restPwdModifyUrl' => {
4806 'type' => 'url'
4807 },
4808 'restSessionServer' => {
4809 'default' => 0,
4810 'type' => 'bool'
4811 },
4812 'restUserDBArgs' => {
4813 'msgFail' => '__badValue__',
4814 'test' => sub {
4815 0 ▶ return perlExpr(@_);
Subroutine __ANON__: not called CC=1 SCAR=6.9
4816 },
4817 'type' => 'keyTextContainer'
4818 },
4819 'restUserDBUrl' => {
4820 'type' => 'url'
4821 },
4822 'sameSite' => {
4823 'default' => '',
4824 'select' => [ {
4825 'k' => '',
4826 'v' => ''
4827 },
4828 {
4829 'k' => 'Strict',
4830 'v' => 'Strict'
4831 },
4832 {
4833 'k' => 'Lax',
4834 'v' => 'Lax'
4835 },
4836 {
4837 'k' => 'None',
4838 'v' => 'None'
4839 }
4840 ],
4841 'type' => 'select'
4842 },
4843 'samlAttributeAuthorityDescriptorAttributeServiceSOAP' => {
4844 'default' =>
4845 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/AA/SOAP;',
4846 'type' => 'samlService'
4847 },
4848 'samlAuthnContextMapExtra' => {
4849 'keyTest' => qr/\w/,
4850 'type' => 'keyTextContainer'
4851 },
4852 'samlAuthnContextMapKerberos' => {
4853 'default' => 4,
4854 'type' => 'int'
4855 },
4856 'samlAuthnContextMapPassword' => {
4857 'default' => 2,
4858 'type' => 'int'
4859 },
4860 'samlAuthnContextMapPasswordProtectedTransport' => {
4861 'default' => 3,
4862 'type' => 'int'
4863 },
4864 'samlAuthnContextMapTLSClient' => {
4865 'default' => 5,
4866 'type' => 'int'
4867 },
4868 'samlCommonDomainCookieActivation' => {
4869 'default' => 0,
4870 'type' => 'bool'
4871 },
4872 'samlCommonDomainCookieDomain' => {
4873 'msgFail' => '__badDomainName__',
4874 'test' =>
4875 qr/^(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a-zA-Z])[.]?)$/,
4876 'type' => 'text'
4877 },
4878 'samlCommonDomainCookieReader' => {
4879 'msgFail' => '__badUrl__',
4880 'test' =>
4881 qr/(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a-zA-Z])[.]?)|(?:[0-9]+[.][0-9]+[.][0-9]+[.][0-9]+)))(?::(?:(?:[0-9]*)))?(?:\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*)(?:;(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*))*)(?:\/(?:(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*)(?:;(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*))*))*))(?:[?](?:(?:(?:[;\/?:@&=+\$,a-zA-Z0-9\-_.!~*'()]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*)))?))?)/,
4882 'type' => 'text'
4883 },
4884 'samlCommonDomainCookieWriter' => {
4885 'msgFail' => '__badUrl__',
4886 'test' =>
4887 qr/(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a-zA-Z])[.]?)|(?:[0-9]+[.][0-9]+[.][0-9]+[.][0-9]+)))(?::(?:(?:[0-9]*)))?(?:\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*)(?:;(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*))*)(?:\/(?:(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*)(?:;(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*))*))*))(?:[?](?:(?:(?:[;\/?:@&=+\$,a-zA-Z0-9\-_.!~*'()]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*)))?))?)/,
4888 'type' => 'text'
4889 },
4890 'samlDiscoveryProtocolActivation' => {
4891 'default' => 0,
4892 'type' => 'bool'
4893 },
4894 'samlDiscoveryProtocolIsPassive' => {
4895 'default' => 0,
4896 'type' => 'bool'
4897 },
4898 'samlDiscoveryProtocolPolicy' => {
4899 'type' => 'text'
4900 },
4901 'samlDiscoveryProtocolURL' => {
4902 'msgFail' => '__badUrl__',
4903 'test' =>
4904 qr/(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a-zA-Z])[.]?)|(?:[0-9]+[.][0-9]+[.][0-9]+[.][0-9]+)))(?::(?:(?:[0-9]*)))?(?:\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*)(?:;(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*))*)(?:\/(?:(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*)(?:;(?:(?:[a-zA-Z0-9\-_.!~*'():@&=+\$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*))*))*))(?:[?](?:(?:(?:[;\/?:@&=+\$,a-zA-Z0-9\-_.!~*'()]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*)))?))?)/,
4905 'type' => 'text'
4906 },
4907 'samlEntityID' => {
4908 'default' => '#PORTAL#/saml/metadata',
4909 'type' => 'text'
4910 },
4911 'samlFederationFiles' => {
4912 'type' => 'text'
4913 },
4914 'samlIDPMetaDataExportedAttributes' => {
4915 'default' => {},
4916 'keyMsgFail' => '__badMetadataName__',
4917 'keyTest' => qr/^[a-zA-Z](?:[a-zA-Z0-9_\-\.]*\w)?$/,
4918 'msgFail' => '__badValue__',
4919 'test' => qr/\w/,
4920 'type' => 'samlAttributeContainer'
4921 },
4922 'samlIDPMetaDataNodes' => {
4923 'type' => 'samlIDPMetaDataNodeContainer'
4924 },
4925 'samlIDPMetaDataOptions' => {
4926 'keyMsgFail' => '__badMetadataName__',
4927 'keyTest' => qr/^[a-zA-Z](?:[a-zA-Z0-9_\-\.]*\w)?$/,
4928 'type' => 'keyTextContainer'
4929 },
4930 'samlIDPMetaDataOptionsAdaptSessionUtime' => {
4931 'default' => 0,
4932 'type' => 'bool'
4933 },
4934 'samlIDPMetaDataOptionsAllowLoginFromIDP' => {
4935 'default' => 0,
4936 'type' => 'bool'
4937 },
4938 'samlIDPMetaDataOptionsCheckAudience' => {
4939 'default' => 1,
4940 'type' => 'bool'
4941 },
4942 'samlIDPMetaDataOptionsCheckSLOMessageSignature' => {
4943 'default' => 1,
4944 'type' => 'bool'
4945 },
4946 'samlIDPMetaDataOptionsCheckSSOMessageSignature' => {
4947 'default' => 1,
4948 'type' => 'bool'
4949 },
4950 'samlIDPMetaDataOptionsCheckTime' => {
4951 'default' => 1,
4952 'type' => 'bool'
4953 },
4954 'samlIDPMetaDataOptionsComment' => {
4955 'type' => 'longtext'
4956 },
4957 'samlIDPMetaDataOptionsDisplayName' => {
4958 'type' => 'text'
4959 },
4960 'samlIDPMetaDataOptionsEncryptionMode' => {
4961 'default' => 'none',
4962 'select' => [ {
4963 'k' => 'none',
4964 'v' => 'None'
4965 },
4966 {
4967 'k' => 'nameid',
4968 'v' => 'Name ID'
4969 },
4970 {
4971 'k' => 'assertion',
4972 'v' => 'Assertion'
4973 }
4974 ],
4975 'type' => 'select'
4976 },
4977 'samlIDPMetaDataOptionsFederationEntityID' => {
4978 'type' => 'text'
4979 },
4980 'samlIDPMetaDataOptionsForceAuthn' => {
4981 'default' => 0,
4982 'type' => 'bool'
4983 },
4984 'samlIDPMetaDataOptionsForceUTF8' => {
4985 'default' => 0,
4986 'type' => 'bool'
4987 },
4988 'samlIDPMetaDataOptionsIcon' => {
4989 'type' => 'text'
4990 },
4991 'samlIDPMetaDataOptionsIsPassive' => {
4992 'default' => 0,
4993 'type' => 'bool'
4994 },
4995 'samlIDPMetaDataOptionsNameIDFormat' => {
4996 'default' => '',
4997 'select' => [ {
4998 'k' => '',
4999 'v' => ''
5000 },
5001 {
5002 'k' => 'unspecified',
5003 'v' => 'Unspecified'
5004 },
5005 {
5006 'k' => 'email',
5007 'v' => 'Email'
5008 },
5009 {
5010 'k' => 'x509',
5011 'v' => 'X509 certificate'
5012 },
5013 {
5014 'k' => 'windows',
5015 'v' => 'Windows'
5016 },
5017 {
5018 'k' => 'kerberos',
5019 'v' => 'Kerberos'
5020 },
5021 {
5022 'k' => 'entity',
5023 'v' => 'Entity'
5024 },
5025 {
5026 'k' => 'persistent',
5027 'v' => 'Persistent'
5028 },
5029 {
5030 'k' => 'transient',
5031 'v' => 'Transient'
5032 },
5033 {
5034 'k' => 'encrypted',
5035 'v' => 'Encrypted'
5036 }
5037 ],
5038 'type' => 'select'
5039 },
5040 'samlIDPMetaDataOptionsRelayStateURL' => {
5041 'default' => 0,
5042 'type' => 'bool'
5043 },
5044 'samlIDPMetaDataOptionsRequestedAuthnContext' => {
5045 'default' => '',
5046 'select' => [ {
5047 'k' => '',
5048 'v' => ''
5049 },
5050 {
5051 'k' => 'kerberos',
5052 'v' => 'Kerberos'
5053 },
5054 {
5055 'k' => 'password-protected-transport',
5056 'v' => 'Password protected transport'
5057 },
5058 {
5059 'k' => 'password',
5060 'v' => 'Password'
5061 },
5062 {
5063 'k' => 'tls-client',
5064 'v' => 'TLS client certificate'
5065 }
5066 ],
5067 'type' => 'select'
5068 },
5069 'samlIDPMetaDataOptionsResolutionRule' => {
5070 'default' => '',
5071 'type' => 'longtext'
5072 },
5073 'samlIDPMetaDataOptionsSignatureKey' => {
5074 'default' => '',
5075 'type' => 'text'
5076 },
5077 'samlIDPMetaDataOptionsSignatureMethod' => {
5078 'default' => '',
5079 'select' => [ {
5080 'k' => '',
5081 'v' => 'default'
5082 },
5083 {
5084 'k' => 'RSA_SHA1',
5085 'v' => 'RSA SHA1'
5086 },
5087 {
5088 'k' => 'RSA_SHA256',
5089 'v' => 'RSA SHA256'
5090 },
5091 {
5092 'k' => 'RSA_SHA384',
5093 'v' => 'RSA SHA384'
5094 },
5095 {
5096 'k' => 'RSA_SHA512',
5097 'v' => 'RSA SHA512'
5098 }
5099 ],
5100 'type' => 'select'
5101 },
5102 'samlIDPMetaDataOptionsSignSLOMessage' => {
5103 'default' => -1,
5104 'type' => 'trool'
5105 },
5106 'samlIDPMetaDataOptionsSignSSOMessage' => {
5107 'default' => -1,
5108 'type' => 'trool'
5109 },
5110 'samlIDPMetaDataOptionsSLOBinding' => {
5111 'default' => '',
5112 'select' => [ {
5113 'k' => '',
5114 'v' => ''
5115 },
5116 {
5117 'k' => 'http-post',
5118 'v' => 'POST'
5119 },
5120 {
5121 'k' => 'http-redirect',
5122 'v' => 'Redirect'
5123 },
5124 {
5125 'k' => 'http-soap',
5126 'v' => 'SOAP'
5127 }
5128 ],
5129 'type' => 'select'
5130 },
5131 'samlIDPMetaDataOptionsSortNumber' => {
5132 'type' => 'int'
5133 },
5134 'samlIDPMetaDataOptionsSSOBinding' => {
5135 'default' => '',
5136 'select' => [ {
5137 'k' => '',
5138 'v' => ''
5139 },
5140 {
5141 'k' => 'http-post',
5142 'v' => 'POST'
5143 },
5144 {
5145 'k' => 'http-redirect',
5146 'v' => 'Redirect'
5147 },
5148 {
5149 'k' => 'artifact-get',
5150 'v' => 'Artifact GET'
5151 }
5152 ],
5153 'type' => 'select'
5154 },
5155 'samlIDPMetaDataOptionsStoreSAMLToken' => {
5156 'default' => 0,
5157 'type' => 'bool'
5158 },
5159 'samlIDPMetaDataOptionsTooltip' => {
5160 'type' => 'text'
5161 },
5162 'samlIDPMetaDataOptionsURL' => {
5163 'type' => 'url'
5164 },
5165 'samlIDPMetaDataOptionsUserAttribute' => {
5166 'type' => 'text'
5167 },
5168 'samlIDPMetaDataXML' => {
5169 'type' => 'file'
5170 },
5171 'samlIDPSSODescriptorArtifactResolutionServiceArtifact' => {
5172 'default' =>
5173 '1;0;urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/artifact',
5174 'type' => 'samlAssertion'
5175 },
5176 'samlIDPSSODescriptorSingleLogoutServiceHTTPPost' => {
5177 'default' =>
5178 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST;#PORTAL#/saml/singleLogout;#PORTAL#/saml/singleLogoutReturn',
5179 'type' => 'samlService'
5180 },
5181 'samlIDPSSODescriptorSingleLogoutServiceHTTPRedirect' => {
5182 'default' =>
5183 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect;#PORTAL#/saml/singleLogout;#PORTAL#/saml/singleLogoutReturn',
5184 'type' => 'samlService'
5185 },
5186 'samlIDPSSODescriptorSingleLogoutServiceSOAP' => {
5187 'default' =>
5188 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/singleLogoutSOAP;',
5189 'type' => 'samlService'
5190 },
5191 'samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact' => {
5192 'default' =>
5193 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact;#PORTAL#/saml/singleSignOnArtifact;',
5194 'type' => 'samlService'
5195 },
5196 'samlIDPSSODescriptorSingleSignOnServiceHTTPPost' => {
5197 'default' =>
5198 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST;#PORTAL#/saml/singleSignOn;',
5199 'type' => 'samlService'
5200 },
5201 'samlIDPSSODescriptorSingleSignOnServiceHTTPRedirect' => {
5202 'default' =>
5203 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect;#PORTAL#/saml/singleSignOn;',
5204 'type' => 'samlService'
5205 },
5206 'samlIDPSSODescriptorWantAuthnRequestsSigned' => {
5207 'default' => 1,
5208 'type' => 'bool'
5209 },
5210 'samlMetadataForceUTF8' => {
5211 'default' => 1,
5212 'type' => 'bool'
5213 },
5214 'samlNameIDFormatMapEmail' => {
5215 'default' => 'mail',
5216 'type' => 'text'
5217 },
5218 'samlNameIDFormatMapKerberos' => {
5219 'default' => 'uid',
5220 'type' => 'text'
5221 },
5222 'samlNameIDFormatMapWindows' => {
5223 'default' => 'uid',
5224 'type' => 'text'
5225 },
5226 'samlNameIDFormatMapX509' => {
5227 'default' => 'mail',
5228 'type' => 'text'
5229 },
5230 'samlOrganizationDisplayName' => {
5231 'default' => 'Example',
5232 'type' => 'text'
5233 },
5234 'samlOrganizationName' => {
5235 'default' => 'Example',
5236 'type' => 'text'
5237 },
5238 'samlOrganizationURL' => {
5239 'default' => 'http://www.example.com',
5240 'type' => 'text'
5241 },
5242 'samlOverrideIDPEntityID' => {
5243 'default' => '',
5244 'type' => 'text'
5245 },
5246 'samlRelayStateTimeout' => {
5247 'default' => 600,
5248 'type' => 'int'
5249 },
5250 'samlServiceEncryptionKey' => {
5251 'default' => 'default-saml-enc',
5252 'type' => 'text'
5253 },
5254 'samlServicePrivateKeyEnc' => {
5255 'default' => '',
5256 'type' => 'RSAPrivateKey'
5257 },
5258 'samlServicePrivateKeyEncPwd' => {
5259 'type' => 'password'
5260 },
5261 'samlServicePrivateKeySig' => {
5262 'default' => '',
5263 'type' => 'RSAPrivateKey'
5264 },
5265 'samlServicePrivateKeySigPwd' => {
5266 'default' => '',
5267 'type' => 'password'
5268 },
5269 'samlServicePublicKeyEnc' => {
5270 'default' => '',
5271 'type' => 'RSAPublicKeyOrCertificate'
5272 },
5273 'samlServicePublicKeySig' => {
5274 'default' => '',
5275 'type' => 'RSAPublicKeyOrCertificate'
5276 },
5277 'samlServiceSignatureKey' => {
5278 'default' => 'default-saml-sig',
5279 'type' => 'text'
5280 },
5281 'samlServiceSignatureMethod' => {
5282 'default' => 'RSA_SHA256',
5283 'select' => [ {
5284 'k' => 'RSA_SHA1',
5285 'v' => 'RSA SHA1'
5286 },
5287 {
5288 'k' => 'RSA_SHA256',
5289 'v' => 'RSA SHA256'
5290 },
5291 {
5292 'k' => 'RSA_SHA384',
5293 'v' => 'RSA SHA384'
5294 },
5295 {
5296 'k' => 'RSA_SHA512',
5297 'v' => 'RSA SHA512'
5298 }
5299 ],
5300 'type' => 'select'
5301 },
5302 'samlServiceUseCertificateInResponse' => {
5303 'default' => 0,
5304 'type' => 'bool'
5305 },
5306 'samlSPMetaDataExportedAttributes' => {
5307 'default' => {},
5308 'keyMsgFail' => '__badMetadataName__',
5309 'keyTest' => qr/^[a-zA-Z](?:[a-zA-Z0-9_\-\.]*\w)?$/,
5310 'msgFail' => '__badValue__',
5311 'test' => qr/\w/,
5312 'type' => 'samlAttributeContainer'
5313 },
5314 'samlSPMetaDataMacros' => {
5315 'default' => {},
5316 'test' => {
5317 'keyMsgFail' => '__badMacroName__',
5318 'keyTest' => qr/^[_a-zA-Z][a-zA-Z0-9_]*$/,
5319 'test' => sub {
5320 25 ▶ return perlExpr(@_);
Subroutine __ANON__: called CC=1 SCAR=0.0
5321 }
5322 },
5323 'type' => 'keyTextContainer'
5324 },
5325 'samlSPMetaDataNodes' => {
5326 'type' => 'samlSPMetaDataNodeContainer'
5327 },
5328 'samlSPMetaDataOptions' => {
5329 'keyMsgFail' => '__badMetadataName__',
5330 'keyTest' => qr/^[a-zA-Z](?:[a-zA-Z0-9_\-\.]*\w)?$/,
5331 'type' => 'keyTextContainer'
5332 },
5333 'samlSPMetaDataOptionsActivation' => {
5334 'default' => 1,
5335 'type' => 'bool'
5336 },
5337 'samlSPMetaDataOptionsAuthnLevel' => {
5338 'test' => sub {
5339 0 ▶ return perlExpr(@_);
Subroutine __ANON__: not called CC=1 SCAR=6.9
5340 },
5341 'type' => 'text'
5342 },
5343 'samlSPMetaDataOptionsCheckSLOMessageSignature' => {
5344 'default' => 1,
5345 'type' => 'bool'
5346 },
5347 'samlSPMetaDataOptionsCheckSSOMessageSignature' => {
5348 'default' => 1,
5349 'type' => 'bool'
5350 },
5351 'samlSPMetaDataOptionsComment' => {
5352 'type' => 'longtext'
5353 },
5354 'samlSPMetaDataOptionsEnableIDPInitiatedURL' => {
5355 'default' => 0,
5356 'type' => 'bool'
5357 },
5358 'samlSPMetaDataOptionsEncryptionMode' => {
5359 'default' => 'none',
5360 'select' => [ {
5361 'k' => 'none',
5362 'v' => 'None'
5363 },
5364 {
5365 'k' => 'nameid',
5366 'v' => 'Name ID'
5367 },
5368 {
5369 'k' => 'assertion',
5370 'v' => 'Assertion'
5371 }
5372 ],
5373 'type' => 'select'
5374 },
5375 'samlSPMetaDataOptionsFederationEntityID' => {
5376 'type' => 'text'
5377 },
5378 'samlSPMetaDataOptionsFederationOptionalAttributes' => {
5379 'default' => '',
5380 'select' => [ {
5381 'k' => '',
5382 'v' => 'keep'
5383 },
5384 {
5385 'k' => 'ignore',
5386 'v' => 'ignore'
5387 }
5388 ],
5389 'type' => 'select'
5390 },
5391 'samlSPMetaDataOptionsFederationRequiredAttributes' => {
5392 'default' => '',
5393 'select' => [ {
5394 'k' => '',
5395 'v' => 'keep'
5396 },
5397 {
5398 'k' => 'optional',
5399 'v' => 'makeoptional'
5400 },
5401 {
5402 'k' => 'ignore',
5403 'v' => 'ignore'
5404 }
5405 ],
5406 'type' => 'select'
5407 },
5408 'samlSPMetaDataOptionsForceNameIDFormat' => {
5409 'type' => 'bool'
5410 },
5411 'samlSPMetaDataOptionsForceUTF8' => {
5412 'default' => 1,
5413 'type' => 'bool'
5414 },
5415 'samlSPMetaDataOptionsNameIDFormat' => {
5416 'default' => '',
5417 'select' => [ {
5418 'k' => '',
5419 'v' => ''
5420 },
5421 {
5422 'k' => 'unspecified',
5423 'v' => 'Unspecified'
5424 },
5425 {
5426 'k' => 'email',
5427 'v' => 'Email'
5428 },
5429 {
5430 'k' => 'x509',
5431 'v' => 'X509 certificate'
5432 },
5433 {
5434 'k' => 'windows',
5435 'v' => 'Windows'
5436 },
5437 {
5438 'k' => 'kerberos',
5439 'v' => 'Kerberos'
5440 },
5441 {
5442 'k' => 'entity',
5443 'v' => 'Entity'
5444 },
5445 {
5446 'k' => 'persistent',
5447 'v' => 'Persistent'
5448 },
5449 {
5450 'k' => 'transient',
5451 'v' => 'Transient'
5452 },
5453 {
5454 'k' => 'encrypted',
5455 'v' => 'Encrypted'
5456 }
5457 ],
5458 'type' => 'select'
5459 },
5460 'samlSPMetaDataOptionsNameIDSessionKey' => {
5461 'type' => 'text'
5462 },
5463 'samlSPMetaDataOptionsNotOnOrAfterTimeout' => {
5464 'default' => 72000,
5465 'type' => 'int'
5466 },
5467 'samlSPMetaDataOptionsOneTimeUse' => {
5468 'default' => 0,
5469 'type' => 'bool'
5470 },
5471 'samlSPMetaDataOptionsRule' => {
5472 'test' => sub {
5473 0 ▶ return perlExpr(@_);
Subroutine __ANON__: not called CC=1 SCAR=6.9
5474 },
5475 'type' => 'text'
5476 },
5477 'samlSPMetaDataOptionsSessionNotOnOrAfterTimeout' => {
5478 'default' => 72000,
5479 'type' => 'int'
5480 },
5481 'samlSPMetaDataOptionsSignatureKey' => {
5482 'default' => '',
5483 'type' => 'text'
5484 },
5485 'samlSPMetaDataOptionsSignatureMethod' => {
5486 'default' => '',
5487 'select' => [ {
5488 'k' => '',
5489 'v' => 'default'
5490 },
5491 {
5492 'k' => 'RSA_SHA1',
5493 'v' => 'RSA SHA1'
5494 },
5495 {
5496 'k' => 'RSA_SHA256',
5497 'v' => 'RSA SHA256'
5498 },
5499 {
5500 'k' => 'RSA_SHA384',
5501 'v' => 'RSA SHA384'
5502 },
5503 {
5504 'k' => 'RSA_SHA512',
5505 'v' => 'RSA SHA512'
5506 }
5507 ],
5508 'type' => 'select'
5509 },
5510 'samlSPMetaDataOptionsSignSLOMessage' => {
5511 'default' => -1,
5512 'type' => 'trool'
5513 },
5514 'samlSPMetaDataOptionsSignSSOMessage' => {
5515 'default' => -1,
5516 'type' => 'trool'
5517 },
5518 'samlSPMetaDataOptionsURL' => {
5519 'type' => 'url'
5520 },
5521 'samlSPMetaDataXML' => {
5522 'type' => 'file'
5523 },
5524 'samlSPSSODescriptorArtifactResolutionServiceArtifact' => {
5525 'default' =>
5526 '1;0;urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/artifact',
5527 'type' => 'samlAssertion'
5528 },
5529 'samlSPSSODescriptorAssertionConsumerServiceHTTPArtifact' => {
5530 'default' =>
5531 '0;1;urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact;#PORTAL#/saml/proxySingleSignOnArtifact',
5532 'type' => 'samlAssertion'
5533 },
5534 'samlSPSSODescriptorAssertionConsumerServiceHTTPPost' => {
5535 'default' =>
5536 '1;0;urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST;#PORTAL#/saml/proxySingleSignOnPost',
5537 'type' => 'samlAssertion'
5538 },
5539 'samlSPSSODescriptorAuthnRequestsSigned' => {
5540 'default' => 1,
5541 'type' => 'bool'
5542 },
5543 'samlSPSSODescriptorSingleLogoutServiceHTTPPost' => {
5544 'default' =>
5545 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST;#PORTAL#/saml/proxySingleLogout;#PORTAL#/saml/proxySingleLogoutReturn',
5546 'type' => 'samlService'
5547 },
5548 'samlSPSSODescriptorSingleLogoutServiceHTTPRedirect' => {
5549 'default' =>
5550 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect;#PORTAL#/saml/proxySingleLogout;#PORTAL#/saml/proxySingleLogoutReturn',
5551 'type' => 'samlService'
5552 },
5553 'samlSPSSODescriptorSingleLogoutServiceSOAP' => {
5554 'default' =>
5555 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/proxySingleLogoutSOAP;',
5556 'type' => 'samlService'
5557 },
5558 'samlSPSSODescriptorWantAssertionsSigned' => {
5559 'default' => 1,
5560 'type' => 'bool'
5561 },
5562 'samlStorage' => {
5563 'type' => 'PerlModule'
5564 },
5565 'samlStorageOptions' => {
5566 'type' => 'keyTextContainer'
5567 },
5568 'samlUseQueryStringSpecific' => {
5569 'default' => 0,
5570 'type' => 'bool'
5571 },
5572 'scrollTop' => {
5573 'default' => 400,
5574 'type' => 'int'
5575 },
5576 'securedCookie' => {
5577 'default' => 0,
5578 'select' => [ {
5579 'k' => '0',
5580 'v' => 'unsecuredCookie'
5581 },
5582 {
5583 'k' => '1',
5584 'v' => 'securedCookie'
5585 },
5586 {
5587 'k' => '2',
5588 'v' => 'doubleCookie'
5589 },
5590 {
5591 'k' => '3',
5592 'v' => 'doubleCookieForSingleSession'
5593 }
5594 ],
5595 'type' => 'select'
5596 },
5597 'secureTokenAllowOnError' => {
5598 'type' => 'text'
5599 },
5600 'secureTokenAttribute' => {
5601 'type' => 'text'
5602 },
5603 'secureTokenExpiration' => {
5604 'type' => 'text'
5605 },
5606 'secureTokenHeader' => {
5607 'type' => 'text'
5608 },
5609 'secureTokenMemcachedServers' => {
5610 'type' => 'text'
5611 },
5612 'secureTokenUrls' => {
5613 'type' => 'text'
5614 },
5615 'sentryDsn' => {
5616 'type' => 'text'
5617 },
5618 'sessionDataToRemember' => {
5619 'keyMsgFail' => '__invalidSessionData__',
5620 'keyTest' => qr/^(\d+_)?[_a-zA-Z][a-zA-Z0-9_]*$/,
5621 'type' => 'keyTextContainer'
5622 },
5623 'sfEngine' => {
5624 'default' => '::2F::Engines::Default',
5625 'type' => 'text'
5626 },
5627 'sfExtra' => {
5628 'keyTest' => qr/^\w+$/,
5629 'select' => [ {
5630 'k' => 'Mail2F',
5631 'v' => 'E-Mail'
5632 },
5633 {
5634 'k' => 'REST',
5635 'v' => 'REST'
5636 },
5637 {
5638 'k' => 'Ext2F',
5639 'v' => 'External'
5640 },
5641 {
5642 'k' => 'Radius',
5643 'v' => 'Radius'
5644 }
5645 ],
5646 'test' => sub {
5647 2 ▶ 1;
Subroutine __ANON__: called CC=1 SCAR=0.0
5648 },
5649 'type' => 'sfExtraContainer'
5650 },
5651 'sfLoginTimeout' => {
5652 'type' => 'intOrNull'
5653 },
5654 'sfManagerRule' => {
5655 'default' => 1,
5656 'type' => 'boolOrExpr'
5657 },
5658 'sfOnlyUpgrade' => {
5659 'default' => 0,
5660 'type' => 'bool'
5661 },
5662 'sfRegisterTimeout' => {
5663 'type' => 'intOrNull'
5664 },
5665 'sfRemovedMsgRule' => {
5666 'default' => 0,
5667 'type' => 'boolOrExpr'
5668 },
5669 'sfRemovedNotifMsg' => {
5670 'default' =>
5671 '_removedSF_ expired second factor(s) has/have been removed (_nameSF_)!',
5672 'type' => 'text'
5673 },
5674 'sfRemovedNotifRef' => {
5675 'default' => 'RemoveSF',
5676 'type' => 'text'
5677 },
5678 'sfRemovedNotifTitle' => {
5679 'default' => 'Second factor notification',
5680 'type' => 'text'
5681 },
5682 'sfRemovedUseNotif' => {
5683 'default' => 0,
5684 'type' => 'bool'
5685 },
5686 'sfRequired' => {
5687 'default' => 0,
5688 'type' => 'boolOrExpr'
5689 },
5690 'sfRetries' => {
5691 'type' => 'intOrNull'
5692 },
5693 'shortTokenTTL' => {
5694 'default' => 30,
5695 'type' => 'int'
5696 },
5697 'showLanguages' => {
5698 'default' => 1,
5699 'type' => 'bool'
5700 },
5701 'singleIP' => {
5702 'default' => 0,
5703 'type' => 'boolOrExpr'
5704 },
5705 'singleSession' => {
5706 'default' => 0,
5707 'type' => 'boolOrExpr'
5708 },
5709 'singleUserByIP' => {
5710 'default' => 0,
5711 'type' => 'boolOrExpr'
5712 },
5713 'skipRenewConfirmation' => {
5714 'default' => 0,
5715 'type' => 'bool'
5716 },
5717 'skipUpgradeConfirmation' => {
5718 'default' => 0,
5719 'type' => 'bool'
5720 },
5721 'slaveAuthnLevel' => {
5722 'default' => 2,
5723 'type' => 'int'
5724 },
5725 'slaveCertificateField' => {
5726 'type' => 'text'
5727 },
5728 'slaveCertificateRegexp' => {
5729 'default' => '',
5730 'type' => 'pcre'
5731 },
5732 'slaveDisplayLogo' => {
5733 'default' => 0,
5734 'type' => 'bool'
5735 },
5736 'slaveExportedVars' => {
5737 'default' => {},
5738 'keyMsgFail' => '__badVariableName__',
5739 'keyTest' => qr/^!?[a-zA-Z][a-zA-Z0-9_-]*$/,
5740 'msgFail' => '__badValue__',
5741 'test' => qr/^[a-zA-Z][a-zA-Z0-9_:\-]*$/,
5742 'type' => 'keyTextContainer'
5743 },
5744 'slaveHeaderContent' => {
5745 'type' => 'text'
5746 },
5747 'slaveHeaderName' => {
5748 'type' => 'text'
5749 },
5750 'slaveMasterIP' => {
5751 'msgFail' => '__badIPv4Address__',
5752 'test' => qr/^((?:[0-9]+[.][0-9]+[.][0-9]+[.][0-9]+)\s*)*$/,
5753 'type' => 'text'
5754 },
5755 'slaveUserHeader' => {
5756 'type' => 'text'
5757 },
5758 'SMTPAuthPass' => {
5759 'type' => 'password'
5760 },
5761 'SMTPAuthUser' => {
5762 'type' => 'text'
5763 },
5764 'SMTPPort' => {
5765 'type' => 'int'
5766 },
5767 'SMTPServer' => {
5768 'default' => '',
5769 'test' =>
5770 qr/^(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]|[a-zA-Z])[.]?)|(?:[0-9]+[.][0-9]+[.][0-9]+[.][0-9]+))(?::\d+)?)?$/,
5771 'type' => 'text'
5772 },
5773 'SMTPTLS' => {
5774 'default' => '',
5775 'select' => [ {
5776 'k' => '',
5777 'v' => 'none'
5778 },
5779 {
5780 'k' => 'starttls',
5781 'v' => 'SMTP + STARTTLS'
5782 },
5783 {
5784 'k' => 'ssl',
5785 'v' => 'SMTPS'
5786 }
5787 ],
5788 'type' => 'select'
5789 },
5790 'SMTPTLSOpts' => {
5791 'type' => 'keyTextContainer'
5792 },
5793 'soapConfigServer' => {
5794 'default' => 0,
5795 'type' => 'bool'
5796 },
5797 'soapProxyUrn' => {
5798 'default' => 'urn:Lemonldap/NG/Common/PSGI/SOAPService',
5799 'type' => 'text'
5800 },
5801 'soapSessionServer' => {
5802 'default' => 0,
5803 'type' => 'bool'
5804 },
5805 'SSLAuthnLevel' => {
5806 'default' => 5,
5807 'type' => 'int'
5808 },
5809 'sslByAjax' => {
5810 'default' => 0,
5811 'type' => 'bool'
5812 },
5813 'sslHost' => {
5814 'type' => 'url'
5815 },
5816 'SSLIssuerVar' => {
5817 'default' => 'SSL_CLIENT_I_DN',
5818 'type' => 'text'
5819 },
5820 'SSLVar' => {
5821 'default' => 'SSL_CLIENT_S_DN_Email',
5822 'type' => 'text'
5823 },
5824 'SSLVarIf' => {
5825 'default' => {},
5826 'keyTest' => sub {
5827 0 ▶ 1;
Subroutine __ANON__: not called CC=1 SCAR=6.9
5828 },
5829 'type' => 'keyTextContainer'
5830 },
5831 'staticPrefix' => {
5832 'type' => 'text'
5833 },
5834 'statusQueueName' => {
5835 'default' => 'llng_status',
5836 'type' => 'text'
5837 },
5838 'stayConnected' => {
5839 'default' => 0,
5840 'type' => 'boolOrExpr'
5841 },
5842 'stayConnectedBypassFG' => {
5843 'default' => 0,
5844 'type' => 'bool'
5845 },
5846 'stayConnectedCookieName' => {
5847 'default' => 'llngconnection',
5848 'msgFail' => '__badCookieName__',
5849 'test' => qr/^[a-zA-Z][a-zA-Z0-9_-]*$/,
5850 'type' => 'text'
5851 },
5852 'stayConnectedSingleSession' => {
5853 'default' => 0,
5854 'type' => 'bool'
5855 },
5856 'stayConnectedTimeout' => {
5857 'default' => 2592000,
5858 'type' => 'int'
5859 },
5860 'storePassword' => {
5861 'default' => 0,
5862 'type' => 'bool'
5863 },
5864 'storePasswordEncrypted' => {
5865 'default' => 0,
5866 'type' => 'bool'
5867 },
5868 'strictTransportSecurityMax_Age' => {
5869 'type' => 'text'
5870 },
5871 'successLoginNumber' => {
5872 'default' => 5,
5873 'type' => 'int'
5874 },
5875 'syslogFacility' => {
5876 'type' => 'text'
5877 },
5878 'syslogSockOptions' => {
5879 'keyTest' => qr/^(?:type|path|timeout|host|port)$/,
5880 'type' => 'keyTextContainer'
5881 },
5882 'timeout' => {
5883 'default' => 72000,
5884 'test' => sub {
5885 50 ▶ $_[0] > 0;
Subroutine __ANON__: called CC=1 SCAR=0.0
5886 },
5887 'type' => 'int'
5888 },
5889 'timeoutActivity' => {
5890 'default' => 0,
5891 'test' => sub {
5892 50 ▶ $_[0] >= 0;
Subroutine __ANON__: called CC=1 SCAR=0.0
5893 },
5894 'type' => 'int'
5895 },
5896 'timeoutActivityInterval' => {
5897 'default' => 60,
5898 'test' => sub {
5899 36 ▶ $_[0] >= 0;
Subroutine __ANON__: called CC=1 SCAR=0.0
5900 },
5901 1169 ▶ 'type' => 'int'
Subroutine attributes: called CC=1 SCAR=0.0
Pod undocumented
5902 },
5903 'tokenUseGlobalStorage' => {
5904 'default' => 0,
5905 'type' => 'bool'
5906 },
5907 'totp2fActivation' => {
5908 'default' => 0,
5909 'type' => 'boolOrExpr'
5910 },
5911 'totp2fAlgorithm' => {
5912 'default' => 'sha1',
5913 'select' => [ {
5914 'k' => 'sha1',
5915 'v' => 'SHA-1'
5916 },
5917 {
5918 'k' => 'sha256',
5919 'v' => 'SHA-256'
5920 },
5921 {
5922 'k' => 'sha512',
5923 'v' => 'SHA-512'
5924 }
5925 ],
5926 'type' => 'select'
5927 },
5928 'totp2fAuthnLevel' => {
5929 'type' => 'intOrNull'
5930 },
5931 'totp2fDigits' => {
5932 'default' => 6,
5933 'type' => 'int'
5934 },
5935 'totp2fEncryptSecret' => {
5936 'default' => 0,
5937 'type' => 'bool'
5938 },
5939 'totp2fInterval' => {
5940 'default' => 30,
5941 'type' => 'int'
5942 },
5943 'totp2fIssuer' => {
5944 'type' => 'text'
5945 },
5946 'totp2fLabel' => {
5947 'type' => 'text'
5948 },
5949 'totp2fLogo' => {
5950 'type' => 'text'
5951 },
5952 'totp2fRange' => {
5953 'default' => 1,
5954 'type' => 'int'
5955 },
5956 'totp2fSelfRegistration' => {
5957 'default' => 0,
5958 'type' => 'boolOrExpr'
5959 },
5960 'totp2fTTL' => {
5961 'type' => 'intOrNull'
5962 },
5963 'totp2fUserCanRemoveKey' => {
5964 'default' => 1,
5965 'type' => 'bool'
5966 },
5967 'trustedBrowserRule' => {
5968 'default' => 0,
5969 'type' => 'boolOrExpr'
5970 },
5971 'trustedBrowserUseTotp' => {
5972 'default' => 1,
5973 'type' => 'bool'
5974 },
5975 'trustedDomains' => {
5976 'type' => 'text'
5977 },
5978 'twitterAppName' => {
5979 'type' => 'text'
5980 },
5981 'twitterAuthnLevel' => {
5982 'default' => 1,
5983 'type' => 'int'
5984 },
5985 'twitterKey' => {
5986 'type' => 'text'
5987 },
5988 'twitterSecret' => {
5989 'type' => 'text'
5990 },
5991 'twitterUserField' => {
5992 'default' => 'screen_name',
5993 'type' => 'text'
5994 },
5995 'upgradeSession' => {
5996 'default' => 1,
5997 'type' => 'bool'
5998 },
5999 'userControl' => {
6000 'default' => '^[\\w\\.\\-@]+$',
6001 'type' => 'pcre'
6002 },
6003 'userDB' => {
6004 'default' => 'Same',
6005 'select' => [ {
6006 'k' => 'Same',
6007 'v' => 'Same'
6008 },
6009 {
6010 'k' => 'AD',
6011 'v' => 'Active Directory'
6012 },
6013 {
6014 'k' => 'DBI',
6015 'v' => 'Database (DBI)'
6016 },
6017 {
6018 'k' => 'LDAP',
6019 'v' => 'LDAP'
6020 },
6021 {
6022 'k' => 'REST',
6023 'v' => 'REST'
6024 },
6025 {
6026 'k' => 'Null',
6027 'v' => 'None'
6028 },
6029 {
6030 'k' => 'Custom',
6031 'v' => 'customModule'
6032 }
6033 ],
6034 'type' => 'select'
6035 },
6036 'useRedirectAjaxOnUnauthorized' => {
6037 'default' => 1,
6038 'type' => 'bool'
6039 },
6040 'useRedirectOnError' => {
6041 'default' => 1,
6042 'type' => 'bool'
6043 },
6044 'useRedirectOnForbidden' => {
6045 'default' => 0,
6046 'type' => 'bool'
6047 },
6048 'userLogger' => {
6049 'type' => 'text'
6050 },
6051 'userPivot' => {
6052 'type' => 'text'
6053 },
6054 'userSyslogFacility' => {
6055 'type' => 'text'
6056 },
6057 'useSafeJail' => {
6058 'default' => 1,
6059 'type' => 'bool'
6060 },
6061 'vhostAccessToTrace' => {
6062 'default' => '',
6063 'type' => 'text'
6064 },
6065 'vhostAliases' => {
6066 'default' => '',
6067 'type' => 'text'
6068 },
6069 'vhostAuthnLevel' => {
6070 'type' => 'intOrNull'
6071 },
6072 'vhostComment' => {
6073 'default' => '',
6074 'type' => 'longtext'
6075 },
6076 'vhostDevOpsRulesUrl' => {
6077 'type' => 'url'
6078 },
6079 'vhostHttps' => {
6080 'default' => -1,
6081 'type' => 'trool'
6082 },
6083 'vhostMaintenance' => {
6084 'default' => 0,
6085 'type' => 'bool'
6086 },
6087 'vhostOptions' => {
6088 'type' => 'subContainer'
6089 },
6090 'vhostPort' => {
6091 'default' => -1,
6092 'type' => 'int'
6093 },
6094 'vhostServiceTokenTTL' => {
6095 'default' => -1,
6096 'type' => 'int'
6097 },
6098 'vhostType' => {
6099 'default' => 'Main',
6100 'select' => [ {
6101 'k' => 'AuthBasic',
6102 'v' => 'AuthBasic'
6103 },
6104 {
6105 'k' => 'CDA',
6106 'v' => 'CDA'
6107 },
6108 {
6109 'k' => 'DevOps',
6110 'v' => 'DevOps'
6111 },
6112 {
6113 'k' => 'DevOpsST',
6114 'v' => 'DevOpsST'
6115 },
6116 {
6117 'k' => 'DevOpsCDA',
6118 'v' => 'DevOpsCDA'
6119 },
6120 {
6121 'k' => 'Main',
6122 'v' => 'Main'
6123 },
6124 {
6125 'k' => 'OAuth2',
6126 'v' => 'OAuth2'
6127 },
6128 {
6129 'k' => 'SecureToken',
6130 'v' => 'SecureToken'
6131 },
6132 {
6133 'k' => 'ServiceToken',
6134 'v' => 'ServiceToken'
6135 },
6136 {
6137 'k' => 'ZimbraPreAuth',
6138 'v' => 'ZimbraPreAuth'
6139 }
6140 ],
6141 'type' => 'select'
6142 },
6143 'viewerAllowBrowser' => {
6144 'default' => 0,
6145 'type' => 'bool'
6146 },
6147 'viewerAllowDiff' => {
6148 'default' => 0,
6149 'type' => 'bool'
6150 },
6151 'viewerHiddenKeys' => {
6152 'default' => 'samlIDPMetaDataNodes, samlSPMetaDataNodes',
6153 'type' => 'text'
6154 },
6155 'virtualHosts' => {
6156 'type' => 'virtualHostContainer'
6157 },
6158 'webauthn2fActivation' => {
6159 'default' => 0,
6160 'type' => 'boolOrExpr'
6161 },
6162 'webauthn2fAttestation' => {
6163 'default' => 'none',
6164 'select' => [ {
6165 'k' => 'none',
6166 'v' => 'None'
6167 },
6168 {
6169 'k' => 'direct',
6170 'v' => 'Direct'
6171 },
6172 {
6173 'k' => 'indirect',
6174 'v' => 'Indirect'
6175 },
6176 {
6177 'k' => 'enterprise',
6178 'v' => 'Enterprise'
6179 }
6180 ],
6181 'type' => 'select'
6182 },
6183 'webauthn2fAttestationTrust' => {
6184 'type' => 'file'
6185 },
6186 'webauthn2fAuthnLevel' => {
6187 'type' => 'intOrNull'
6188 },
6189 'webauthn2fLabel' => {
6190 'type' => 'text'
6191 },
6192 'webauthn2fLogo' => {
6193 'type' => 'text'
6194 },
6195 'webauthn2fResidentKey' => {
6196 'select' => [ {
6197 'k' => '',
6198 'v' => ''
6199 },
6200 {
6201 'k' => 'discouraged',
6202 'v' => 'Discouraged'
6203 },
6204 {
6205 'k' => 'preferred',
6206 'v' => 'Preferred'
6207 },
6208 {
6209 'k' => 'required',
6210 'v' => 'Required'
6211 }
6212 ],
6213 'type' => 'select'
6214 },
6215 'webauthn2fSelfRegistration' => {
6216 'default' => 0,
6217 'type' => 'boolOrExpr'
6218 },
6219 'webauthn2fUserCanRemoveKey' => {
6220 'default' => 1,
6221 'type' => 'bool'
6222 },
6223 'webauthn2fUserVerification' => {
6224 'default' => 'preferred',
6225 'select' => [ {
6226 'k' => 'discouraged',
6227 'v' => 'discouraged'
6228 },
6229 {
6230 'k' => 'preferred',
6231 'v' => 'preferred'
6232 },
6233 {
6234 'k' => 'required',
6235 'v' => 'required'
6236 }
6237 ],
6238 'type' => 'select'
6239 },
6240 'webauthnAppId' => {
6241 'default' => 1,
6242 'type' => 'bool'
6243 },
6244 'webauthnAuthnLevel' => {
6245 'default' => 3,
6246 'type' => 'int'
6247 },
6248 'webauthnDefaultTransports' => {
6249 'type' => 'text'
6250 },
6251 'webauthnDisplayNameAttr' => {
6252 'type' => 'text'
6253 },
6254 'webauthnRpId' => {
6255 'type' => 'text'
6256 },
6257 'webauthnRpName' => {
6258 'type' => 'text'
6259 },
6260 'webCronSecret' => {
6261 'type' => 'text'
6262 },
6263 'webIDAuthnLevel' => {
6264 'default' => 1,
6265 'type' => 'int'
6266 },
6267 'webIDExportedVars' => {
6268 'default' => {},
6269 'keyMsgFail' => '__badVariableName__',
6270 'keyTest' => qr/^!?[a-zA-Z][a-zA-Z0-9_-]*$/,
6271 'msgFail' => '__badValue__',
6272 'test' => qr/^[a-zA-Z][a-zA-Z0-9_:\-]*$/,
6273 'type' => 'keyTextContainer'
6274 },
6275 'webIDWhitelist' => {
6276 'type' => 'text'
6277 },
6278 'whatToTrace' => {
6279 'default' => 'uid',
6280 'type' => 'lmAttrOrMacro'
6281 },
6282 'wsdlServer' => {
6283 'default' => 0,
6284 'type' => 'bool'
6285 },
6286 'yubikey2fActivation' => {
6287 'default' => 0,
6288 'type' => 'boolOrExpr'
6289 },
6290 'yubikey2fAuthnLevel' => {
6291 'type' => 'intOrNull'
6292 },
6293 'yubikey2fClientID' => {
6294 'type' => 'text'
6295 },
6296 'yubikey2fFromSessionAttribute' => {
6297 'type' => 'text'
6298 },
6299 'yubikey2fLabel' => {
6300 'type' => 'text'
6301 },
6302 'yubikey2fLogo' => {
6303 'type' => 'text'
6304 },
6305 'yubikey2fNonce' => {
6306 'type' => 'text'
6307 },
6308 'yubikey2fPublicIDSize' => {
6309 'default' => 12,
6310 'type' => 'int'
6311 },
6312 'yubikey2fSecretKey' => {
6313 'type' => 'text'
6314 },
6315 'yubikey2fSelfRegistration' => {
6316 'default' => 0,
6317 'type' => 'boolOrExpr'
6318 },
6319 'yubikey2fTTL' => {
6320 'type' => 'intOrNull'
6321 },
6322 'yubikey2fUrl' => {
6323 'type' => 'url'
6324 },
6325 'yubikey2fUserCanRemoveKey' => {
6326 'default' => 1,
6327 'type' => 'bool'
6328 },
6329 'zimbraAccountKey' => {
6330 'type' => 'text'
6331 },
6332 'zimbraBy' => {
6333 'type' => 'text'
6334 },
6335 'zimbraPreAuthKey' => {
6336 'type' => 'text'
6337 },
6338 'zimbraSsoUrl' => {
6339 'type' => 'text'
6340 },
6341 'zimbraUrl' => {
6342 'type' => 'text'
6343 }
6344 };
6345 }
6346  
« blib/lib/Lemonldap/NG/Manager/Conf/Zero.pm ↑ Summary blib/lib/Lemonldap/NG/Manager/Api/Common.pm »