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

filter: Statementstmt 57.4% 73 / 127 Branchbran 44.7% 17 / 38 Conditioncond 50.0% 9 / 18 MC/DCmcdc 41.6% 5 / 12 Subroutinesub 46.0% 41 / 89 Podpod 0.0% 0 / 3 totaltotal 50.5% 145 / 287 CC 29 SCAR 15.1
CC
29
Cov
54%
__ANON__
42.0
perlExpr
7.2
__ANON__
6.0
CRAP 4.5
« 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.3';
5  
6 2372 ▶sub perlExpr {
Subroutine perlExpr: called CC=6 SCAR=19.7
Pod undocumented
7 2372 my ( $val, $conf ) = @_;
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 0 ▶ 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 107 ▶sub types {
Subroutine types: called CC=1 SCAR=0.5
Pod undocumented
31 return {
32 'array' => {
33 34 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
34 34 1;
35 }
36 },
37 'authParamsText' => {
38 36 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
39 36 1;
40 }
41 },
42 'blackWhiteList' => {
43 11 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
44 11 1;
45 }
46 },
47 'bool' => {
48 'msgFail' => '__notABoolean__',
49 'test' => qr/^[01]$/
50 },
51 'boolOrExpr' => {
52 'msgFail' => '__notAValidPerlExpression__',
53 1906 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
54 1906 return perlExpr(@_);
55 }
56 },
57 'catAndAppList' => {
58 165 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
59 165 1;
60 }
61 },
62 'EcOrRSAPrivateKey' => {
63 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
64 0 ▶ return $_[0] =~
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 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
72 0 ▶ return $_[0] =~
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 72 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
80 72 1;
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 90 ▶ 'test' => sub {
Subroutine __ANON__: called CC=6 SCAR=17.9
111 90 my ( $val, $conf ) = @_;
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 2214 ▶ if $_ =~ /exportedvars$/i and defined $conf->{$_}{$val};
Branch: 1 branch
BranchTrueFalseTotal
if $_ =~ /exportedvars$/i and defined $conf->{$_}{$val} 30 2184 2214
Condition100%3/3
$_ =~ /exportedvars$/i and defined $conf->{$_}{$val}
!ll&&!rl&&r
207910530
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 50 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
122 50 1;
123 }
124 },
125 'menuApp' => {
126 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
127 0 1;
128 }
129 },
130 'menuCat' => {
131 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
132 0 1;
133 }
134 },
135 'oidcAttribute' => {
136 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
137 0 1;
138 }
139 },
140 'oidcmetadatajson' => {
141 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
142 0 1;
143 }
144 },
145 'oidcmetadatajwks' => {
146 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
147 0 1;
148 }
149 },
150 'oidcOPMetaDataNode' => {
151 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
152 0 1;
153 }
154 },
155 'oidcRPMetaDataNode' => {
156 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
157 0 1;
158 }
159 },
160 'password' => {
161 'msgFail' => '__malformedValue__',
162 64 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
163 64 1;
164 }
165 },
166 'pcre' => {
167 'form' => 'text',
168 234 ▶ 'test' => sub {
Subroutine __ANON__: called CC=2 SCAR=7.0
169 234 eval {
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 50 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
184 50 1;
185 }
186 },
187 'portalskinbackground' => {
188 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
189 0 1;
190 }
191 },
192 'post' => {
193 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
194 0 1;
195 }
196 },
197 'RSAPrivateKey' => {
198 12 ▶ 'test' => sub {
Subroutine __ANON__: called CC=2 SCAR=7.6
199 12 ▶ return $_[0] =~
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 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
207 0 ▶ return $_[0] =~
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 12 ▶ 'test' => sub {
Subroutine __ANON__: called CC=2 SCAR=7.6
215 12 ▶ return $_[0] =~
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 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
223 0 1;
224 }
225 },
226 'samlAssertion' => {
227 40 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
228 40 1;
229 }
230 },
231 'samlAttribute' => {
232 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
233 0 1;
234 }
235 },
236 'samlIDPMetaDataNode' => {
237 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
238 0 1;
239 }
240 },
241 'samlService' => {
242 100 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
243 100 1;
244 }
245 },
246 'samlSPMetaDataNode' => {
247 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
248 0 1;
249 }
250 },
251 'select' => {
252 781 ▶ 'test' => sub {
Subroutine __ANON__: called CC=3 SCAR=11.2
253 781 ▶ return 0, 'Value is not a scalar' if ref $_[0];
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 5 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
264 5 1;
265 }
266 },
267 'text' => {
268 'msgFail' => '__malformedValue__',
269 2087 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
270 2087 1;
271 }
272 },
273 107 'trool' => {
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 1169 ▶sub attributes {
Subroutine attributes: called CC=1 SCAR=1.6
Pod undocumented
287 return {
288 'activeTimer' => {
289 'default' => 1,
290 'type' => 'bool'
291 },
292 'adaptativeAuthenticationLevelRules' => {
293 0 ▶ 'keyTest' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
294 0 return perlExpr(@_);
295 },
296 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
297 0 1;
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 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
552 0 1;
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 0 ▶ 'keyTest' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
686 0 return perlExpr(@_);
687 },
688 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
689 0 1;
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 8 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
794 8 return perlExpr(@_);
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 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
815 0 return perlExpr(@_);
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 5 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
831 5 return perlExpr(@_);
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 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
1071 0 return perlExpr(@_);
1072 }
1073 },
1074 'type' => 'keyTextContainer'
1075 },
1076 'checkUserIdRule' => {
1077 'default' => 1,
1078 35 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
1079 35 return perlExpr(@_);
1080 },
1081 'type' => 'text'
1082 },
1083 'checkUserSearchAttributes' => {
1084 'type' => 'text'
1085 },
1086 'checkUserUnrestrictedUsersRule' => {
1087 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
1088 0 return perlExpr(@_);
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 2 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
1207 2 1;
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 35 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
1238 35 return perlExpr(@_);
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 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
1256 0 return perlExpr(@_);
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 102 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
1532 102 return perlExpr(@_);
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 0 ▶ 'keyTest' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
1689 0 return perlExpr(@_);
1690 },
1691 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
1692 0 1;
1693 },
1694 'type' => 'grantContainer'
1695 },
1696 'groupLDAPFilter' => {
1697 'type' => 'text'
1698 },
1699 'groups' => {
1700 'default' => {},
1701 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
1702 0 return perlExpr(@_);
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 35 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
1745 35 return perlExpr(@_);
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 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
1767 0 return perlExpr(@_);
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 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=6 SCAR=37.4
1816 0 my ( $val, $conf ) = @_;
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 'ldapClientCert' => {
2048 'type' => 'text'
2049 },
2050 'ldapClientKey' => {
2051 'type' => 'text'
2052 },
2053 'ldapExportedVars' => {
2054 'default' => {
2055 'cn' => 'cn',
2056 'mail' => 'mail',
2057 'uid' => 'uid'
2058 },
2059 'keyMsgFail' => '__badVariableName__',
2060 'keyTest' => qr/^!?[a-zA-Z][a-zA-Z0-9_-]*$/,
2061 'msgFail' => '__badValue__',
2062 'test' => qr/^[a-zA-Z][a-zA-Z0-9_:\-]*$/,
2063 'type' => 'keyTextContainer'
2064 },
2065 'LDAPFilter' => {
2066 'type' => 'text'
2067 },
2068 'ldapForcePasswordChangeExpirationWarning' => {
2069 'type' => 'intOrNull'
2070 },
2071 'ldapGetUserBeforePasswordChange' => {
2072 'default' => 0,
2073 'type' => 'bool'
2074 },
2075 'ldapGroupAttributeName' => {
2076 'default' => 'member',
2077 'type' => 'text'
2078 },
2079 'ldapGroupAttributeNameGroup' => {
2080 'default' => 'dn',
2081 'type' => 'text'
2082 },
2083 'ldapGroupAttributeNameSearch' => {
2084 'default' => 'cn',
2085 'type' => 'text'
2086 },
2087 'ldapGroupAttributeNameUser' => {
2088 'default' => 'dn',
2089 'type' => 'text'
2090 },
2091 'ldapGroupBase' => {
2092 'type' => 'text'
2093 },
2094 'ldapGroupDecodeSearchedValue' => {
2095 'default' => 0,
2096 'type' => 'bool'
2097 },
2098 'ldapGroupObjectClass' => {
2099 'default' => 'groupOfNames',
2100 'type' => 'text'
2101 },
2102 'ldapGroupRecursive' => {
2103 'default' => 0,
2104 'type' => 'bool'
2105 },
2106 'ldapIOTimeout' => {
2107 'default' => 10,
2108 'type' => 'int'
2109 },
2110 'ldapITDS' => {
2111 'default' => 0,
2112 'type' => 'bool'
2113 },
2114 'ldapPasswordResetAttribute' => {
2115 'default' => 'pwdReset',
2116 'type' => 'text'
2117 },
2118 'ldapPasswordResetAttributeValue' => {
2119 'default' => 'TRUE',
2120 'type' => 'text'
2121 },
2122 'ldapPort' => {
2123 'type' => 'intOrNull'
2124 },
2125 'ldapPpolicyControl' => {
2126 'default' => 0,
2127 'type' => 'bool'
2128 },
2129 'ldapPwdEnc' => {
2130 'default' => 'utf-8',
2131 'msgFail' => '__badEncoding__',
2132 'test' => qr/^[a-zA-Z0-9_][a-zA-Z0-9_\-]*[a-zA-Z0-9_]$/,
2133 'type' => 'text'
2134 },
2135 'ldapRaw' => {
2136 'type' => 'text'
2137 },
2138 'ldapSearchDeref' => {
2139 'default' => 'find',
2140 'select' => [ {
2141 'k' => 'never',
2142 'v' => 'never'
2143 },
2144 {
2145 'k' => 'search',
2146 'v' => 'search'
2147 },
2148 {
2149 'k' => 'find',
2150 'v' => 'find'
2151 },
2152 {
2153 'k' => 'always',
2154 'v' => 'always'
2155 }
2156 ],
2157 'type' => 'select'
2158 },
2159 'ldapServer' => {
2160 'default' => 'ldap://localhost',
2161 5 ▶ 'test' => sub {
Subroutine __ANON__: called CC=3 SCAR=11.1
2162 5 my $l = shift();
2163 5 my @s = split( /[\s,]+/, $l, 0 );
2164 5 foreach my $s (@s) {
2165 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
2166 unless $s =~
2167 m[^(?:ldapi://[^/]*/?|\w[\w\-\.]*(?::\d{1,5})?|ldap(?:s|\+tls)?://\w[\w\-\.]*(?::\d{1,5})?/?.*)$];
2168 }
2169 5 return 1;
2170 },
2171 'type' => 'text'
2172 },
2173 'ldapSetPassword' => {
2174 'default' => 0,
2175 'type' => 'bool'
2176 },
2177 'ldapTimeout' => {
2178 'default' => 10,
2179 'type' => 'int'
2180 },
2181 'ldapUsePasswordResetAttribute' => {
2182 'default' => 1,
2183 'type' => 'bool'
2184 },
2185 'ldapVerify' => {
2186 'default' => 'require',
2187 'select' => [ {
2188 'k' => 'none',
2189 'v' => 'None'
2190 },
2191 {
2192 'k' => 'optional',
2193 'v' => 'Optional'
2194 },
2195 {
2196 'k' => 'require',
2197 'v' => 'Require'
2198 }
2199 ],
2200 'type' => 'select'
2201 },
2202 'ldapVersion' => {
2203 'default' => 3,
2204 'type' => 'int'
2205 },
2206 'linkedInAuthnLevel' => {
2207 'default' => 1,
2208 'type' => 'int'
2209 },
2210 'linkedInClientID' => {
2211 'type' => 'text'
2212 },
2213 'linkedInClientSecret' => {
2214 'type' => 'password'
2215 },
2216 'linkedInFields' => {
2217 'default' => 'id,first-name,last-name,email-address',
2218 'type' => 'text'
2219 },
2220 'linkedInScope' => {
2221 'default' => 'r_liteprofile r_emailaddress',
2222 'type' => 'text'
2223 },
2224 'linkedInUserField' => {
2225 'default' => 'emailAddress',
2226 'type' => 'text'
2227 },
2228 'localSessionStorage' => {
2229 'default' => 'Cache::FileCache',
2230 'type' => 'PerlModule'
2231 },
2232 'localSessionStorageOptions' => {
2233 'default' => {
2234 'cache_depth' => 3,
2235 'cache_root' => '/var/cache/lemonldap-ng',
2236 'default_expires_in' => 600,
2237 'directory_umask' => '007',
2238 'namespace' => 'lemonldap-ng-sessions'
2239 },
2240 'type' => 'keyTextContainer'
2241 },
2242 'localStorage' => {
2243 'type' => 'text'
2244 },
2245 'localStorageOptions' => {
2246 'type' => 'keyTextContainer'
2247 },
2248 'locationDetect' => {
2249 'default' => 0,
2250 'type' => 'bool'
2251 },
2252 'locationDetectGeoIpDatabase' => {
2253 'type' => 'text'
2254 },
2255 'locationDetectGeoIpLanguages' => {
2256 'default' => 'en, fr',
2257 'type' => 'text'
2258 },
2259 'locationDetectIpDetail' => {
2260 'type' => 'text'
2261 },
2262 'locationDetectUaDetail' => {
2263 'type' => 'text'
2264 },
2265 'locationRules' => {
2266 'default' => {
2267 'default' => 'deny'
2268 },
2269 'keyMsgFail' => '__badHostname__',
2270 'keyTest' => qr/^\S+$/,
2271 'test' => {
2272 'keyMsgFail' => '__badRegexp__',
2273 255 ▶ 'keyTest' => sub {
Subroutine __ANON__: called CC=2 SCAR=7.0
2274 255 eval {
2275 255 do {
2276 255 qr/$_[0]/;
2277 }
2278 };
2279 255 ▶ return $@ ? 0 : 1;
Branch: 1 branch
BranchTrueFalseTotal
$@ ? : 0 255 255
2280 },
2281 'msgFail' => '__badExpression__',
2282 255 ▶ 'test' => sub {
Subroutine __ANON__: called CC=3 SCAR=11.0
2283 255 my ( $val, $conf ) = @_;
2284 255 my $s = $val;
2285 255 ▶ if ( $s =~ s/^logout(?:_(?:sso|app(?:_sso)?))?\s*// ) {
Branch: 1 branch
BranchTrueFalseTotal
if ($s =~ s/^logout(?:_(?:sso|app(?:_sso)?))?\s*//) 100 155 255
2286 100 ▶ return $s =~ m[^(?:https?://.*)?$]
Branch: 1 branch
BranchTrueFalseTotal
$s =~ m[^(?:https?://.*)?$] ? : 100 0 100
2287 ? 1
2288 : ( 0, '__badUrl__' );
2289 }
2290 155 $s =~ s/\b(accept|deny|unprotect|skip)\b/1/g;
2291 155 return &perlExpr( $s, $conf );
2292 }
2293 },
2294 'type' => 'ruleContainer'
2295 },
2296 'log4perlConfFile' => {
2297 'type' => 'text'
2298 },
2299 'logger' => {
2300 'type' => 'text'
2301 },
2302 'loginHistoryEnabled' => {
2303 'default' => 0,
2304 'type' => 'bool'
2305 },
2306 'logLevel' => {
2307 'type' => 'text'
2308 },
2309 'logoutServices' => {
2310 'default' => {},
2311 'type' => 'keyTextContainer'
2312 },
2313 'lokiAuthorization' => {
2314 'type' => 'text'
2315 },
2316 'lokiEnv' => {
2317 'type' => 'text'
2318 },
2319 'lokiInstance' => {
2320 'type' => 'text'
2321 },
2322 'lokiLabel' => {
2323 'type' => 'text'
2324 },
2325 'lokiService' => {
2326 'type' => 'text'
2327 },
2328 'lokiTenant' => {
2329 'type' => 'text'
2330 },
2331 'lokiTenantHeader' => {
2332 'type' => 'text'
2333 },
2334 'lokiUrl' => {
2335 'type' => 'text'
2336 },
2337 'lokiUserService' => {
2338 'type' => 'text'
2339 },
2340 'lwpOpts' => {
2341 'default' => {
2342 'timeout' => 10
2343 },
2344 'type' => 'keyTextContainer'
2345 },
2346 'lwpSslOpts' => {
2347 'type' => 'keyTextContainer'
2348 },
2349 'macros' => {
2350 'default' => {},
2351 'keyMsgFail' => '__badMacroName__',
2352 'keyTest' => qr/^[_a-zA-Z][a-zA-Z0-9_]*$/,
2353 50 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
2354 50 return perlExpr(@_);
2355 },
2356 'type' => 'keyTextContainer'
2357 },
2358 'mail2fActivation' => {
2359 'default' => 0,
2360 'type' => 'boolOrExpr'
2361 },
2362 'mail2fAuthnLevel' => {
2363 'type' => 'intOrNull'
2364 },
2365 'mail2fBody' => {
2366 'type' => 'longtext'
2367 },
2368 'mail2fCodeRegex' => {
2369 'default' => '\\d{6}',
2370 'type' => 'pcre'
2371 },
2372 'mail2fLabel' => {
2373 'type' => 'text'
2374 },
2375 'mail2fLogo' => {
2376 'type' => 'text'
2377 },
2378 'mail2fResendInterval' => {
2379 'type' => 'text'
2380 },
2381 'mail2fSessionKey' => {
2382 'type' => 'text'
2383 },
2384 'mail2fSubject' => {
2385 'type' => 'text'
2386 },
2387 'mail2fTimeout' => {
2388 'type' => 'intOrNull'
2389 },
2390 'mailBody' => {
2391 'type' => 'longtext'
2392 },
2393 'mailCharset' => {
2394 'default' => 'utf-8',
2395 'type' => 'text'
2396 },
2397 'mailConfirmBody' => {
2398 'type' => 'longtext'
2399 },
2400 'mailConfirmSubject' => {
2401 'type' => 'text'
2402 },
2403 'mailFrom' => {
2404 'default' => 'noreply@example.com',
2405 'type' => 'text'
2406 },
2407 'mailLDAPFilter' => {
2408 'type' => 'text'
2409 },
2410 'mailOnPasswordChange' => {
2411 'default' => 0,
2412 'type' => 'bool'
2413 },
2414 'mailReplyTo' => {
2415 'type' => 'text'
2416 },
2417 'mailSessionKey' => {
2418 'default' => 'mail',
2419 'type' => 'text'
2420 },
2421 'mailSubject' => {
2422 'type' => 'text'
2423 },
2424 'mailTimeout' => {
2425 'default' => 0,
2426 'type' => 'int'
2427 },
2428 'mailUrl' => {
2429 'type' => 'url'
2430 },
2431 'maintenance' => {
2432 'default' => 0,
2433 'type' => 'bool'
2434 },
2435 'managerDn' => {
2436 'default' => '',
2437 'msgFail' => '__badValue__',
2438 'test' => qr/^.*$/,
2439 'type' => 'text'
2440 },
2441 'managerPassword' => {
2442 'default' => '',
2443 'msgFail' => '__badValue__',
2444 'test' => qr/^\S*$/,
2445 'type' => 'password'
2446 },
2447 'max2FDevices' => {
2448 'default' => 10,
2449 'type' => 'int'
2450 },
2451 'max2FDevicesNameLength' => {
2452 'default' => 20,
2453 'type' => 'int'
2454 },
2455 'messageBroker' => {
2456 'select' => [ {
2457 'k' => '',
2458 'v' => ''
2459 },
2460 {
2461 'k' => '::Redis',
2462 'v' => 'Redis'
2463 },
2464 {
2465 'k' => '::Pg',
2466 'v' => 'PostgreSQL'
2467 },
2468 {
2469 'k' => '::MQTT',
2470 'v' => 'MQTT'
2471 },
2472 {
2473 'k' => '::Web',
2474 'v' => 'Web'
2475 }
2476 ],
2477 'type' => 'select'
2478 },
2479 'messageBrokerOptions' => {
2480 'default' => {},
2481 'type' => 'keyTextContainer'
2482 },
2483 'multiValuesSeparator' => {
2484 'default' => '; ',
2485 'type' => 'authParamsText'
2486 },
2487 'mySessionAuthorizedRWKeys' => {
2488 'default' => [
2489 '_appsListOrder', '_oidcConnectedRP',
2490 '_oidcConnectedRPIDs', '_oidcConsents'
2491 ],
2492 'type' => 'array'
2493 },
2494 'newLocationWarning' => {
2495 'default' => 0,
2496 'type' => 'bool'
2497 },
2498 'newLocationWarningLocationAttribute' => {
2499 'default' => 'ipAddr',
2500 'type' => 'text'
2501 },
2502 'newLocationWarningLocationDisplayAttribute' => {
2503 'default' => '',
2504 'type' => 'text'
2505 },
2506 'newLocationWarningMailAttribute' => {
2507 'type' => 'text'
2508 },
2509 'newLocationWarningMailBody' => {
2510 'type' => 'longtext'
2511 },
2512 'newLocationWarningMailSubject' => {
2513 'type' => 'text'
2514 },
2515 'newLocationWarningMaxValues' => {
2516 'default' => '0',
2517 'type' => 'int'
2518 },
2519 'nginxCustomHandlers' => {
2520 'keyTest' => qr/^\w+$/,
2521 'msgFail' => '__badPerlPackageName__',
2522 'test' => qr/^[a-zA-Z][a-zA-Z0-9]*(?:::[a-zA-Z][a-zA-Z0-9]*)*$/,
2523 'type' => 'keyTextContainer'
2524 },
2525 'noAjaxHook' => {
2526 'default' => 0,
2527 'type' => 'bool'
2528 },
2529 'notification' => {
2530 'default' => 0,
2531 'type' => 'bool'
2532 },
2533 'notificationDefaultCond' => {
2534 'default' => '',
2535 'type' => 'text'
2536 },
2537 'notificationServer' => {
2538 'default' => 0,
2539 'type' => 'bool'
2540 },
2541 'notificationServerDELETE' => {
2542 'default' => 0,
2543 'type' => 'bool'
2544 },
2545 'notificationServerGET' => {
2546 'default' => 0,
2547 'type' => 'bool'
2548 },
2549 'notificationServerPOST' => {
2550 'default' => 1,
2551 'type' => 'bool'
2552 },
2553 'notificationServerSentAttributes' => {
2554 'default' => 'uid reference date title subtitle text check',
2555 'type' => 'text'
2556 },
2557 'notificationsExplorer' => {
2558 'default' => 0,
2559 'type' => 'bool'
2560 },
2561 'notificationsMaxRetrieve' => {
2562 'default' => 3,
2563 'type' => 'int'
2564 },
2565 'notificationStorage' => {
2566 'default' => 'File',
2567 'type' => 'PerlModule'
2568 },
2569 'notificationStorageOptions' => {
2570 'default' => {
2571 'dirName' => '/var/lib/lemonldap-ng/notifications'
2572 },
2573 'type' => 'keyTextContainer'
2574 },
2575 'notificationWildcard' => {
2576 'default' => 'allusers',
2577 'type' => 'text'
2578 },
2579 'notificationXSLTfile' => {
2580 'type' => 'text'
2581 },
2582 'notifyDeleted' => {
2583 'default' => 1,
2584 'type' => 'bool'
2585 },
2586 'notifyOther' => {
2587 'default' => 0,
2588 'type' => 'bool'
2589 },
2590 'nullAuthnLevel' => {
2591 'default' => 0,
2592 'type' => 'int'
2593 },
2594 'oidcAuthnLevel' => {
2595 'default' => 1,
2596 'type' => 'int'
2597 },
2598 'oidcDropCspHeaders' => {
2599 'type' => 'bool'
2600 },
2601 'oidcOfflineTokens' => {
2602 'type' => 'bool'
2603 },
2604 'oidcOPMetaDataExportedVars' => {
2605 'default' => {
2606 'cn' => 'name',
2607 'mail' => 'email',
2608 'sn' => 'family_name',
2609 'uid' => 'sub'
2610 },
2611 'type' => 'keyTextContainer'
2612 },
2613 'oidcOPMetaDataJSON' => {
2614 0 ▶ 'keyTest' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
2615 0 1;
2616 },
2617 'type' => 'file'
2618 },
2619 'oidcOPMetaDataJWKS' => {
2620 0 ▶ 'keyTest' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
2621 0 1;
2622 },
2623 'type' => 'file'
2624 },
2625 'oidcOPMetaDataNodes' => {
2626 'type' => 'oidcOPMetaDataNodeContainer'
2627 },
2628 'oidcOPMetaDataOptions' => {
2629 'type' => 'subContainer'
2630 },
2631 'oidcOPMetaDataOptionsAcrValues' => {
2632 'type' => 'text'
2633 },
2634 'oidcOPMetaDataOptionsAuthEndpointExtraParams' => {
2635 'default' => {},
2636 'type' => 'keyTextContainer'
2637 },
2638 'oidcOPMetaDataOptionsAuthnEndpointAuthMethod' => {
2639 'select' => [ {
2640 'k' => '',
2641 'v' => 'None'
2642 },
2643 {
2644 'k' => 'jws',
2645 'v' => 'Signed JWT'
2646 }
2647 ],
2648 'type' => 'select'
2649 },
2650 'oidcOPMetaDataOptionsAuthnEndpointAuthSigAlg' => {
2651 'default' => 'RS256',
2652 'select' => [ {
2653 'k' => 'HS256',
2654 'v' => 'HS256'
2655 },
2656 {
2657 'k' => 'HS384',
2658 'v' => 'HS384'
2659 },
2660 {
2661 'k' => 'HS512',
2662 'v' => 'HS512'
2663 },
2664 {
2665 'k' => 'RS256',
2666 'v' => 'RS256'
2667 },
2668 {
2669 'k' => 'RS384',
2670 'v' => 'RS384'
2671 },
2672 {
2673 'k' => 'RS512',
2674 'v' => 'RS512'
2675 },
2676 {
2677 'k' => 'PS256',
2678 'v' => 'PS256'
2679 },
2680 {
2681 'k' => 'PS384',
2682 'v' => 'PS384'
2683 },
2684 {
2685 'k' => 'PS512',
2686 'v' => 'PS512'
2687 },
2688 {
2689 'k' => 'ES256',
2690 'v' => 'ES256'
2691 },
2692 {
2693 'k' => 'ES384',
2694 'v' => 'ES384'
2695 },
2696 {
2697 'k' => 'ES512',
2698 'v' => 'ES512'
2699 },
2700 {
2701 'k' => 'EdDSA',
2702 'v' => 'EdDSA'
2703 }
2704 ],
2705 'type' => 'select'
2706 },
2707 'oidcOPMetaDataOptionsCheckJWTSignature' => {
2708 'default' => 1,
2709 'type' => 'bool'
2710 },
2711 'oidcOPMetaDataOptionsClientID' => {
2712 'type' => 'text'
2713 },
2714 'oidcOPMetaDataOptionsClientSecret' => {
2715 'type' => 'password'
2716 },
2717 'oidcOPMetaDataOptionsComment' => {
2718 'type' => 'longtext'
2719 },
2720 'oidcOPMetaDataOptionsConfigurationURI' => {
2721 'type' => 'url'
2722 },
2723 'oidcOPMetaDataOptionsDisplay' => {
2724 'default' => '',
2725 'select' => [ {
2726 'k' => '',
2727 'v' => ''
2728 },
2729 {
2730 'k' => 'page',
2731 'v' => 'page'
2732 },
2733 {
2734 'k' => 'popup',
2735 'v' => 'popup'
2736 },
2737 {
2738 'k' => 'touch',
2739 'v' => 'touch'
2740 },
2741 {
2742 'k' => 'wap',
2743 'v' => 'wap'
2744 }
2745 ],
2746 'type' => 'select'
2747 },
2748 'oidcOPMetaDataOptionsDisplayName' => {
2749 'type' => 'text'
2750 },
2751 'oidcOPMetaDataOptionsIcon' => {
2752 'type' => 'text'
2753 },
2754 'oidcOPMetaDataOptionsIDTokenMaxAge' => {
2755 'default' => 30,
2756 'type' => 'int'
2757 },
2758 'oidcOPMetaDataOptionsJWKSTimeout' => {
2759 'default' => 0,
2760 'type' => 'int'
2761 },
2762 'oidcOPMetaDataOptionsMaxAge' => {
2763 'default' => 0,
2764 'type' => 'int'
2765 },
2766 'oidcOPMetaDataOptionsNoJwtHeader' => {
2767 'default' => 0,
2768 'type' => 'bool'
2769 },
2770 'oidcOPMetaDataOptionsPrompt' => {
2771 'type' => 'text'
2772 },
2773 'oidcOPMetaDataOptionsRequireIss' => {
2774 'default' => 0,
2775 'type' => 'bool'
2776 },
2777 'oidcOPMetaDataOptionsRequirePkce' => {
2778 'default' => 0,
2779 'type' => 'bool'
2780 },
2781 'oidcOPMetaDataOptionsResolutionRule' => {
2782 'default' => '',
2783 'type' => 'longtext'
2784 },
2785 'oidcOPMetaDataOptionsScope' => {
2786 'default' => 'openid profile',
2787 'type' => 'text'
2788 },
2789 'oidcOPMetaDataOptionsSigningKey' => {
2790 'default' => '',
2791 'type' => 'text'
2792 },
2793 'oidcOPMetaDataOptionsSortNumber' => {
2794 'type' => 'int'
2795 },
2796 'oidcOPMetaDataOptionsStoreIDToken' => {
2797 'default' => 0,
2798 'type' => 'bool'
2799 },
2800 'oidcOPMetaDataOptionsTokenEndpointAuthMethod' => {
2801 'default' => 'client_secret_post',
2802 'select' => [ {
2803 'k' => 'client_secret_post',
2804 'v' => 'client_secret_post'
2805 },
2806 {
2807 'k' => 'client_secret_basic',
2808 'v' => 'client_secret_basic'
2809 },
2810 {
2811 'k' => 'client_secret_jwt',
2812 'v' => 'client_secret_jwt'
2813 },
2814 {
2815 'k' => 'private_key_jwt',
2816 'v' => 'private_key_jwt'
2817 }
2818 ],
2819 'type' => 'select'
2820 },
2821 'oidcOPMetaDataOptionsTokenEndpointAuthSigAlg' => {
2822 'default' => 'RS256',
2823 'select' => [ {
2824 'k' => 'HS256',
2825 'v' => 'HS256'
2826 },
2827 {
2828 'k' => 'HS384',
2829 'v' => 'HS384'
2830 },
2831 {
2832 'k' => 'HS512',
2833 'v' => 'HS512'
2834 },
2835 {
2836 'k' => 'RS256',
2837 'v' => 'RS256'
2838 },
2839 {
2840 'k' => 'RS384',
2841 'v' => 'RS384'
2842 },
2843 {
2844 'k' => 'RS512',
2845 'v' => 'RS512'
2846 },
2847 {
2848 'k' => 'PS256',
2849 'v' => 'PS256'
2850 },
2851 {
2852 'k' => 'PS384',
2853 'v' => 'PS384'
2854 },
2855 {
2856 'k' => 'PS512',
2857 'v' => 'PS512'
2858 },
2859 {
2860 'k' => 'ES256',
2861 'v' => 'ES256'
2862 },
2863 {
2864 'k' => 'ES384',
2865 'v' => 'ES384'
2866 },
2867 {
2868 'k' => 'ES512',
2869 'v' => 'ES512'
2870 },
2871 {
2872 'k' => 'EdDSA',
2873 'v' => 'EdDSA'
2874 }
2875 ],
2876 'type' => 'select'
2877 },
2878 'oidcOPMetaDataOptionsTooltip' => {
2879 'type' => 'text'
2880 },
2881 'oidcOPMetaDataOptionsUiLocales' => {
2882 'type' => 'text'
2883 },
2884 'oidcOPMetaDataOptionsUseNonce' => {
2885 'default' => 1,
2886 'type' => 'bool'
2887 },
2888 'oidcOPMetaDataOptionsUserAttribute' => {
2889 'type' => 'text'
2890 },
2891 'oidcOPMetaDataOptionsUserinfoSource' => {
2892 'default' => 'userinfo',
2893 'select' => [ {
2894 'k' => 'userinfo',
2895 'v' => 'Userinfo endpoint'
2896 },
2897 {
2898 'k' => 'id_token',
2899 'v' => 'ID Token'
2900 },
2901 {
2902 'k' => 'access_token',
2903 'v' => 'Access Token'
2904 }
2905 ],
2906 'type' => 'select'
2907 },
2908 'oidcRPCallbackGetParam' => {
2909 'default' => 'openidconnectcallback',
2910 'type' => 'text'
2911 },
2912 'oidcRPMetaDataExportedVars' => {
2913 'default' => {
2914 'email' => 'mail',
2915 'name' => 'cn',
2916 'preferred_username' => 'uid'
2917 },
2918 'keyTest' => qr/\w/,
2919 'test' => qr/\w/,
2920 'type' => 'oidcAttributeContainer'
2921 },
2922 'oidcRPMetaDataMacros' => {
2923 'default' => {},
2924 'test' => {
2925 'keyMsgFail' => '__badMacroName__',
2926 'keyTest' => qr/^[_a-zA-Z][a-zA-Z0-9_]*$/,
2927 8 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
2928 8 return perlExpr(@_);
2929 }
2930 },
2931 'type' => 'keyTextContainer'
2932 },
2933 'oidcRPMetaDataNodes' => {
2934 'type' => 'oidcRPMetaDataNodeContainer'
2935 },
2936 'oidcRPMetaDataOptions' => {
2937 'type' => 'subContainer'
2938 },
2939 'oidcRPMetaDataOptionsAccessTokenClaims' => {
2940 'default' => 0,
2941 'type' => 'bool'
2942 },
2943 'oidcRPMetaDataOptionsAccessTokenEncContentEncAlg' => {
2944 'default' => 'A256GCM',
2945 'select' => [ {
2946 'k' => 'A256CBC-HS512',
2947 'v' => 'A256CBC-HS512'
2948 },
2949 {
2950 'k' => 'A256GCM',
2951 'v' => 'A256GCM'
2952 },
2953 {
2954 'k' => 'A192CBC-HS384',
2955 'v' => 'A192CBC-HS384'
2956 },
2957 {
2958 'k' => 'A192GCM',
2959 'v' => 'A192GCM'
2960 },
2961 {
2962 'k' => 'A128CBC-HS256',
2963 'v' => 'A128CBC-HS256'
2964 },
2965 {
2966 'k' => 'A128GCM',
2967 'v' => 'A128GCM'
2968 }
2969 ],
2970 'type' => 'select'
2971 },
2972 'oidcRPMetaDataOptionsAccessTokenEncKeyMgtAlg' => {
2973 'select' => [ {
2974 'k' => '',
2975 'v' => 'None'
2976 },
2977 {
2978 'k' => 'RSA-OAEP',
2979 'v' => 'RSA-OAEP'
2980 },
2981 {
2982 'k' => 'RSA-OAEP-256',
2983 'v' => 'RSA-OAEP-256'
2984 },
2985 {
2986 'k' => 'RSA1_5',
2987 'v' => 'RSA1_5'
2988 },
2989 {
2990 'k' => 'ECDH-ES',
2991 'v' => 'ECDH-ES'
2992 },
2993 {
2994 'k' => 'ECDH-ES+A128KW',
2995 'v' => 'ECDH-ES+A128KW'
2996 },
2997 {
2998 'k' => 'ECDH-ES+A192KW',
2999 'v' => 'ECDH-ES+A192KW'
3000 },
3001 {
3002 'k' => 'ECDH-ES+A256KW',
3003 'v' => 'ECDH-ES+A256KW'
3004 }
3005 ],
3006 'type' => 'select'
3007 },
3008 'oidcRPMetaDataOptionsAccessTokenExpiration' => {
3009 'type' => 'intOrNull'
3010 },
3011 'oidcRPMetaDataOptionsAccessTokenJWT' => {
3012 'default' => 0,
3013 'type' => 'bool'
3014 },
3015 'oidcRPMetaDataOptionsAccessTokenSignAlg' => {
3016 'default' => 'RS256',
3017 'select' => [ {
3018 'k' => 'HS256',
3019 'v' => 'HS256'
3020 },
3021 {
3022 'k' => 'HS384',
3023 'v' => 'HS384'
3024 },
3025 {
3026 'k' => 'HS512',
3027 'v' => 'HS512'
3028 },
3029 {
3030 'k' => 'RS256',
3031 'v' => 'RS256'
3032 },
3033 {
3034 'k' => 'RS384',
3035 'v' => 'RS384'
3036 },
3037 {
3038 'k' => 'RS512',
3039 'v' => 'RS512'
3040 },
3041 {
3042 'k' => 'PS256',
3043 'v' => 'PS256'
3044 },
3045 {
3046 'k' => 'PS384',
3047 'v' => 'PS384'
3048 },
3049 {
3050 'k' => 'PS512',
3051 'v' => 'PS512'
3052 },
3053 {
3054 'k' => 'ES256',
3055 'v' => 'ES256'
3056 },
3057 {
3058 'k' => 'ES384',
3059 'v' => 'ES384'
3060 },
3061 {
3062 'k' => 'ES512',
3063 'v' => 'ES512'
3064 },
3065 {
3066 'k' => 'EdDSA',
3067 'v' => 'EdDSA'
3068 }
3069 ],
3070 'type' => 'select'
3071 },
3072 'oidcRPMetaDataOptionsActivation' => {
3073 'default' => 1,
3074 'type' => 'bool'
3075 },
3076 'oidcRPMetaDataOptionsAdditionalAudiences' => {
3077 'type' => 'text'
3078 },
3079 'oidcRPMetaDataOptionsAllowClientCredentialsGrant' => {
3080 'default' => 0,
3081 'type' => 'bool'
3082 },
3083 'oidcRPMetaDataOptionsAllowNativeSso' => {
3084 'default' => 0,
3085 'type' => 'bool'
3086 },
3087 'oidcRPMetaDataOptionsAllowOffline' => {
3088 'default' => 0,
3089 'type' => 'bool'
3090 },
3091 'oidcRPMetaDataOptionsAllowPasswordGrant' => {
3092 'default' => 0,
3093 'type' => 'bool'
3094 },
3095 'oidcRPMetaDataOptionsAuthMethod' => {
3096 'select' => [ {
3097 'k' => '',
3098 'v' => 'Any'
3099 },
3100 {
3101 'k' => 'client_secret_post',
3102 'v' => 'client_secret_post'
3103 },
3104 {
3105 'k' => 'client_secret_basic',
3106 'v' => 'client_secret_basic'
3107 },
3108 {
3109 'k' => 'client_secret_jwt',
3110 'v' => 'client_secret_jwt'
3111 },
3112 {
3113 'k' => 'private_key_jwt',
3114 'v' => 'private_key_jwt'
3115 }
3116 ],
3117 'type' => 'select'
3118 },
3119 'oidcRPMetaDataOptionsAuthnLevel' => {
3120 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
3121 0 return perlExpr(@_);
3122 },
3123 'type' => 'text'
3124 },
3125 'oidcRPMetaDataOptionsAuthnRequireNonce' => {
3126 'default' => 0,
3127 'type' => 'bool'
3128 },
3129 'oidcRPMetaDataOptionsAuthnRequireState' => {
3130 'default' => 0,
3131 'type' => 'bool'
3132 },
3133 'oidcRPMetaDataOptionsAuthorizationCodeExpiration' => {
3134 'type' => 'intOrNull'
3135 },
3136 'oidcRPMetaDataOptionsAuthRequiredForAuthorize' => {
3137 'default' => 0,
3138 'type' => 'bool'
3139 },
3140 'oidcRPMetaDataOptionsBypassConsent' => {
3141 'default' => 0,
3142 'type' => 'bool'
3143 },
3144 'oidcRPMetaDataOptionsClientID' => {
3145 'type' => 'text'
3146 },
3147 'oidcRPMetaDataOptionsClientSecret' => {
3148 'type' => 'password'
3149 },
3150 'oidcRPMetaDataOptionsComment' => {
3151 'type' => 'longtext'
3152 },
3153 'oidcRPMetaDataOptionsDisplayName' => {
3154 'type' => 'text'
3155 },
3156 'oidcRPMetaDataOptionsExtraClaims' => {
3157 'default' => {},
3158 'keyTest' => qr/^[\x21\x23-\x5B\x5D-\x7E]+$/,
3159 'type' => 'keyTextContainer'
3160 },
3161 'oidcRPMetaDataOptionsIcon' => {
3162 'type' => 'text'
3163 },
3164 'oidcRPMetaDataOptionsIdTokenEncContentEncAlg' => {
3165 'default' => 'A256GCM',
3166 'select' => [ {
3167 'k' => 'A256CBC-HS512',
3168 'v' => 'A256CBC-HS512'
3169 },
3170 {
3171 'k' => 'A256GCM',
3172 'v' => 'A256GCM'
3173 },
3174 {
3175 'k' => 'A192CBC-HS384',
3176 'v' => 'A192CBC-HS384'
3177 },
3178 {
3179 'k' => 'A192GCM',
3180 'v' => 'A192GCM'
3181 },
3182 {
3183 'k' => 'A128CBC-HS256',
3184 'v' => 'A128CBC-HS256'
3185 },
3186 {
3187 'k' => 'A128GCM',
3188 'v' => 'A128GCM'
3189 }
3190 ],
3191 'type' => 'select'
3192 },
3193 'oidcRPMetaDataOptionsIdTokenEncKeyMgtAlg' => {
3194 'select' => [ {
3195 'k' => '',
3196 'v' => 'None'
3197 },
3198 {
3199 'k' => 'RSA-OAEP',
3200 'v' => 'RSA-OAEP'
3201 },
3202 {
3203 'k' => 'RSA-OAEP-256',
3204 'v' => 'RSA-OAEP-256'
3205 },
3206 {
3207 'k' => 'RSA1_5',
3208 'v' => 'RSA1_5'
3209 },
3210 {
3211 'k' => 'ECDH-ES',
3212 'v' => 'ECDH-ES'
3213 },
3214 {
3215 'k' => 'ECDH-ES+A128KW',
3216 'v' => 'ECDH-ES+A128KW'
3217 },
3218 {
3219 'k' => 'ECDH-ES+A192KW',
3220 'v' => 'ECDH-ES+A192KW'
3221 },
3222 {
3223 'k' => 'ECDH-ES+A256KW',
3224 'v' => 'ECDH-ES+A256KW'
3225 }
3226 ],
3227 'type' => 'select'
3228 },
3229 'oidcRPMetaDataOptionsIDTokenExpiration' => {
3230 'type' => 'intOrNull'
3231 },
3232 'oidcRPMetaDataOptionsIDTokenForceClaims' => {
3233 'default' => 0,
3234 'type' => 'bool'
3235 },
3236 'oidcRPMetaDataOptionsIDTokenSignAlg' => {
3237 'default' => 'RS256',
3238 'select' => [ {
3239 'k' => 'none',
3240 'v' => 'None'
3241 },
3242 {
3243 'k' => 'HS256',
3244 'v' => 'HS256'
3245 },
3246 {
3247 'k' => 'HS384',
3248 'v' => 'HS384'
3249 },
3250 {
3251 'k' => 'HS512',
3252 'v' => 'HS512'
3253 },
3254 {
3255 'k' => 'RS256',
3256 'v' => 'RS256'
3257 },
3258 {
3259 'k' => 'RS384',
3260 'v' => 'RS384'
3261 },
3262 {
3263 'k' => 'RS512',
3264 'v' => 'RS512'
3265 },
3266 {
3267 'k' => 'PS256',
3268 'v' => 'PS256'
3269 },
3270 {
3271 'k' => 'PS384',
3272 'v' => 'PS384'
3273 },
3274 {
3275 'k' => 'PS512',
3276 'v' => 'PS512'
3277 },
3278 {
3279 'k' => 'ES256',
3280 'v' => 'ES256'
3281 },
3282 {
3283 'k' => 'ES384',
3284 'v' => 'ES384'
3285 },
3286 {
3287 'k' => 'ES512',
3288 'v' => 'ES512'
3289 },
3290 {
3291 'k' => 'EdDSA',
3292 'v' => 'EdDSA'
3293 }
3294 ],
3295 'type' => 'select'
3296 },
3297 'oidcRPMetaDataOptionsIntrospectionEncContentEncAlg' => {
3298 'default' => 'A256GCM',
3299 'select' => [ {
3300 'k' => 'A256CBC-HS512',
3301 'v' => 'A256CBC-HS512'
3302 },
3303 {
3304 'k' => 'A256GCM',
3305 'v' => 'A256GCM'
3306 },
3307 {
3308 'k' => 'A192CBC-HS384',
3309 'v' => 'A192CBC-HS384'
3310 },
3311 {
3312 'k' => 'A192GCM',
3313 'v' => 'A192GCM'
3314 },
3315 {
3316 'k' => 'A128CBC-HS256',
3317 'v' => 'A128CBC-HS256'
3318 },
3319 {
3320 'k' => 'A128GCM',
3321 'v' => 'A128GCM'
3322 }
3323 ],
3324 'type' => 'select'
3325 },
3326 'oidcRPMetaDataOptionsIntrospectionEncKeyMgtAlg' => {
3327 'select' => [ {
3328 'k' => '',
3329 'v' => 'None'
3330 },
3331 {
3332 'k' => 'RSA-OAEP',
3333 'v' => 'RSA-OAEP'
3334 },
3335 {
3336 'k' => 'RSA-OAEP-256',
3337 'v' => 'RSA-OAEP-256'
3338 },
3339 {
3340 'k' => 'RSA1_5',
3341 'v' => 'RSA1_5'
3342 },
3343 {
3344 'k' => 'ECDH-ES',
3345 'v' => 'ECDH-ES'
3346 },
3347 {
3348 'k' => 'ECDH-ES+A128KW',
3349 'v' => 'ECDH-ES+A128KW'
3350 },
3351 {
3352 'k' => 'ECDH-ES+A192KW',
3353 'v' => 'ECDH-ES+A192KW'
3354 },
3355 {
3356 'k' => 'ECDH-ES+A256KW',
3357 'v' => 'ECDH-ES+A256KW'
3358 }
3359 ],
3360 'type' => 'select'
3361 },
3362 'oidcRPMetaDataOptionsIntrospectionSignAlg' => {
3363 'default' => '',
3364 'select' => [ {
3365 'k' => '',
3366 'v' => 'JSON'
3367 },
3368 {
3369 'k' => 'HS256',
3370 'v' => 'HS256'
3371 },
3372 {
3373 'k' => 'HS384',
3374 'v' => 'HS384'
3375 },
3376 {
3377 'k' => 'HS512',
3378 'v' => 'HS512'
3379 },
3380 {
3381 'k' => 'RS256',
3382 'v' => 'RS256'
3383 },
3384 {
3385 'k' => 'RS384',
3386 'v' => 'RS384'
3387 },
3388 {
3389 'k' => 'RS512',
3390 'v' => 'RS512'
3391 },
3392 {
3393 'k' => 'PS256',
3394 'v' => 'PS256'
3395 },
3396 {
3397 'k' => 'PS384',
3398 'v' => 'PS384'
3399 },
3400 {
3401 'k' => 'PS512',
3402 'v' => 'PS512'
3403 },
3404 {
3405 'k' => 'ES256',
3406 'v' => 'ES256'
3407 },
3408 {
3409 'k' => 'ES384',
3410 'v' => 'ES384'
3411 },
3412 {
3413 'k' => 'ES512',
3414 'v' => 'ES512'
3415 },
3416 {
3417 'k' => 'EdDSA',
3418 'v' => 'EdDSA'
3419 }
3420 ],
3421 'type' => 'select'
3422 },
3423 'oidcRPMetaDataOptionsJwks' => {
3424 0 ▶ 'keyTest' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
3425 0 1;
3426 },
3427 'type' => 'file'
3428 },
3429 'oidcRPMetaDataOptionsJwksUri' => {
3430 'type' => 'url'
3431 },
3432 'oidcRPMetaDataOptionsLogoutBypassConfirm' => {
3433 'default' => 0,
3434 'type' => 'bool'
3435 },
3436 'oidcRPMetaDataOptionsLogoutEncContentEncAlg' => {
3437 'default' => 'A256GCM',
3438 'select' => [ {
3439 'k' => 'A256CBC-HS512',
3440 'v' => 'A256CBC-HS512'
3441 },
3442 {
3443 'k' => 'A256GCM',
3444 'v' => 'A256GCM'
3445 },
3446 {
3447 'k' => 'A192CBC-HS384',
3448 'v' => 'A192CBC-HS384'
3449 },
3450 {
3451 'k' => 'A192GCM',
3452 'v' => 'A192GCM'
3453 },
3454 {
3455 'k' => 'A128CBC-HS256',
3456 'v' => 'A128CBC-HS256'
3457 },
3458 {
3459 'k' => 'A128GCM',
3460 'v' => 'A128GCM'
3461 }
3462 ],
3463 'type' => 'select'
3464 },
3465 'oidcRPMetaDataOptionsLogoutEncKeyMgtAlg' => {
3466 'select' => [ {
3467 'k' => '',
3468 'v' => 'None'
3469 },
3470 {
3471 'k' => 'RSA-OAEP',
3472 'v' => 'RSA-OAEP'
3473 },
3474 {
3475 'k' => 'RSA-OAEP-256',
3476 'v' => 'RSA-OAEP-256'
3477 },
3478 {
3479 'k' => 'RSA1_5',
3480 'v' => 'RSA1_5'
3481 },
3482 {
3483 'k' => 'ECDH-ES',
3484 'v' => 'ECDH-ES'
3485 },
3486 {
3487 'k' => 'ECDH-ES+A128KW',
3488 'v' => 'ECDH-ES+A128KW'
3489 },
3490 {
3491 'k' => 'ECDH-ES+A192KW',
3492 'v' => 'ECDH-ES+A192KW'
3493 },
3494 {
3495 'k' => 'ECDH-ES+A256KW',
3496 'v' => 'ECDH-ES+A256KW'
3497 }
3498 ],
3499 'type' => 'select'
3500 },
3501 'oidcRPMetaDataOptionsLogoutSessionRequired' => {
3502 'default' => 0,
3503 'type' => 'bool'
3504 },
3505 'oidcRPMetaDataOptionsLogoutType' => {
3506 'default' => 'front',
3507 'select' => [ {
3508 'k' => 'front',
3509 'v' => 'Front Channel'
3510 },
3511 {
3512 'k' => 'back',
3513 'v' => 'Back Channel'
3514 }
3515 ],
3516 'type' => 'select'
3517 },
3518 'oidcRPMetaDataOptionsLogoutUrl' => {
3519 'type' => 'text'
3520 },
3521 'oidcRPMetaDataOptionsNoJwtHeader' => {
3522 'default' => 0,
3523 'type' => 'bool'
3524 },
3525 'oidcRPMetaDataOptionsOfflineSessionExpiration' => {
3526 'type' => 'intOrNull'
3527 },
3528 'oidcRPMetaDataOptionsPostLogoutRedirectUris' => {
3529 'type' => 'text'
3530 },
3531 'oidcRPMetaDataOptionsPublic' => {
3532 'default' => 0,
3533 'type' => 'bool'
3534 },
3535 'oidcRPMetaDataOptionsRedirectUris' => {
3536 'type' => 'text'
3537 },
3538 'oidcRPMetaDataOptionsRefreshToken' => {
3539 'default' => 0,
3540 'type' => 'bool'
3541 },
3542 'oidcRPMetaDataOptionsRefreshTokenRotation' => {
3543 'default' => 0,
3544 'type' => 'bool'
3545 },
3546 'oidcRPMetaDataOptionsRequestUris' => {
3547 'type' => 'text'
3548 },
3549 'oidcRPMetaDataOptionsRequirePKCE' => {
3550 'default' => 0,
3551 'select' => [ {
3552 'k' => '0',
3553 'v' => 'disabled'
3554 },
3555 {
3556 'k' => '1',
3557 'v' => 'required'
3558 },
3559 {
3560 'k' => '2',
3561 'v' => 'pkceOrSecret'
3562 }
3563 ],
3564 'type' => 'select'
3565 },
3566 'oidcRPMetaDataOptionsRtActivity' => {
3567 'default' => 0,
3568 8 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
3569 8 $_[0] >= 0;
3570 },
3571 'type' => 'int'
3572 },
3573 'oidcRPMetaDataOptionsRule' => {
3574 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
3575 0 return perlExpr(@_);
3576 },
3577 'type' => 'text'
3578 },
3579 'oidcRPMetaDataOptionsSigningKey' => {
3580 'default' => '',
3581 'type' => 'text'
3582 },
3583 'oidcRPMetaDataOptionsTokenXAuthorizedRP' => {
3584 'type' => 'text'
3585 },
3586 'oidcRPMetaDataOptionsUserIDAttr' => {
3587 'type' => 'text'
3588 },
3589 'oidcRPMetaDataOptionsUserInfoEncContentEncAlg' => {
3590 'default' => 'A256GCM',
3591 'select' => [ {
3592 'k' => 'A256CBC-HS512',
3593 'v' => 'A256CBC-HS512'
3594 },
3595 {
3596 'k' => 'A256GCM',
3597 'v' => 'A256GCM'
3598 },
3599 {
3600 'k' => 'A192CBC-HS384',
3601 'v' => 'A192CBC-HS384'
3602 },
3603 {
3604 'k' => 'A192GCM',
3605 'v' => 'A192GCM'
3606 },
3607 {
3608 'k' => 'A128CBC-HS256',
3609 'v' => 'A128CBC-HS256'
3610 },
3611 {
3612 'k' => 'A128GCM',
3613 'v' => 'A128GCM'
3614 }
3615 ],
3616 'type' => 'select'
3617 },
3618 'oidcRPMetaDataOptionsUserInfoEncKeyMgtAlg' => {
3619 'select' => [ {
3620 'k' => '',
3621 'v' => 'None'
3622 },
3623 {
3624 'k' => 'RSA-OAEP',
3625 'v' => 'RSA-OAEP'
3626 },
3627 {
3628 'k' => 'RSA-OAEP-256',
3629 'v' => 'RSA-OAEP-256'
3630 },
3631 {
3632 'k' => 'RSA1_5',
3633 'v' => 'RSA1_5'
3634 },
3635 {
3636 'k' => 'ECDH-ES',
3637 'v' => 'ECDH-ES'
3638 },
3639 {
3640 'k' => 'ECDH-ES+A128KW',
3641 'v' => 'ECDH-ES+A128KW'
3642 },
3643 {
3644 'k' => 'ECDH-ES+A192KW',
3645 'v' => 'ECDH-ES+A192KW'
3646 },
3647 {
3648 'k' => 'ECDH-ES+A256KW',
3649 'v' => 'ECDH-ES+A256KW'
3650 }
3651 ],
3652 'type' => 'select'
3653 },
3654 'oidcRPMetaDataOptionsUserinfoRequireHeaderToken' => {
3655 'default' => 0,
3656 'type' => 'bool'
3657 },
3658 'oidcRPMetaDataOptionsUserInfoSignAlg' => {
3659 'default' => '',
3660 'select' => [ {
3661 'k' => '',
3662 'v' => 'JSON'
3663 },
3664 {
3665 'k' => 'none',
3666 'v' => 'None'
3667 },
3668 {
3669 'k' => 'HS256',
3670 'v' => 'HS256'
3671 },
3672 {
3673 'k' => 'HS384',
3674 'v' => 'HS384'
3675 },
3676 {
3677 'k' => 'HS512',
3678 'v' => 'HS512'
3679 },
3680 {
3681 'k' => 'RS256',
3682 'v' => 'RS256'
3683 },
3684 {
3685 'k' => 'RS384',
3686 'v' => 'RS384'
3687 },
3688 {
3689 'k' => 'RS512',
3690 'v' => 'RS512'
3691 },
3692 {
3693 'k' => 'PS256',
3694 'v' => 'PS256'
3695 },
3696 {
3697 'k' => 'PS384',
3698 'v' => 'PS384'
3699 },
3700 {
3701 'k' => 'PS512',
3702 'v' => 'PS512'
3703 },
3704 {
3705 'k' => 'ES256',
3706 'v' => 'ES256'
3707 },
3708 {
3709 'k' => 'ES384',
3710 'v' => 'ES384'
3711 },
3712 {
3713 'k' => 'ES512',
3714 'v' => 'ES512'
3715 },
3716 {
3717 'k' => 'EdDSA',
3718 'v' => 'EdDSA'
3719 }
3720 ],
3721 'type' => 'select'
3722 },
3723 'oidcRPMetaDataScopeRules' => {
3724 'default' => {},
3725 'test' => {
3726 'keyMsgFail' => '__badMacroName__',
3727 'keyTest' => qr/^[\x21\x23-\x5B\x5D-\x7E]+$/,
3728 8 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
3729 8 return perlExpr(@_);
3730 }
3731 },
3732 'type' => 'keyTextContainer'
3733 },
3734 'oidcRPStateTimeout' => {
3735 'default' => 600,
3736 'type' => 'int'
3737 },
3738 'oidcServiceAccessTokenExpiration' => {
3739 'default' => 3600,
3740 'type' => 'int'
3741 },
3742 'oidcServiceAllowAuthorizationCodeFlow' => {
3743 'default' => 1,
3744 'type' => 'bool'
3745 },
3746 'oidcServiceAllowDynamicRegistration' => {
3747 'default' => 0,
3748 'select' => [ {
3749 'k' => '0',
3750 'v' => 'disabled'
3751 },
3752 {
3753 'k' => '1',
3754 'v' => 'confidentialOnly'
3755 },
3756 {
3757 'k' => '2',
3758 'v' => 'allClients'
3759 }
3760 ],
3761 'type' => 'select'
3762 },
3763 'oidcServiceAllowHybridFlow' => {
3764 'default' => 0,
3765 'type' => 'bool'
3766 },
3767 'oidcServiceAllowImplicitFlow' => {
3768 'default' => 0,
3769 'type' => 'bool'
3770 },
3771 'oidcServiceAllowOnlyDeclaredScopes' => {
3772 'default' => 0,
3773 'type' => 'bool'
3774 },
3775 'oidcServiceAuthorizationCodeExpiration' => {
3776 'default' => 60,
3777 'type' => 'int'
3778 },
3779 'oidcServiceDynamicRegistrationExportedVars' => {
3780 'type' => 'keyTextContainer'
3781 },
3782 'oidcServiceDynamicRegistrationExtraClaims' => {
3783 'keyTest' => qr/^[\x21\x23-\x5B\x5D-\x7E]+$/,
3784 'type' => 'keyTextContainer'
3785 },
3786 'oidcServiceEncAlgorithmAlg' => {
3787 'default' => 'RSA-OAEP',
3788 'select' => [ {
3789 'k' => 'RSA-OAEP',
3790 'v' => 'RSA-OAEP'
3791 },
3792 {
3793 'k' => 'RSA-OAEP-256',
3794 'v' => 'RSA-OAEP-256'
3795 },
3796 {
3797 'k' => 'RSA1_5',
3798 'v' => 'RSA1_5'
3799 },
3800 {
3801 'k' => 'ECDH-ES',
3802 'v' => 'ECDH-ES'
3803 },
3804 {
3805 'k' => 'ECDH-ES+A128KW',
3806 'v' => 'ECDH-ES+A128KW'
3807 },
3808 {
3809 'k' => 'ECDH-ES+A192KW',
3810 'v' => 'ECDH-ES+A192KW'
3811 },
3812 {
3813 'k' => 'ECDH-ES+A256KW',
3814 'v' => 'ECDH-ES+A256KW'
3815 }
3816 ],
3817 'type' => 'select'
3818 },
3819 'oidcServiceEncAlgorithmEnc' => {
3820 'default' => 'A256GCM',
3821 'select' => [ {
3822 'k' => 'A256CBC-HS512',
3823 'v' => 'A256CBC-HS512'
3824 },
3825 {
3826 'k' => 'A256GCM',
3827 'v' => 'A256GCM'
3828 },
3829 {
3830 'k' => 'A192CBC-HS384',
3831 'v' => 'A192CBC-HS384'
3832 },
3833 {
3834 'k' => 'A192GCM',
3835 'v' => 'A192GCM'
3836 },
3837 {
3838 'k' => 'A128CBC-HS256',
3839 'v' => 'A128CBC-HS256'
3840 },
3841 {
3842 'k' => 'A128GCM',
3843 'v' => 'A128GCM'
3844 }
3845 ],
3846 'type' => 'select'
3847 },
3848 'oidcServiceEncryptionKey' => {
3849 'default' => 'default-oidc-enc',
3850 'type' => 'text'
3851 },
3852 'oidcServiceHideMetadata' => {
3853 'type' => 'bool'
3854 },
3855 'oidcServiceIDTokenExpiration' => {
3856 'default' => 3600,
3857 'type' => 'int'
3858 },
3859 'oidcServiceIgnoreScopeForClaims' => {
3860 'default' => 0,
3861 'type' => 'bool'
3862 },
3863 'oidcServiceKeyIdEnc' => {
3864 'type' => 'text'
3865 },
3866 'oidcServiceKeyIdSig' => {
3867 'type' => 'text'
3868 },
3869 'oidcServiceKeyTypeEnc' => {
3870 'default' => 'RSA',
3871 'select' => [ {
3872 'k' => 'RSA',
3873 'v' => 'RSA'
3874 },
3875 {
3876 'k' => 'EC',
3877 'v' => 'EC'
3878 }
3879 ],
3880 'type' => 'select'
3881 },
3882 'oidcServiceKeyTypeSig' => {
3883 'default' => 'RSA',
3884 'select' => [ {
3885 'k' => 'RSA',
3886 'v' => 'RSA'
3887 },
3888 {
3889 'k' => 'EC',
3890 'v' => 'EC'
3891 }
3892 ],
3893 'type' => 'select'
3894 },
3895 'oidcServiceMetaDataAmrRules' => {
3896 'default' => {
3897 'mfa' => '$_2f',
3898 'otp' => '$_2f eq "TOTP"',
3899 'pop' => '$_auth eq "WebAuthn" or $_auth eq "SSL"',
3900 'pwd' => '$authenticationLevel == 2'
3901 },
3902 'keyTest' => qr/\w/,
3903 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
3904 0 return perlExpr(@_);
3905 },
3906 'type' => 'keyTextContainer'
3907 },
3908 'oidcServiceMetaDataAuthnContext' => {
3909 'default' => {
3910 'loa-1' => 1,
3911 'loa-2' => 2,
3912 'loa-3' => 3,
3913 'loa-4' => 4,
3914 'loa-5' => 5
3915 },
3916 'keyTest' => qr/\w/,
3917 'type' => 'keyTextContainer'
3918 },
3919 'oidcServiceMetaDataAuthorizeURI' => {
3920 'default' => 'authorize',
3921 'type' => 'text'
3922 },
3923 'oidcServiceMetaDataBackChannelURI' => {
3924 'default' => 'blogout',
3925 'type' => 'text'
3926 },
3927 'oidcServiceMetaDataCheckSessionURI' => {
3928 'default' => 'checksession.html',
3929 'type' => 'text'
3930 },
3931 'oidcServiceMetaDataDisallowNoneAlg' => {
3932 'type' => 'bool'
3933 },
3934 'oidcServiceMetaDataEndSessionURI' => {
3935 'default' => 'logout',
3936 'type' => 'text'
3937 },
3938 'oidcServiceMetaDataFrontChannelURI' => {
3939 'default' => 'flogout',
3940 'type' => 'text'
3941 },
3942 'oidcServiceMetaDataIntrospectionURI' => {
3943 'default' => 'introspect',
3944 'type' => 'text'
3945 },
3946 'oidcServiceMetaDataIssuer' => {
3947 'type' => 'text'
3948 },
3949 'oidcServiceMetaDataJWKSURI' => {
3950 'default' => 'jwks',
3951 'type' => 'text'
3952 },
3953 'oidcServiceMetaDataRegistrationURI' => {
3954 'default' => 'register',
3955 'type' => 'text'
3956 },
3957 'oidcServiceMetaDataRevokeURI' => {
3958 'default' => 'revoke',
3959 'type' => 'text'
3960 },
3961 'oidcServiceMetaDataRpLogoutReturnURI' => {
3962 'default' => 'rlogoutreturn',
3963 'type' => 'text'
3964 },
3965 'oidcServiceMetaDataTokenURI' => {
3966 'default' => 'token',
3967 'type' => 'text'
3968 },
3969 'oidcServiceMetadataTtl' => {
3970 'type' => 'int'
3971 },
3972 'oidcServiceMetaDataUserInfoURI' => {
3973 'default' => 'userinfo',
3974 'type' => 'text'
3975 },
3976 'oidcServiceNewKeyIdSig' => {
3977 'type' => 'text'
3978 },
3979 'oidcServiceNewKeyTypeSig' => {
3980 'default' => 'RSA',
3981 'select' => [ {
3982 'k' => 'RSA',
3983 'v' => 'RSA'
3984 },
3985 {
3986 'k' => 'EC',
3987 'v' => 'EC'
3988 }
3989 ],
3990 'type' => 'select'
3991 },
3992 'oidcServiceNewPrivateKeySig' => {
3993 'type' => 'EcOrRSAPrivateKey'
3994 },
3995 'oidcServiceNewPublicKeySig' => {
3996 'type' => 'EcOrRSAPublicKeyOrCertificate'
3997 },
3998 'oidcServiceOfflineSessionExpiration' => {
3999 'default' => 2592000,
4000 'type' => 'int'
4001 },
4002 'oidcServiceOldKeyIdEnc' => {
4003 'type' => 'text'
4004 },
4005 'oidcServiceOldKeyIdSig' => {
4006 'type' => 'text'
4007 },
4008 'oidcServiceOldKeyTypeEnc' => {
4009 'default' => 'RSA',
4010 'select' => [ {
4011 'k' => 'RSA',
4012 'v' => 'RSA'
4013 },
4014 {
4015 'k' => 'EC',
4016 'v' => 'EC'
4017 }
4018 ],
4019 'type' => 'select'
4020 },
4021 'oidcServiceOldKeyTypeSig' => {
4022 'default' => 'RSA',
4023 'select' => [ {
4024 'k' => 'RSA',
4025 'v' => 'RSA'
4026 },
4027 {
4028 'k' => 'EC',
4029 'v' => 'EC'
4030 }
4031 ],
4032 'type' => 'select'
4033 },
4034 'oidcServiceOldPrivateKeyEnc' => {
4035 'type' => 'RSAPrivateKey'
4036 },
4037 'oidcServiceOldPrivateKeySig' => {
4038 'type' => 'EcOrRSAPrivateKey'
4039 },
4040 'oidcServiceOldPublicKeyEnc' => {
4041 'type' => 'RSAPublicKeyOrCertificate'
4042 },
4043 'oidcServiceOldPublicKeySig' => {
4044 'type' => 'EcOrRSAPublicKeyOrCertificate'
4045 },
4046 'oidcServicePrivateKeyEnc' => {
4047 'type' => 'RSAPrivateKey'
4048 },
4049 'oidcServicePrivateKeySig' => {
4050 'type' => 'EcOrRSAPrivateKey'
4051 },
4052 'oidcServicePublicKeyEnc' => {
4053 'type' => 'RSAPublicKeyOrCertificate'
4054 },
4055 'oidcServicePublicKeySig' => {
4056 'type' => 'EcOrRSAPublicKeyOrCertificate'
4057 },
4058 'oidcServiceSignatureKey' => {
4059 'default' => 'default-oidc-sig, old-oidc-sig, new-oidc-sig',
4060 'type' => 'text'
4061 },
4062 'oidcStorage' => {
4063 'type' => 'PerlModule'
4064 },
4065 'oidcStorageOptions' => {
4066 'type' => 'keyTextContainer'
4067 },
4068 'okta2fActivation' => {
4069 'default' => 0,
4070 'type' => 'boolOrExpr'
4071 },
4072 'okta2fAdminURL' => {
4073 'type' => 'url'
4074 },
4075 'okta2fApiKey' => {
4076 'type' => 'text'
4077 },
4078 'okta2fAuthnLevel' => {
4079 'type' => 'intOrNull'
4080 },
4081 'okta2fLabel' => {
4082 'type' => 'text'
4083 },
4084 'okta2fLoginAttribute' => {
4085 'type' => 'text'
4086 },
4087 'okta2fLogo' => {
4088 'type' => 'text'
4089 },
4090 'oldNotifFormat' => {
4091 'default' => 0,
4092 'type' => 'bool'
4093 },
4094 'openIdAttr' => {
4095 'type' => 'text'
4096 },
4097 'openIdAuthnLevel' => {
4098 'default' => 1,
4099 'type' => 'int'
4100 },
4101 'openIdExportedVars' => {
4102 'default' => {},
4103 'keyMsgFail' => '__badVariableName__',
4104 'keyTest' => qr/^!?[a-zA-Z][a-zA-Z0-9_-]*$/,
4105 'msgFail' => '__badValue__',
4106 'test' => qr/^[a-zA-Z][a-zA-Z0-9_:\-]*$/,
4107 'type' => 'keyTextContainer'
4108 },
4109 'openIdIDPList' => {
4110 'default' => '0;',
4111 'type' => 'blackWhiteList'
4112 },
4113 'openIdIssuerSecret' => {
4114 'type' => 'text'
4115 },
4116 'openIdSecret' => {
4117 'type' => 'text'
4118 },
4119 'openIdSPList' => {
4120 'default' => '0;',
4121 'type' => 'blackWhiteList'
4122 },
4123 'openIdSreg_country' => {
4124 'type' => 'lmAttrOrMacro'
4125 },
4126 'openIdSreg_dob' => {
4127 'type' => 'lmAttrOrMacro'
4128 },
4129 'openIdSreg_email' => {
4130 'default' => 'mail',
4131 'type' => 'lmAttrOrMacro'
4132 },
4133 'openIdSreg_fullname' => {
4134 'default' => 'cn',
4135 'type' => 'lmAttrOrMacro'
4136 },
4137 'openIdSreg_gender' => {
4138 'type' => 'lmAttrOrMacro'
4139 },
4140 'openIdSreg_language' => {
4141 'type' => 'lmAttrOrMacro'
4142 },
4143 'openIdSreg_nickname' => {
4144 'default' => 'uid',
4145 'type' => 'lmAttrOrMacro'
4146 },
4147 'openIdSreg_postcode' => {
4148 'type' => 'lmAttrOrMacro'
4149 },
4150 'openIdSreg_timezone' => {
4151 'default' => '_timezone',
4152 'type' => 'lmAttrOrMacro'
4153 },
4154 'pamAuthnLevel' => {
4155 'default' => 2,
4156 'type' => 'int'
4157 },
4158 'pamService' => {
4159 'default' => 'login',
4160 'type' => 'text'
4161 },
4162 'password2fActivation' => {
4163 'default' => 0,
4164 'type' => 'boolOrExpr'
4165 },
4166 'password2fAuthnLevel' => {
4167 'type' => 'intOrNull'
4168 },
4169 'password2fLabel' => {
4170 'type' => 'text'
4171 },
4172 'password2fLogo' => {
4173 'type' => 'text'
4174 },
4175 'password2fSelfRegistration' => {
4176 'default' => 0,
4177 'type' => 'boolOrExpr'
4178 },
4179 'password2fTTL' => {
4180 'type' => 'intOrNull'
4181 },
4182 'password2fUserCanRemoveKey' => {
4183 'default' => 1,
4184 'type' => 'bool'
4185 },
4186 'passwordDB' => {
4187 'default' => 'Demo',
4188 'select' => [ {
4189 'k' => 'AD',
4190 'v' => 'Active Directory'
4191 },
4192 {
4193 'k' => 'Choice',
4194 'v' => 'authChoice'
4195 },
4196 {
4197 'k' => 'DBI',
4198 'v' => 'Database (DBI)'
4199 },
4200 {
4201 'k' => 'Demo',
4202 'v' => 'Demonstration'
4203 },
4204 {
4205 'k' => 'LDAP',
4206 'v' => 'LDAP'
4207 },
4208 {
4209 'k' => 'REST',
4210 'v' => 'REST'
4211 },
4212 {
4213 'k' => 'Null',
4214 'v' => 'None'
4215 },
4216 {
4217 'k' => 'Combination',
4218 'v' => 'combineMods'
4219 },
4220 {
4221 'k' => 'Custom',
4222 'v' => 'customModule'
4223 }
4224 ],
4225 'type' => 'select'
4226 },
4227 'passwordPolicyActivation' => {
4228 'default' => 1,
4229 'type' => 'boolOrExpr'
4230 },
4231 'passwordPolicyMaxSize' => {
4232 'default' => 0,
4233 'type' => 'int'
4234 },
4235 'passwordPolicyMinDigit' => {
4236 'default' => 0,
4237 'type' => 'int'
4238 },
4239 'passwordPolicyMinLower' => {
4240 'default' => 0,
4241 'type' => 'int'
4242 },
4243 'passwordPolicyMinSize' => {
4244 'default' => 0,
4245 'type' => 'int'
4246 },
4247 'passwordPolicyMinSpeChar' => {
4248 'default' => 0,
4249 'type' => 'int'
4250 },
4251 'passwordPolicyMinUpper' => {
4252 'default' => 0,
4253 'type' => 'int'
4254 },
4255 'passwordPolicySpecialChar' => {
4256 'default' => '__ALL__',
4257 'test' => qr/^(?:__ALL__|[\S\W]*)$/,
4258 'type' => 'text'
4259 },
4260 'passwordResetAllowedRetries' => {
4261 'default' => 3,
4262 'type' => 'int'
4263 },
4264 'pdataDomain' => {
4265 'default' => '',
4266 'msgFail' => '__badDomainName__',
4267 'test' =>
4268 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])[.]?))?$/,
4269 'type' => 'text'
4270 },
4271 'persistentSessionAttributes' => {
4272 'default' => '_loginHistory _2fDevices _oidcConsents notification_',
4273 'type' => 'text'
4274 },
4275 'persistentStorage' => {
4276 'type' => 'PerlModule'
4277 },
4278 'persistentStorageOptions' => {
4279 'type' => 'keyTextContainer'
4280 },
4281 'port' => {
4282 'default' => -1,
4283 'type' => 'int'
4284 },
4285 'portal' => {
4286 'default' => 'http://auth.example.com/',
4287 'msgFail' => '__badUrl__',
4288 'test' =>
4289 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]))*)))?))?)/,
4290 'type' => 'url'
4291 },
4292 'portalAntiFrame' => {
4293 'default' => 1,
4294 'type' => 'bool'
4295 },
4296 'portalCheckLogins' => {
4297 'default' => 1,
4298 'type' => 'bool'
4299 },
4300 'portalCustomCss' => {
4301 'type' => 'text'
4302 },
4303 'portalCustomJs' => {
4304 'type' => 'text'
4305 },
4306 'portalCustomTplParams' => {
4307 'type' => 'keyTextContainer'
4308 },
4309 'portalDisplayAppslist' => {
4310 'default' => 1,
4311 'type' => 'boolOrExpr'
4312 },
4313 'portalDisplayCertificateResetByMail' => {
4314 'default' => 0,
4315 'type' => 'bool'
4316 },
4317 'portalDisplayChangePassword' => {
4318 'default' => '$_auth =~ /^(LDAP|DBI|Demo)$/',
4319 'type' => 'boolOrExpr'
4320 },
4321 'portalDisplayGeneratePassword' => {
4322 'default' => 1,
4323 'type' => 'bool'
4324 },
4325 'portalDisplayLoginHistory' => {
4326 'default' => 1,
4327 'type' => 'boolOrExpr'
4328 },
4329 'portalDisplayLogout' => {
4330 'default' => 1,
4331 'type' => 'boolOrExpr'
4332 },
4333 'portalDisplayOfflineTokens' => {
4334 'default' => '$_auth eq \'OIDC\'',
4335 'type' => 'boolOrExpr'
4336 },
4337 'portalDisplayOidcConsents' => {
4338 'default' => '$_oidcConsents && $_oidcConsents =~ /\\w+/',
4339 'type' => 'boolOrExpr'
4340 },
4341 'portalDisplayOrder' => {
4342 'default' =>
4343 'Appslist ChangePassword LoginHistory OidcConsents Logout',
4344 'type' => 'text'
4345 },
4346 'portalDisplayPasswordPolicy' => {
4347 'default' => 0,
4348 'type' => 'bool'
4349 },
4350 'portalDisplayRefreshMyRights' => {
4351 'default' => 1,
4352 'type' => 'bool'
4353 },
4354 'portalDisplayRegister' => {
4355 'default' => 1,
4356 'type' => 'bool'
4357 },
4358 'portalDisplayResetPassword' => {
4359 'default' => 0,
4360 'type' => 'bool'
4361 },
4362 'portalEnablePasswordDisplay' => {
4363 'default' => 0,
4364 'type' => 'bool'
4365 },
4366 'portalErrorOnExpiredSession' => {
4367 'default' => 1,
4368 'type' => 'bool'
4369 },
4370 'portalErrorOnMailNotFound' => {
4371 'default' => 0,
4372 'type' => 'bool'
4373 },
4374 'portalFavicon' => {
4375 'default' => 'common/favicon.ico',
4376 'type' => 'text'
4377 },
4378 'portalForceAuthn' => {
4379 'default' => 0,
4380 'type' => 'bool'
4381 },
4382 'portalForceAuthnInterval' => {
4383 'default' => 30,
4384 'type' => 'int'
4385 },
4386 'portalMainLogo' => {
4387 'default' => 'common/logos/logo_llng_400px.png',
4388 'type' => 'text'
4389 },
4390 'portalOpenLinkInNewWindow' => {
4391 'default' => 0,
4392 'type' => 'bool'
4393 },
4394 'portalPingInterval' => {
4395 'default' => 60000,
4396 'type' => 'int'
4397 },
4398 'portalRequireOldPassword' => {
4399 'default' => 1,
4400 'type' => 'boolOrExpr'
4401 },
4402 'portalSkin' => {
4403 'default' => 'bootstrap',
4404 'select' => [ {
4405 'k' => 'bootstrap',
4406 'v' => 'Bootstrap'
4407 }
4408 ],
4409 'type' => 'portalskin'
4410 },
4411 'portalSkinBackground' => {
4412 'select' => [ {
4413 'k' => '',
4414 'v' => 'None'
4415 },
4416 {
4417 'k' => '1280px-Anse_Source_d\'Argent_2-La_Digue.jpg',
4418 'v' => 'Anse'
4419 },
4420 {
4421 'k' =>
4422 '1280px-Autumn-clear-water-waterfall-landscape_-_Virginia_-_ForestWander.jpg',
4423 'v' => 'Waterfall'
4424 },
4425 {
4426 'k' => '1280px-BrockenSnowedTrees.jpg',
4427 'v' => 'Snowed Trees'
4428 },
4429 {
4430 'k' =>
4431 '1280px-Cedar_Breaks_National_Monument_partially.jpg',
4432 'v' => 'National Monument'
4433 },
4434 {
4435 'k' => '1280px-Parry_Peak_from_Winter_Park.jpg',
4436 'v' => 'Winter'
4437 },
4438 {
4439 'k' => 'Aletschgletscher_mit_Pinus_cembra1.jpg',
4440 'v' => 'Pinus'
4441 }
4442 ],
4443 'type' => 'portalskinbackground'
4444 },
4445 'portalSkinRules' => {
4446 'keyMsgFail' => '__badSkinRule__',
4447 0 ▶ 'keyTest' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
4448 0 return perlExpr(@_);
4449 },
4450 'msgFail' => '__badValue__',
4451 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
4452 0 1;
4453 },
4454 'type' => 'keyTextContainer'
4455 },
4456 'portalStatus' => {
4457 'default' => 0,
4458 'type' => 'bool'
4459 },
4460 'portalUserAttr' => {
4461 'default' => '_user',
4462 'type' => 'text'
4463 },
4464 'post' => {
4465 'keyMsgFail' => '__badHostname__',
4466 'keyTest' => qr/^\S+$/,
4467 3 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
4468 3 1;
4469 },
4470 'type' => 'postContainer'
4471 },
4472 'protection' => {
4473 'msgFail' => '__authorizedValues__: none authenticate manager',
4474 'test' => qr/^(?:none|authenticate|manager|)$/,
4475 'type' => 'text'
4476 },
4477 'proxyAuthnLevel' => {
4478 'default' => 2,
4479 'type' => 'int'
4480 },
4481 'proxyAuthService' => {
4482 'type' => 'text'
4483 },
4484 'proxyAuthServiceChoiceParam' => {
4485 'default' => 'lmAuth',
4486 'type' => 'text'
4487 },
4488 'proxyAuthServiceChoiceValue' => {
4489 'type' => 'text'
4490 },
4491 'proxyAuthServiceImpersonation' => {
4492 'default' => 0,
4493 'type' => 'bool'
4494 },
4495 'proxyCookieName' => {
4496 'msgFail' => '__badCookieName__',
4497 'test' => qr/^[a-zA-Z][a-zA-Z0-9_-]*$/,
4498 'type' => 'text'
4499 },
4500 'proxySessionService' => {
4501 'type' => 'text'
4502 },
4503 'proxyUseSoap' => {
4504 'default' => 0,
4505 'type' => 'bool'
4506 },
4507 'publicNotifications' => {
4508 'default' => 0,
4509 'type' => 'bool'
4510 },
4511 'radius2fActivation' => {
4512 'default' => 0,
4513 'type' => 'boolOrExpr'
4514 },
4515 'radius2fAuthnLevel' => {
4516 'type' => 'intOrNull'
4517 },
4518 'radius2fDictionaryFile' => {
4519 'type' => 'text'
4520 },
4521 'radius2fLabel' => {
4522 'type' => 'text'
4523 },
4524 'radius2fLogo' => {
4525 'type' => 'text'
4526 },
4527 'radius2fMsgAuth' => {
4528 'type' => 'bool'
4529 },
4530 'radius2fRequestAttributes' => {
4531 'default' => {},
4532 'keyMsgFail' => '__badKeyName__',
4533 'keyTest' => qr/^[a-zA-Z0-9_-]*$/,
4534 'type' => 'keyTextContainer'
4535 },
4536 'radius2fSecret' => {
4537 'type' => 'text'
4538 },
4539 'radius2fSendInitialRequest' => {
4540 'default' => 0,
4541 'type' => 'bool'
4542 },
4543 'radius2fServer' => {
4544 'type' => 'text'
4545 },
4546 'radius2fTimeout' => {
4547 'default' => 20,
4548 'type' => 'int'
4549 },
4550 'radius2fUsernameSessionKey' => {
4551 'type' => 'text'
4552 },
4553 'radiusAuthnLevel' => {
4554 'default' => 3,
4555 'type' => 'int'
4556 },
4557 'radiusDictionaryFile' => {
4558 'type' => 'text'
4559 },
4560 'radiusExportedVars' => {
4561 'default' => {},
4562 'keyMsgFail' => '__badVariableName__',
4563 'keyTest' => qr/^!?[a-zA-Z][a-zA-Z0-9_-]*$/,
4564 'msgFail' => '__badValue__',
4565 'test' => qr/^[a-zA-Z][a-zA-Z0-9_:\-]*$/,
4566 'type' => 'keyTextContainer'
4567 },
4568 'radiusMsgAuth' => {
4569 'type' => 'bool'
4570 },
4571 'radiusRequestAttributes' => {
4572 'default' => {},
4573 'keyMsgFail' => '__badKeyName__',
4574 'keyTest' => qr/^[a-zA-Z0-9_-]*$/,
4575 'type' => 'keyTextContainer'
4576 },
4577 'radiusSecret' => {
4578 'type' => 'text'
4579 },
4580 'radiusServer' => {
4581 'type' => 'text'
4582 },
4583 'radiusTimeout' => {
4584 'type' => 'intOrNull'
4585 },
4586 'randomPasswordRegexp' => {
4587 'default' => '[A-Z]{3}[a-z]{5}.\\d{2}',
4588 'type' => 'pcre'
4589 },
4590 'redirectFormMethod' => {
4591 'default' => 'get',
4592 'select' => [ {
4593 'k' => 'get',
4594 'v' => 'GET'
4595 },
4596 {
4597 'k' => 'post',
4598 'v' => 'POST'
4599 }
4600 ],
4601 'type' => 'select'
4602 },
4603 'refreshSessions' => {
4604 'type' => 'bool'
4605 },
4606 'registerConfirmBody' => {
4607 'type' => 'longtext'
4608 },
4609 'registerConfirmSubject' => {
4610 'type' => 'text'
4611 },
4612 'registerDB' => {
4613 'default' => 'Null',
4614 'select' => [ {
4615 'k' => 'AD',
4616 'v' => 'Active Directory'
4617 },
4618 {
4619 'k' => 'Demo',
4620 'v' => 'Demonstration'
4621 },
4622 {
4623 'k' => 'LDAP',
4624 'v' => 'LDAP'
4625 },
4626 {
4627 'k' => 'Null',
4628 'v' => 'None'
4629 },
4630 {
4631 'k' => 'Custom',
4632 'v' => 'customModule'
4633 }
4634 ],
4635 'type' => 'select'
4636 },
4637 'registerDoneBody' => {
4638 'type' => 'longtext'
4639 },
4640 'registerDoneSubject' => {
4641 'type' => 'text'
4642 },
4643 'registerTimeout' => {
4644 'default' => 0,
4645 'type' => 'int'
4646 },
4647 'registerUrl' => {
4648 'type' => 'url'
4649 },
4650 'reloadTimeout' => {
4651 'default' => 5,
4652 'type' => 'int'
4653 },
4654 'reloadUrls' => {
4655 'keyTest' =>
4656 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+)?$/,
4657 'msgFail' => '__badUrl__',
4658 'test' =>
4659 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]))*)))?))?)/,
4660 'type' => 'keyTextContainer'
4661 },
4662 'rememberAuthChoiceForgetAtLogout' => {
4663 'default' => 0,
4664 'type' => 'bool'
4665 },
4666 'rememberAuthChoiceRule' => {
4667 'default' => 0,
4668 'type' => 'boolOrExpr'
4669 },
4670 'rememberCookieName' => {
4671 'default' => 'llngrememberauthchoice',
4672 'msgFail' => '__badCookieName__',
4673 'test' => qr/^[a-zA-Z][a-zA-Z0-9_-]*$/,
4674 'type' => 'text'
4675 },
4676 'rememberCookieTimeout' => {
4677 'default' => 31536000,
4678 'type' => 'int'
4679 },
4680 'rememberDefaultChecked' => {
4681 'default' => 0,
4682 'type' => 'bool'
4683 },
4684 'rememberTimer' => {
4685 'default' => 5,
4686 'type' => 'int'
4687 },
4688 'remoteCookieName' => {
4689 'msgFail' => '__badCookieName__',
4690 'test' => qr/^[a-zA-Z][a-zA-Z0-9_-]*$/,
4691 'type' => 'text'
4692 },
4693 'remoteGlobalStorage' => {
4694 'default' => 'Lemonldap::NG::Common::Apache::Session::SOAP',
4695 'type' => 'PerlModule'
4696 },
4697 'remoteGlobalStorageOptions' => {
4698 'default' => {
4699 'ns' =>
4700 'http://auth.example.com/Lemonldap/NG/Common/PSGI/SOAPService',
4701 'proxy' => 'http://auth.example.com/sessions'
4702 },
4703 'type' => 'keyTextContainer'
4704 },
4705 'remotePortal' => {
4706 'type' => 'text'
4707 },
4708 'requireToken' => {
4709 'default' => 1,
4710 'type' => 'boolOrExpr'
4711 },
4712 'rest2fActivation' => {
4713 'default' => 0,
4714 'type' => 'boolOrExpr'
4715 },
4716 'rest2fAuthnLevel' => {
4717 'type' => 'intOrNull'
4718 },
4719 'rest2fCodeActivation' => {
4720 'type' => 'pcre'
4721 },
4722 'rest2fInitArgs' => {
4723 'msgFail' => '__badValue__',
4724 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
4725 0 return perlExpr(@_);
4726 },
4727 'type' => 'keyTextContainer'
4728 },
4729 'rest2fInitUrl' => {
4730 'type' => 'url'
4731 },
4732 'rest2fLabel' => {
4733 'type' => 'text'
4734 },
4735 'rest2fLogo' => {
4736 'type' => 'text'
4737 },
4738 'rest2fResendInterval' => {
4739 'type' => 'text'
4740 },
4741 'rest2fVerifyArgs' => {
4742 'msgFail' => '__badValue__',
4743 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
4744 0 return perlExpr(@_);
4745 },
4746 'type' => 'keyTextContainer'
4747 },
4748 'rest2fVerifyUrl' => {
4749 'type' => 'url'
4750 },
4751 'restAuthArgs' => {
4752 'msgFail' => '__badValue__',
4753 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
4754 0 return perlExpr(@_);
4755 },
4756 'type' => 'keyTextContainer'
4757 },
4758 'restAuthnLevel' => {
4759 'default' => 2,
4760 'type' => 'int'
4761 },
4762 'restAuthServer' => {
4763 'default' => 0,
4764 'type' => 'bool'
4765 },
4766 'restAuthUrl' => {
4767 'type' => 'url'
4768 },
4769 'restClockTolerance' => {
4770 'default' => 15,
4771 'type' => 'int'
4772 },
4773 'restConfigServer' => {
4774 'default' => 0,
4775 'type' => 'bool'
4776 },
4777 'restExportSecretKeys' => {
4778 'default' => 0,
4779 'type' => 'bool'
4780 },
4781 'restFindUserDBArgs' => {
4782 'msgFail' => '__badValue__',
4783 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
4784 0 return perlExpr(@_);
4785 },
4786 'type' => 'keyTextContainer'
4787 },
4788 'restFindUserDBUrl' => {
4789 'type' => 'url'
4790 },
4791 'restPasswordServer' => {
4792 'default' => 0,
4793 'type' => 'bool'
4794 },
4795 'restPwdConfirmArgs' => {
4796 'msgFail' => '__badValue__',
4797 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
4798 0 return perlExpr(@_);
4799 },
4800 'type' => 'keyTextContainer'
4801 },
4802 'restPwdConfirmUrl' => {
4803 'type' => 'url'
4804 },
4805 'restPwdModifyArgs' => {
4806 'msgFail' => '__badValue__',
4807 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
4808 0 return perlExpr(@_);
4809 },
4810 'type' => 'keyTextContainer'
4811 },
4812 'restPwdModifyUrl' => {
4813 'type' => 'url'
4814 },
4815 'restSessionServer' => {
4816 'default' => 0,
4817 'type' => 'bool'
4818 },
4819 'restUserDBArgs' => {
4820 'msgFail' => '__badValue__',
4821 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
4822 0 return perlExpr(@_);
4823 },
4824 'type' => 'keyTextContainer'
4825 },
4826 'restUserDBUrl' => {
4827 'type' => 'url'
4828 },
4829 'sameSite' => {
4830 'default' => '',
4831 'select' => [ {
4832 'k' => '',
4833 'v' => ''
4834 },
4835 {
4836 'k' => 'Strict',
4837 'v' => 'Strict'
4838 },
4839 {
4840 'k' => 'Lax',
4841 'v' => 'Lax'
4842 },
4843 {
4844 'k' => 'None',
4845 'v' => 'None'
4846 }
4847 ],
4848 'type' => 'select'
4849 },
4850 'samlAttributeAuthorityDescriptorAttributeServiceSOAP' => {
4851 'default' =>
4852 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/AA/SOAP;',
4853 'type' => 'samlService'
4854 },
4855 'samlAuthnContextMapExtra' => {
4856 'keyTest' => qr/\w/,
4857 'type' => 'keyTextContainer'
4858 },
4859 'samlAuthnContextMapKerberos' => {
4860 'default' => 4,
4861 'type' => 'int'
4862 },
4863 'samlAuthnContextMapPassword' => {
4864 'default' => 2,
4865 'type' => 'int'
4866 },
4867 'samlAuthnContextMapPasswordProtectedTransport' => {
4868 'default' => 3,
4869 'type' => 'int'
4870 },
4871 'samlAuthnContextMapTLSClient' => {
4872 'default' => 5,
4873 'type' => 'int'
4874 },
4875 'samlCommonDomainCookieActivation' => {
4876 'default' => 0,
4877 'type' => 'bool'
4878 },
4879 'samlCommonDomainCookieDomain' => {
4880 'msgFail' => '__badDomainName__',
4881 'test' =>
4882 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])[.]?)$/,
4883 'type' => 'text'
4884 },
4885 'samlCommonDomainCookieReader' => {
4886 'msgFail' => '__badUrl__',
4887 'test' =>
4888 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]))*)))?))?)/,
4889 'type' => 'text'
4890 },
4891 'samlCommonDomainCookieWriter' => {
4892 'msgFail' => '__badUrl__',
4893 'test' =>
4894 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]))*)))?))?)/,
4895 'type' => 'text'
4896 },
4897 'samlDiscoveryProtocolActivation' => {
4898 'default' => 0,
4899 'type' => 'bool'
4900 },
4901 'samlDiscoveryProtocolIsPassive' => {
4902 'default' => 0,
4903 'type' => 'bool'
4904 },
4905 'samlDiscoveryProtocolPolicy' => {
4906 'type' => 'text'
4907 },
4908 'samlDiscoveryProtocolURL' => {
4909 'msgFail' => '__badUrl__',
4910 'test' =>
4911 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]))*)))?))?)/,
4912 'type' => 'text'
4913 },
4914 'samlEntityID' => {
4915 'default' => '#PORTAL#/saml/metadata',
4916 'type' => 'text'
4917 },
4918 'samlFederationFiles' => {
4919 'type' => 'text'
4920 },
4921 'samlIDPMetaDataExportedAttributes' => {
4922 'default' => {},
4923 'keyMsgFail' => '__badMetadataName__',
4924 'keyTest' => qr/^[a-zA-Z](?:[a-zA-Z0-9_\-\.]*\w)?$/,
4925 'msgFail' => '__badValue__',
4926 'test' => qr/\w/,
4927 'type' => 'samlAttributeContainer'
4928 },
4929 'samlIDPMetaDataNodes' => {
4930 'type' => 'samlIDPMetaDataNodeContainer'
4931 },
4932 'samlIDPMetaDataOptions' => {
4933 'keyMsgFail' => '__badMetadataName__',
4934 'keyTest' => qr/^[a-zA-Z](?:[a-zA-Z0-9_\-\.]*\w)?$/,
4935 'type' => 'keyTextContainer'
4936 },
4937 'samlIDPMetaDataOptionsAdaptSessionUtime' => {
4938 'default' => 0,
4939 'type' => 'bool'
4940 },
4941 'samlIDPMetaDataOptionsAllowLoginFromIDP' => {
4942 'default' => 0,
4943 'type' => 'bool'
4944 },
4945 'samlIDPMetaDataOptionsCheckAudience' => {
4946 'default' => 1,
4947 'type' => 'bool'
4948 },
4949 'samlIDPMetaDataOptionsCheckSLOMessageSignature' => {
4950 'default' => 1,
4951 'type' => 'bool'
4952 },
4953 'samlIDPMetaDataOptionsCheckSSOMessageSignature' => {
4954 'default' => 1,
4955 'type' => 'bool'
4956 },
4957 'samlIDPMetaDataOptionsCheckTime' => {
4958 'default' => 1,
4959 'type' => 'bool'
4960 },
4961 'samlIDPMetaDataOptionsComment' => {
4962 'type' => 'longtext'
4963 },
4964 'samlIDPMetaDataOptionsDisplayName' => {
4965 'type' => 'text'
4966 },
4967 'samlIDPMetaDataOptionsEncryptionMode' => {
4968 'default' => 'none',
4969 'select' => [ {
4970 'k' => 'none',
4971 'v' => 'None'
4972 },
4973 {
4974 'k' => 'nameid',
4975 'v' => 'Name ID'
4976 },
4977 {
4978 'k' => 'assertion',
4979 'v' => 'Assertion'
4980 }
4981 ],
4982 'type' => 'select'
4983 },
4984 'samlIDPMetaDataOptionsFederationEntityID' => {
4985 'type' => 'text'
4986 },
4987 'samlIDPMetaDataOptionsForceAuthn' => {
4988 'default' => 0,
4989 'type' => 'bool'
4990 },
4991 'samlIDPMetaDataOptionsForceUTF8' => {
4992 'default' => 0,
4993 'type' => 'bool'
4994 },
4995 'samlIDPMetaDataOptionsIcon' => {
4996 'type' => 'text'
4997 },
4998 'samlIDPMetaDataOptionsIsPassive' => {
4999 'default' => 0,
5000 'type' => 'bool'
5001 },
5002 'samlIDPMetaDataOptionsNameIDFormat' => {
5003 'default' => '',
5004 'select' => [ {
5005 'k' => '',
5006 'v' => ''
5007 },
5008 {
5009 'k' => 'unspecified',
5010 'v' => 'Unspecified'
5011 },
5012 {
5013 'k' => 'email',
5014 'v' => 'Email'
5015 },
5016 {
5017 'k' => 'x509',
5018 'v' => 'X509 certificate'
5019 },
5020 {
5021 'k' => 'windows',
5022 'v' => 'Windows'
5023 },
5024 {
5025 'k' => 'kerberos',
5026 'v' => 'Kerberos'
5027 },
5028 {
5029 'k' => 'entity',
5030 'v' => 'Entity'
5031 },
5032 {
5033 'k' => 'persistent',
5034 'v' => 'Persistent'
5035 },
5036 {
5037 'k' => 'transient',
5038 'v' => 'Transient'
5039 },
5040 {
5041 'k' => 'encrypted',
5042 'v' => 'Encrypted'
5043 }
5044 ],
5045 'type' => 'select'
5046 },
5047 'samlIDPMetaDataOptionsRelayStateURL' => {
5048 'default' => 0,
5049 'type' => 'bool'
5050 },
5051 'samlIDPMetaDataOptionsRequestedAuthnContext' => {
5052 'default' => '',
5053 'select' => [ {
5054 'k' => '',
5055 'v' => ''
5056 },
5057 {
5058 'k' => 'kerberos',
5059 'v' => 'Kerberos'
5060 },
5061 {
5062 'k' => 'password-protected-transport',
5063 'v' => 'Password protected transport'
5064 },
5065 {
5066 'k' => 'password',
5067 'v' => 'Password'
5068 },
5069 {
5070 'k' => 'tls-client',
5071 'v' => 'TLS client certificate'
5072 }
5073 ],
5074 'type' => 'select'
5075 },
5076 'samlIDPMetaDataOptionsResolutionRule' => {
5077 'default' => '',
5078 'type' => 'longtext'
5079 },
5080 'samlIDPMetaDataOptionsSignatureKey' => {
5081 'default' => '',
5082 'type' => 'text'
5083 },
5084 'samlIDPMetaDataOptionsSignatureMethod' => {
5085 'default' => '',
5086 'select' => [ {
5087 'k' => '',
5088 'v' => 'default'
5089 },
5090 {
5091 'k' => 'RSA_SHA1',
5092 'v' => 'RSA SHA1'
5093 },
5094 {
5095 'k' => 'RSA_SHA256',
5096 'v' => 'RSA SHA256'
5097 },
5098 {
5099 'k' => 'RSA_SHA384',
5100 'v' => 'RSA SHA384'
5101 },
5102 {
5103 'k' => 'RSA_SHA512',
5104 'v' => 'RSA SHA512'
5105 }
5106 ],
5107 'type' => 'select'
5108 },
5109 'samlIDPMetaDataOptionsSignSLOMessage' => {
5110 'default' => -1,
5111 'type' => 'trool'
5112 },
5113 'samlIDPMetaDataOptionsSignSSOMessage' => {
5114 'default' => -1,
5115 'type' => 'trool'
5116 },
5117 'samlIDPMetaDataOptionsSLOBinding' => {
5118 'default' => '',
5119 'select' => [ {
5120 'k' => '',
5121 'v' => ''
5122 },
5123 {
5124 'k' => 'http-post',
5125 'v' => 'POST'
5126 },
5127 {
5128 'k' => 'http-redirect',
5129 'v' => 'Redirect'
5130 },
5131 {
5132 'k' => 'http-soap',
5133 'v' => 'SOAP'
5134 }
5135 ],
5136 'type' => 'select'
5137 },
5138 'samlIDPMetaDataOptionsSortNumber' => {
5139 'type' => 'int'
5140 },
5141 'samlIDPMetaDataOptionsSSOBinding' => {
5142 'default' => '',
5143 'select' => [ {
5144 'k' => '',
5145 'v' => ''
5146 },
5147 {
5148 'k' => 'http-post',
5149 'v' => 'POST'
5150 },
5151 {
5152 'k' => 'http-redirect',
5153 'v' => 'Redirect'
5154 },
5155 {
5156 'k' => 'artifact-get',
5157 'v' => 'Artifact GET'
5158 }
5159 ],
5160 'type' => 'select'
5161 },
5162 'samlIDPMetaDataOptionsStoreSAMLToken' => {
5163 'default' => 0,
5164 'type' => 'bool'
5165 },
5166 'samlIDPMetaDataOptionsTooltip' => {
5167 'type' => 'text'
5168 },
5169 'samlIDPMetaDataOptionsURL' => {
5170 'type' => 'url'
5171 },
5172 'samlIDPMetaDataOptionsUserAttribute' => {
5173 'type' => 'text'
5174 },
5175 'samlIDPMetaDataXML' => {
5176 'type' => 'file'
5177 },
5178 'samlIDPSSODescriptorArtifactResolutionServiceArtifact' => {
5179 'default' =>
5180 '1;0;urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/artifact',
5181 'type' => 'samlAssertion'
5182 },
5183 'samlIDPSSODescriptorSingleLogoutServiceHTTPPost' => {
5184 'default' =>
5185 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST;#PORTAL#/saml/singleLogout;#PORTAL#/saml/singleLogoutReturn',
5186 'type' => 'samlService'
5187 },
5188 'samlIDPSSODescriptorSingleLogoutServiceHTTPRedirect' => {
5189 'default' =>
5190 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect;#PORTAL#/saml/singleLogout;#PORTAL#/saml/singleLogoutReturn',
5191 'type' => 'samlService'
5192 },
5193 'samlIDPSSODescriptorSingleLogoutServiceSOAP' => {
5194 'default' =>
5195 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/singleLogoutSOAP;',
5196 'type' => 'samlService'
5197 },
5198 'samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact' => {
5199 'default' =>
5200 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact;#PORTAL#/saml/singleSignOnArtifact;',
5201 'type' => 'samlService'
5202 },
5203 'samlIDPSSODescriptorSingleSignOnServiceHTTPPost' => {
5204 'default' =>
5205 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST;#PORTAL#/saml/singleSignOn;',
5206 'type' => 'samlService'
5207 },
5208 'samlIDPSSODescriptorSingleSignOnServiceHTTPRedirect' => {
5209 'default' =>
5210 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect;#PORTAL#/saml/singleSignOn;',
5211 'type' => 'samlService'
5212 },
5213 'samlIDPSSODescriptorWantAuthnRequestsSigned' => {
5214 'default' => 1,
5215 'type' => 'bool'
5216 },
5217 'samlMetadataForceUTF8' => {
5218 'default' => 1,
5219 'type' => 'bool'
5220 },
5221 'samlNameIDFormatMapEmail' => {
5222 'default' => 'mail',
5223 'type' => 'text'
5224 },
5225 'samlNameIDFormatMapKerberos' => {
5226 'default' => 'uid',
5227 'type' => 'text'
5228 },
5229 'samlNameIDFormatMapWindows' => {
5230 'default' => 'uid',
5231 'type' => 'text'
5232 },
5233 'samlNameIDFormatMapX509' => {
5234 'default' => 'mail',
5235 'type' => 'text'
5236 },
5237 'samlOrganizationDisplayName' => {
5238 'default' => 'Example',
5239 'type' => 'text'
5240 },
5241 'samlOrganizationName' => {
5242 'default' => 'Example',
5243 'type' => 'text'
5244 },
5245 'samlOrganizationURL' => {
5246 'default' => 'http://www.example.com',
5247 'type' => 'text'
5248 },
5249 'samlOverrideIDPEntityID' => {
5250 'default' => '',
5251 'type' => 'text'
5252 },
5253 'samlRelayStateTimeout' => {
5254 'default' => 600,
5255 'type' => 'int'
5256 },
5257 'samlServiceEncryptionKey' => {
5258 'default' => 'default-saml-enc',
5259 'type' => 'text'
5260 },
5261 'samlServicePrivateKeyEnc' => {
5262 'default' => '',
5263 'type' => 'RSAPrivateKey'
5264 },
5265 'samlServicePrivateKeyEncPwd' => {
5266 'type' => 'password'
5267 },
5268 'samlServicePrivateKeySig' => {
5269 'default' => '',
5270 'type' => 'RSAPrivateKey'
5271 },
5272 'samlServicePrivateKeySigPwd' => {
5273 'default' => '',
5274 'type' => 'password'
5275 },
5276 'samlServicePublicKeyEnc' => {
5277 'default' => '',
5278 'type' => 'RSAPublicKeyOrCertificate'
5279 },
5280 'samlServicePublicKeySig' => {
5281 'default' => '',
5282 'type' => 'RSAPublicKeyOrCertificate'
5283 },
5284 'samlServiceSignatureKey' => {
5285 'default' => 'default-saml-sig',
5286 'type' => 'text'
5287 },
5288 'samlServiceSignatureMethod' => {
5289 'default' => 'RSA_SHA256',
5290 'select' => [ {
5291 'k' => 'RSA_SHA1',
5292 'v' => 'RSA SHA1'
5293 },
5294 {
5295 'k' => 'RSA_SHA256',
5296 'v' => 'RSA SHA256'
5297 },
5298 {
5299 'k' => 'RSA_SHA384',
5300 'v' => 'RSA SHA384'
5301 },
5302 {
5303 'k' => 'RSA_SHA512',
5304 'v' => 'RSA SHA512'
5305 }
5306 ],
5307 'type' => 'select'
5308 },
5309 'samlServiceUseCertificateInResponse' => {
5310 'default' => 0,
5311 'type' => 'bool'
5312 },
5313 'samlSPMetaDataExportedAttributes' => {
5314 'default' => {},
5315 'keyMsgFail' => '__badMetadataName__',
5316 'keyTest' => qr/^[a-zA-Z](?:[a-zA-Z0-9_\-\.]*\w)?$/,
5317 'msgFail' => '__badValue__',
5318 'test' => qr/\w/,
5319 'type' => 'samlAttributeContainer'
5320 },
5321 'samlSPMetaDataMacros' => {
5322 'default' => {},
5323 'test' => {
5324 'keyMsgFail' => '__badMacroName__',
5325 'keyTest' => qr/^[_a-zA-Z][a-zA-Z0-9_]*$/,
5326 25 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
5327 25 return perlExpr(@_);
5328 }
5329 },
5330 'type' => 'keyTextContainer'
5331 },
5332 'samlSPMetaDataNodes' => {
5333 'type' => 'samlSPMetaDataNodeContainer'
5334 },
5335 'samlSPMetaDataOptions' => {
5336 'keyMsgFail' => '__badMetadataName__',
5337 'keyTest' => qr/^[a-zA-Z](?:[a-zA-Z0-9_\-\.]*\w)?$/,
5338 'type' => 'keyTextContainer'
5339 },
5340 'samlSPMetaDataOptionsActivation' => {
5341 'default' => 1,
5342 'type' => 'bool'
5343 },
5344 'samlSPMetaDataOptionsAuthnLevel' => {
5345 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
5346 0 return perlExpr(@_);
5347 },
5348 'type' => 'text'
5349 },
5350 'samlSPMetaDataOptionsCheckSLOMessageSignature' => {
5351 'default' => 1,
5352 'type' => 'bool'
5353 },
5354 'samlSPMetaDataOptionsCheckSSOMessageSignature' => {
5355 'default' => 1,
5356 'type' => 'bool'
5357 },
5358 'samlSPMetaDataOptionsComment' => {
5359 'type' => 'longtext'
5360 },
5361 'samlSPMetaDataOptionsEnableIDPInitiatedURL' => {
5362 'default' => 0,
5363 'type' => 'bool'
5364 },
5365 'samlSPMetaDataOptionsEncryptionMode' => {
5366 'default' => 'none',
5367 'select' => [ {
5368 'k' => 'none',
5369 'v' => 'None'
5370 },
5371 {
5372 'k' => 'nameid',
5373 'v' => 'Name ID'
5374 },
5375 {
5376 'k' => 'assertion',
5377 'v' => 'Assertion'
5378 }
5379 ],
5380 'type' => 'select'
5381 },
5382 'samlSPMetaDataOptionsFederationEntityID' => {
5383 'type' => 'text'
5384 },
5385 'samlSPMetaDataOptionsFederationOptionalAttributes' => {
5386 'default' => '',
5387 'select' => [ {
5388 'k' => '',
5389 'v' => 'keep'
5390 },
5391 {
5392 'k' => 'ignore',
5393 'v' => 'ignore'
5394 }
5395 ],
5396 'type' => 'select'
5397 },
5398 'samlSPMetaDataOptionsFederationRequiredAttributes' => {
5399 'default' => '',
5400 'select' => [ {
5401 'k' => '',
5402 'v' => 'keep'
5403 },
5404 {
5405 'k' => 'optional',
5406 'v' => 'makeoptional'
5407 },
5408 {
5409 'k' => 'ignore',
5410 'v' => 'ignore'
5411 }
5412 ],
5413 'type' => 'select'
5414 },
5415 'samlSPMetaDataOptionsForceNameIDFormat' => {
5416 'type' => 'bool'
5417 },
5418 'samlSPMetaDataOptionsForceUTF8' => {
5419 'default' => 1,
5420 'type' => 'bool'
5421 },
5422 'samlSPMetaDataOptionsNameIDFormat' => {
5423 'default' => '',
5424 'select' => [ {
5425 'k' => '',
5426 'v' => ''
5427 },
5428 {
5429 'k' => 'unspecified',
5430 'v' => 'Unspecified'
5431 },
5432 {
5433 'k' => 'email',
5434 'v' => 'Email'
5435 },
5436 {
5437 'k' => 'x509',
5438 'v' => 'X509 certificate'
5439 },
5440 {
5441 'k' => 'windows',
5442 'v' => 'Windows'
5443 },
5444 {
5445 'k' => 'kerberos',
5446 'v' => 'Kerberos'
5447 },
5448 {
5449 'k' => 'entity',
5450 'v' => 'Entity'
5451 },
5452 {
5453 'k' => 'persistent',
5454 'v' => 'Persistent'
5455 },
5456 {
5457 'k' => 'transient',
5458 'v' => 'Transient'
5459 },
5460 {
5461 'k' => 'encrypted',
5462 'v' => 'Encrypted'
5463 }
5464 ],
5465 'type' => 'select'
5466 },
5467 'samlSPMetaDataOptionsNameIDSessionKey' => {
5468 'type' => 'text'
5469 },
5470 'samlSPMetaDataOptionsNotOnOrAfterTimeout' => {
5471 'default' => 72000,
5472 'type' => 'int'
5473 },
5474 'samlSPMetaDataOptionsOneTimeUse' => {
5475 'default' => 0,
5476 'type' => 'bool'
5477 },
5478 'samlSPMetaDataOptionsRule' => {
5479 0 ▶ 'test' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
5480 0 return perlExpr(@_);
5481 },
5482 'type' => 'text'
5483 },
5484 'samlSPMetaDataOptionsSessionNotOnOrAfterTimeout' => {
5485 'default' => 72000,
5486 'type' => 'int'
5487 },
5488 'samlSPMetaDataOptionsSignatureKey' => {
5489 'default' => '',
5490 'type' => 'text'
5491 },
5492 'samlSPMetaDataOptionsSignatureMethod' => {
5493 'default' => '',
5494 'select' => [ {
5495 'k' => '',
5496 'v' => 'default'
5497 },
5498 {
5499 'k' => 'RSA_SHA1',
5500 'v' => 'RSA SHA1'
5501 },
5502 {
5503 'k' => 'RSA_SHA256',
5504 'v' => 'RSA SHA256'
5505 },
5506 {
5507 'k' => 'RSA_SHA384',
5508 'v' => 'RSA SHA384'
5509 },
5510 {
5511 'k' => 'RSA_SHA512',
5512 'v' => 'RSA SHA512'
5513 }
5514 ],
5515 'type' => 'select'
5516 },
5517 'samlSPMetaDataOptionsSignSLOMessage' => {
5518 'default' => -1,
5519 'type' => 'trool'
5520 },
5521 'samlSPMetaDataOptionsSignSSOMessage' => {
5522 'default' => -1,
5523 'type' => 'trool'
5524 },
5525 'samlSPMetaDataOptionsURL' => {
5526 'type' => 'url'
5527 },
5528 'samlSPMetaDataXML' => {
5529 'type' => 'file'
5530 },
5531 'samlSPSSODescriptorArtifactResolutionServiceArtifact' => {
5532 'default' =>
5533 '1;0;urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/artifact',
5534 'type' => 'samlAssertion'
5535 },
5536 'samlSPSSODescriptorAssertionConsumerServiceHTTPArtifact' => {
5537 'default' =>
5538 '0;1;urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact;#PORTAL#/saml/proxySingleSignOnArtifact',
5539 'type' => 'samlAssertion'
5540 },
5541 'samlSPSSODescriptorAssertionConsumerServiceHTTPPost' => {
5542 'default' =>
5543 '1;0;urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST;#PORTAL#/saml/proxySingleSignOnPost',
5544 'type' => 'samlAssertion'
5545 },
5546 'samlSPSSODescriptorAuthnRequestsSigned' => {
5547 'default' => 1,
5548 'type' => 'bool'
5549 },
5550 'samlSPSSODescriptorSingleLogoutServiceHTTPPost' => {
5551 'default' =>
5552 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST;#PORTAL#/saml/proxySingleLogout;#PORTAL#/saml/proxySingleLogoutReturn',
5553 'type' => 'samlService'
5554 },
5555 'samlSPSSODescriptorSingleLogoutServiceHTTPRedirect' => {
5556 'default' =>
5557 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect;#PORTAL#/saml/proxySingleLogout;#PORTAL#/saml/proxySingleLogoutReturn',
5558 'type' => 'samlService'
5559 },
5560 'samlSPSSODescriptorSingleLogoutServiceSOAP' => {
5561 'default' =>
5562 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/proxySingleLogoutSOAP;',
5563 'type' => 'samlService'
5564 },
5565 'samlSPSSODescriptorWantAssertionsSigned' => {
5566 'default' => 1,
5567 'type' => 'bool'
5568 },
5569 'samlStorage' => {
5570 'type' => 'PerlModule'
5571 },
5572 'samlStorageOptions' => {
5573 'type' => 'keyTextContainer'
5574 },
5575 'samlUseQueryStringSpecific' => {
5576 'default' => 0,
5577 'type' => 'bool'
5578 },
5579 'scrollTop' => {
5580 'default' => 400,
5581 'type' => 'int'
5582 },
5583 'securedCookie' => {
5584 'default' => 0,
5585 'select' => [ {
5586 'k' => '0',
5587 'v' => 'unsecuredCookie'
5588 },
5589 {
5590 'k' => '1',
5591 'v' => 'securedCookie'
5592 },
5593 {
5594 'k' => '2',
5595 'v' => 'doubleCookie'
5596 },
5597 {
5598 'k' => '3',
5599 'v' => 'doubleCookieForSingleSession'
5600 }
5601 ],
5602 'type' => 'select'
5603 },
5604 'secureTokenAllowOnError' => {
5605 'type' => 'text'
5606 },
5607 'secureTokenAttribute' => {
5608 'type' => 'text'
5609 },
5610 'secureTokenExpiration' => {
5611 'type' => 'text'
5612 },
5613 'secureTokenHeader' => {
5614 'type' => 'text'
5615 },
5616 'secureTokenMemcachedServers' => {
5617 'type' => 'text'
5618 },
5619 'secureTokenUrls' => {
5620 'type' => 'text'
5621 },
5622 'sentryDsn' => {
5623 'type' => 'text'
5624 },
5625 'sessionDataToRemember' => {
5626 'keyMsgFail' => '__invalidSessionData__',
5627 'keyTest' => qr/^(\d+_)?[_a-zA-Z][a-zA-Z0-9_]*$/,
5628 'type' => 'keyTextContainer'
5629 },
5630 'sfEngine' => {
5631 'default' => '::2F::Engines::Default',
5632 'type' => 'text'
5633 },
5634 'sfExtra' => {
5635 'keyTest' => qr/^\w+$/,
5636 'select' => [ {
5637 'k' => 'Mail2F',
5638 'v' => 'E-Mail'
5639 },
5640 {
5641 'k' => 'REST',
5642 'v' => 'REST'
5643 },
5644 {
5645 'k' => 'Ext2F',
5646 'v' => 'External'
5647 },
5648 {
5649 'k' => 'Radius',
5650 'v' => 'Radius'
5651 }
5652 ],
5653 2 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
5654 2 1;
5655 },
5656 'type' => 'sfExtraContainer'
5657 },
5658 'sfLoginTimeout' => {
5659 'type' => 'intOrNull'
5660 },
5661 'sfManagerRule' => {
5662 'default' => 1,
5663 'type' => 'boolOrExpr'
5664 },
5665 'sfOnlyUpgrade' => {
5666 'default' => 0,
5667 'type' => 'bool'
5668 },
5669 'sfRegisterTimeout' => {
5670 'type' => 'intOrNull'
5671 },
5672 'sfRemovedMsgRule' => {
5673 'default' => 0,
5674 'type' => 'boolOrExpr'
5675 },
5676 'sfRemovedNotifMsg' => {
5677 'default' =>
5678 '_removedSF_ expired second factor(s) has/have been removed (_nameSF_)!',
5679 'type' => 'text'
5680 },
5681 'sfRemovedNotifRef' => {
5682 'default' => 'RemoveSF',
5683 'type' => 'text'
5684 },
5685 'sfRemovedNotifTitle' => {
5686 'default' => 'Second factor notification',
5687 'type' => 'text'
5688 },
5689 'sfRemovedUseNotif' => {
5690 'default' => 0,
5691 'type' => 'bool'
5692 },
5693 'sfRequired' => {
5694 'default' => 0,
5695 'type' => 'boolOrExpr'
5696 },
5697 'sfRetries' => {
5698 'type' => 'intOrNull'
5699 },
5700 'shortTokenTTL' => {
5701 'default' => 30,
5702 'type' => 'int'
5703 },
5704 'showLanguages' => {
5705 'default' => 1,
5706 'type' => 'bool'
5707 },
5708 'singleIP' => {
5709 'default' => 0,
5710 'type' => 'boolOrExpr'
5711 },
5712 'singleSession' => {
5713 'default' => 0,
5714 'type' => 'boolOrExpr'
5715 },
5716 'singleUserByIP' => {
5717 'default' => 0,
5718 'type' => 'boolOrExpr'
5719 },
5720 'skipRenewConfirmation' => {
5721 'default' => 0,
5722 'type' => 'bool'
5723 },
5724 'skipUpgradeConfirmation' => {
5725 'default' => 0,
5726 'type' => 'bool'
5727 },
5728 'slaveAuthnLevel' => {
5729 'default' => 2,
5730 'type' => 'int'
5731 },
5732 'slaveCertificateField' => {
5733 'type' => 'text'
5734 },
5735 'slaveCertificateRegexp' => {
5736 'default' => '',
5737 'type' => 'pcre'
5738 },
5739 'slaveDisplayLogo' => {
5740 'default' => 0,
5741 'type' => 'bool'
5742 },
5743 'slaveExportedVars' => {
5744 'default' => {},
5745 'keyMsgFail' => '__badVariableName__',
5746 'keyTest' => qr/^!?[a-zA-Z][a-zA-Z0-9_-]*$/,
5747 'msgFail' => '__badValue__',
5748 'test' => qr/^[a-zA-Z][a-zA-Z0-9_:\-]*$/,
5749 'type' => 'keyTextContainer'
5750 },
5751 'slaveHeaderContent' => {
5752 'type' => 'text'
5753 },
5754 'slaveHeaderName' => {
5755 'type' => 'text'
5756 },
5757 'slaveMasterIP' => {
5758 'msgFail' => '__badIPv4Address__',
5759 'test' => qr/^((?:[0-9]+[.][0-9]+[.][0-9]+[.][0-9]+)\s*)*$/,
5760 'type' => 'text'
5761 },
5762 'slaveUserHeader' => {
5763 'type' => 'text'
5764 },
5765 'SMTPAuthMech' => {
5766 'default' => '',
5767 'test' => qr/^[\w\s-]*$/,
5768 'type' => 'text'
5769 },
5770 'SMTPAuthPass' => {
5771 'type' => 'password'
5772 },
5773 'SMTPAuthUser' => {
5774 'type' => 'text'
5775 },
5776 'SMTPPort' => {
5777 'type' => 'int'
5778 },
5779 'SMTPServer' => {
5780 'default' => '',
5781 'test' =>
5782 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+)?)?$/,
5783 'type' => 'text'
5784 },
5785 'SMTPTLS' => {
5786 'default' => '',
5787 'select' => [ {
5788 'k' => '',
5789 'v' => 'none'
5790 },
5791 {
5792 'k' => 'starttls',
5793 'v' => 'SMTP + STARTTLS'
5794 },
5795 {
5796 'k' => 'ssl',
5797 'v' => 'SMTPS'
5798 }
5799 ],
5800 'type' => 'select'
5801 },
5802 'SMTPTLSOpts' => {
5803 'type' => 'keyTextContainer'
5804 },
5805 'soapConfigServer' => {
5806 'default' => 0,
5807 'type' => 'bool'
5808 },
5809 'soapProxyUrn' => {
5810 'default' => 'urn:Lemonldap/NG/Common/PSGI/SOAPService',
5811 'type' => 'text'
5812 },
5813 'soapSessionServer' => {
5814 'default' => 0,
5815 'type' => 'bool'
5816 },
5817 'SSLAuthnLevel' => {
5818 'default' => 5,
5819 'type' => 'int'
5820 },
5821 'sslByAjax' => {
5822 'default' => 0,
5823 'type' => 'bool'
5824 },
5825 'sslHost' => {
5826 'type' => 'url'
5827 },
5828 'SSLIssuerVar' => {
5829 'default' => 'SSL_CLIENT_I_DN',
5830 'type' => 'text'
5831 },
5832 'SSLVar' => {
5833 'default' => 'SSL_CLIENT_S_DN_Email',
5834 'type' => 'text'
5835 },
5836 'SSLVarIf' => {
5837 'default' => {},
5838 0 ▶ 'keyTest' => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
5839 0 1;
5840 },
5841 'type' => 'keyTextContainer'
5842 },
5843 'staticPrefix' => {
5844 'type' => 'text'
5845 },
5846 'statusQueueName' => {
5847 'default' => 'llng_status',
5848 'type' => 'text'
5849 },
5850 'stayConnected' => {
5851 'default' => 0,
5852 'type' => 'boolOrExpr'
5853 },
5854 'stayConnectedBypassFG' => {
5855 'default' => 0,
5856 'type' => 'bool'
5857 },
5858 'stayConnectedCookieName' => {
5859 'default' => 'llngconnection',
5860 'msgFail' => '__badCookieName__',
5861 'test' => qr/^[a-zA-Z][a-zA-Z0-9_-]*$/,
5862 'type' => 'text'
5863 },
5864 'stayConnectedSingleSession' => {
5865 'default' => 0,
5866 'type' => 'bool'
5867 },
5868 'stayConnectedTimeout' => {
5869 'default' => 2592000,
5870 'type' => 'int'
5871 },
5872 'storePassword' => {
5873 'default' => 0,
5874 'type' => 'bool'
5875 },
5876 'storePasswordEncrypted' => {
5877 'default' => 0,
5878 'type' => 'bool'
5879 },
5880 'strictTransportSecurityMax_Age' => {
5881 'type' => 'text'
5882 },
5883 'successLoginNumber' => {
5884 'default' => 5,
5885 'type' => 'int'
5886 },
5887 'syslogFacility' => {
5888 'type' => 'text'
5889 },
5890 'syslogSockOptions' => {
5891 'keyTest' => qr/^(?:type|path|timeout|host|port)$/,
5892 'type' => 'keyTextContainer'
5893 },
5894 'timeout' => {
5895 'default' => 72000,
5896 50 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
5897 50 $_[0] > 0;
5898 },
5899 'type' => 'int'
5900 },
5901 'timeoutActivity' => {
5902 'default' => 0,
5903 50 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
5904 50 $_[0] >= 0;
5905 },
5906 'type' => 'int'
5907 },
5908 'timeoutActivityInterval' => {
5909 'default' => 60,
5910 36 ▶ 'test' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
5911 36 $_[0] >= 0;
5912 },
5913 1169 'type' => 'int'
5914 },
5915 'tokenUseGlobalStorage' => {
5916 'default' => 0,
5917 'type' => 'bool'
5918 },
5919 'totp2fActivation' => {
5920 'default' => 0,
5921 'type' => 'boolOrExpr'
5922 },
5923 'totp2fAlgorithm' => {
5924 'default' => 'sha1',
5925 'select' => [ {
5926 'k' => 'sha1',
5927 'v' => 'SHA-1'
5928 },
5929 {
5930 'k' => 'sha256',
5931 'v' => 'SHA-256'
5932 },
5933 {
5934 'k' => 'sha512',
5935 'v' => 'SHA-512'
5936 }
5937 ],
5938 'type' => 'select'
5939 },
5940 'totp2fAuthnLevel' => {
5941 'type' => 'intOrNull'
5942 },
5943 'totp2fDigits' => {
5944 'default' => 6,
5945 'type' => 'int'
5946 },
5947 'totp2fEncryptSecret' => {
5948 'default' => 0,
5949 'type' => 'bool'
5950 },
5951 'totp2fInterval' => {
5952 'default' => 30,
5953 'type' => 'int'
5954 },
5955 'totp2fIssuer' => {
5956 'type' => 'text'
5957 },
5958 'totp2fLabel' => {
5959 'type' => 'text'
5960 },
5961 'totp2fLogo' => {
5962 'type' => 'text'
5963 },
5964 'totp2fRange' => {
5965 'default' => 1,
5966 'type' => 'int'
5967 },
5968 'totp2fSelfRegistration' => {
5969 'default' => 0,
5970 'type' => 'boolOrExpr'
5971 },
5972 'totp2fTTL' => {
5973 'type' => 'intOrNull'
5974 },
5975 'totp2fUserCanRemoveKey' => {
5976 'default' => 1,
5977 'type' => 'bool'
5978 },
5979 'trustedBrowserRule' => {
5980 'default' => 0,
5981 'type' => 'boolOrExpr'
5982 },
5983 'trustedBrowserUseTotp' => {
5984 'default' => 1,
5985 'type' => 'bool'
5986 },
5987 'trustedDomains' => {
5988 'type' => 'text'
5989 },
5990 'twitterAppName' => {
5991 'type' => 'text'
5992 },
5993 'twitterAuthnLevel' => {
5994 'default' => 1,
5995 'type' => 'int'
5996 },
5997 'twitterKey' => {
5998 'type' => 'text'
5999 },
6000 'twitterSecret' => {
6001 'type' => 'text'
6002 },
6003 'twitterUserField' => {
6004 'default' => 'screen_name',
6005 'type' => 'text'
6006 },
6007 'upgradeSession' => {
6008 'default' => 1,
6009 'type' => 'bool'
6010 },
6011 'userControl' => {
6012 'default' => '^[\\w\\.\\-@]+$',
6013 'type' => 'pcre'
6014 },
6015 'userDB' => {
6016 'default' => 'Same',
6017 'select' => [ {
6018 'k' => 'Same',
6019 'v' => 'Same'
6020 },
6021 {
6022 'k' => 'AD',
6023 'v' => 'Active Directory'
6024 },
6025 {
6026 'k' => 'DBI',
6027 'v' => 'Database (DBI)'
6028 },
6029 {
6030 'k' => 'LDAP',
6031 'v' => 'LDAP'
6032 },
6033 {
6034 'k' => 'REST',
6035 'v' => 'REST'
6036 },
6037 {
6038 'k' => 'Null',
6039 'v' => 'None'
6040 },
6041 {
6042 'k' => 'Custom',
6043 'v' => 'customModule'
6044 }
6045 ],
6046 'type' => 'select'
6047 },
6048 'useRedirectAjaxOnUnauthorized' => {
6049 'default' => 1,
6050 'type' => 'bool'
6051 },
6052 'useRedirectOnError' => {
6053 'default' => 1,
6054 'type' => 'bool'
6055 },
6056 'useRedirectOnForbidden' => {
6057 'default' => 0,
6058 'type' => 'bool'
6059 },
6060 'userLogger' => {
6061 'type' => 'text'
6062 },
6063 'userPivot' => {
6064 'type' => 'text'
6065 },
6066 'userSyslogFacility' => {
6067 'type' => 'text'
6068 },
6069 'useSafeJail' => {
6070 'default' => 1,
6071 'type' => 'bool'
6072 },
6073 'vhostAccessToTrace' => {
6074 'default' => '',
6075 'type' => 'text'
6076 },
6077 'vhostAliases' => {
6078 'default' => '',
6079 'type' => 'text'
6080 },
6081 'vhostAuthnLevel' => {
6082 'type' => 'intOrNull'
6083 },
6084 'vhostComment' => {
6085 'default' => '',
6086 'type' => 'longtext'
6087 },
6088 'vhostDevOpsRulesUrl' => {
6089 'type' => 'url'
6090 },
6091 'vhostHttps' => {
6092 'default' => -1,
6093 'type' => 'trool'
6094 },
6095 'vhostMaintenance' => {
6096 'default' => 0,
6097 'type' => 'bool'
6098 },
6099 'vhostOptions' => {
6100 'type' => 'subContainer'
6101 },
6102 'vhostPort' => {
6103 'default' => -1,
6104 'type' => 'int'
6105 },
6106 'vhostServiceTokenTTL' => {
6107 'default' => -1,
6108 'type' => 'int'
6109 },
6110 'vhostType' => {
6111 'default' => 'Main',
6112 'select' => [ {
6113 'k' => 'AuthBasic',
6114 'v' => 'AuthBasic'
6115 },
6116 {
6117 'k' => 'CDA',
6118 'v' => 'CDA'
6119 },
6120 {
6121 'k' => 'DevOps',
6122 'v' => 'DevOps'
6123 },
6124 {
6125 'k' => 'DevOpsST',
6126 'v' => 'DevOpsST'
6127 },
6128 {
6129 'k' => 'DevOpsCDA',
6130 'v' => 'DevOpsCDA'
6131 },
6132 {
6133 'k' => 'Main',
6134 'v' => 'Main'
6135 },
6136 {
6137 'k' => 'OAuth2',
6138 'v' => 'OAuth2'
6139 },
6140 {
6141 'k' => 'SecureToken',
6142 'v' => 'SecureToken'
6143 },
6144 {
6145 'k' => 'ServiceToken',
6146 'v' => 'ServiceToken'
6147 },
6148 {
6149 'k' => 'ZimbraPreAuth',
6150 'v' => 'ZimbraPreAuth'
6151 }
6152 ],
6153 'type' => 'select'
6154 },
6155 'viewerAllowBrowser' => {
6156 'default' => 0,
6157 'type' => 'bool'
6158 },
6159 'viewerAllowDiff' => {
6160 'default' => 0,
6161 'type' => 'bool'
6162 },
6163 'viewerHiddenKeys' => {
6164 'default' => 'samlIDPMetaDataNodes, samlSPMetaDataNodes',
6165 'type' => 'text'
6166 },
6167 'virtualHosts' => {
6168 'type' => 'virtualHostContainer'
6169 },
6170 'webauthn2fActivation' => {
6171 'default' => 0,
6172 'type' => 'boolOrExpr'
6173 },
6174 'webauthn2fAttestation' => {
6175 'default' => 'none',
6176 'select' => [ {
6177 'k' => 'none',
6178 'v' => 'None'
6179 },
6180 {
6181 'k' => 'direct',
6182 'v' => 'Direct'
6183 },
6184 {
6185 'k' => 'indirect',
6186 'v' => 'Indirect'
6187 },
6188 {
6189 'k' => 'enterprise',
6190 'v' => 'Enterprise'
6191 }
6192 ],
6193 'type' => 'select'
6194 },
6195 'webauthn2fAttestationTrust' => {
6196 'type' => 'file'
6197 },
6198 'webauthn2fAuthnLevel' => {
6199 'type' => 'intOrNull'
6200 },
6201 'webauthn2fLabel' => {
6202 'type' => 'text'
6203 },
6204 'webauthn2fLogo' => {
6205 'type' => 'text'
6206 },
6207 'webauthn2fResidentKey' => {
6208 'select' => [ {
6209 'k' => '',
6210 'v' => ''
6211 },
6212 {
6213 'k' => 'discouraged',
6214 'v' => 'Discouraged'
6215 },
6216 {
6217 'k' => 'preferred',
6218 'v' => 'Preferred'
6219 },
6220 {
6221 'k' => 'required',
6222 'v' => 'Required'
6223 }
6224 ],
6225 'type' => 'select'
6226 },
6227 'webauthn2fSelfRegistration' => {
6228 'default' => 0,
6229 'type' => 'boolOrExpr'
6230 },
6231 'webauthn2fUserCanRemoveKey' => {
6232 'default' => 1,
6233 'type' => 'bool'
6234 },
6235 'webauthn2fUserVerification' => {
6236 'default' => 'preferred',
6237 'select' => [ {
6238 'k' => 'discouraged',
6239 'v' => 'discouraged'
6240 },
6241 {
6242 'k' => 'preferred',
6243 'v' => 'preferred'
6244 },
6245 {
6246 'k' => 'required',
6247 'v' => 'required'
6248 }
6249 ],
6250 'type' => 'select'
6251 },
6252 'webauthnAppId' => {
6253 'default' => 1,
6254 'type' => 'bool'
6255 },
6256 'webauthnAuthnLevel' => {
6257 'default' => 3,
6258 'type' => 'int'
6259 },
6260 'webauthnDefaultTransports' => {
6261 'type' => 'text'
6262 },
6263 'webauthnDisplayNameAttr' => {
6264 'type' => 'text'
6265 },
6266 'webauthnRpId' => {
6267 'type' => 'text'
6268 },
6269 'webauthnRpName' => {
6270 'type' => 'text'
6271 },
6272 'webCronSecret' => {
6273 'type' => 'text'
6274 },
6275 'webIDAuthnLevel' => {
6276 'default' => 1,
6277 'type' => 'int'
6278 },
6279 'webIDExportedVars' => {
6280 'default' => {},
6281 'keyMsgFail' => '__badVariableName__',
6282 'keyTest' => qr/^!?[a-zA-Z][a-zA-Z0-9_-]*$/,
6283 'msgFail' => '__badValue__',
6284 'test' => qr/^[a-zA-Z][a-zA-Z0-9_:\-]*$/,
6285 'type' => 'keyTextContainer'
6286 },
6287 'webIDWhitelist' => {
6288 'type' => 'text'
6289 },
6290 'whatToTrace' => {
6291 'default' => 'uid',
6292 'type' => 'lmAttrOrMacro'
6293 },
6294 'wsdlServer' => {
6295 'default' => 0,
6296 'type' => 'bool'
6297 },
6298 'yubikey2fActivation' => {
6299 'default' => 0,
6300 'type' => 'boolOrExpr'
6301 },
6302 'yubikey2fAuthnLevel' => {
6303 'type' => 'intOrNull'
6304 },
6305 'yubikey2fClientID' => {
6306 'type' => 'text'
6307 },
6308 'yubikey2fFromSessionAttribute' => {
6309 'type' => 'text'
6310 },
6311 'yubikey2fLabel' => {
6312 'type' => 'text'
6313 },
6314 'yubikey2fLogo' => {
6315 'type' => 'text'
6316 },
6317 'yubikey2fNonce' => {
6318 'type' => 'text'
6319 },
6320 'yubikey2fPublicIDSize' => {
6321 'default' => 12,
6322 'type' => 'int'
6323 },
6324 'yubikey2fSecretKey' => {
6325 'type' => 'text'
6326 },
6327 'yubikey2fSelfRegistration' => {
6328 'default' => 0,
6329 'type' => 'boolOrExpr'
6330 },
6331 'yubikey2fTTL' => {
6332 'type' => 'intOrNull'
6333 },
6334 'yubikey2fUrl' => {
6335 'type' => 'url'
6336 },
6337 'yubikey2fUserCanRemoveKey' => {
6338 'default' => 1,
6339 'type' => 'bool'
6340 },
6341 'zimbraAccountKey' => {
6342 'type' => 'text'
6343 },
6344 'zimbraBy' => {
6345 'type' => 'text'
6346 },
6347 'zimbraPreAuthKey' => {
6348 'type' => 'text'
6349 },
6350 'zimbraSsoUrl' => {
6351 'type' => 'text'
6352 },
6353 'zimbraUrl' => {
6354 'type' => 'text'
6355 }
6356 };
6357 }
6358  
« blib/lib/Lemonldap/NG/Manager/Conf/Zero.pm ↑ Summary blib/lib/Lemonldap/NG/Manager/Api/Common.pm »