Add useSafeJail in Manager (trunk only) (#270)

This commit is contained in:
Clément Oudot 2011-02-07 17:19:36 +00:00
parent 234666742b
commit 6adf9a9d4a
2 changed files with 8 additions and 2 deletions

View File

@ -773,13 +773,15 @@ sub struct {
},
security => {
_nodes =>
[qw(userControl portalForceAuthn key trustedDomains)],
_nodes => [
qw(userControl portalForceAuthn key trustedDomains useSafeJail)
],
_help => 'security',
userControl => 'text:/userControl',
portalForceAuthn => 'bool:/portalForceAuthn',
key => 'text:/key',
trustedDomains => 'text:/trustedDomains',
useSafeJail => 'bool:/useSafeJail',
},
redirection => {
@ -1447,6 +1449,7 @@ sub testStruct {
},
useRedirectOnError => $boolean,
useRedirectOnForbidden => $boolean,
useSafeJail => $boolean,
useXForwardedForIP => $boolean,
variables => $testNotDefined,
vhostOptions => {
@ -1762,6 +1765,7 @@ sub defaultConf {
passwordDB => 'LDAP',
useRedirectOnError => '1',
useRedirectOnForbidden => '0',
useSafeJail => '1',
useXForwardedForIP => '0',
vhostPort => '-1',
vhostHttps => '-1',

View File

@ -295,6 +295,7 @@ sub en {
userPivot => 'Login field name in user table',
useRedirectOnError => 'Redirect on error',
useRedirectOnForbidden => 'Redirect on forbidden',
useSafeJail => 'Use Safe jail',
useXForwardedForIP => "Use X-Forwarded-For",
variables => "Variables",
vhostHttps => 'HTTPS',
@ -681,6 +682,7 @@ sub fr {
userPivot => 'Champ identifiant dans la table des utilisateurs',
useRedirectOnError => 'Redirection pour les erreurs',
useRedirectOnForbidden => 'Redirection pour les accès interdits',
useSafeJail => 'Utiliser la cage Safe',
useXForwardedForIP => "Utiliser X-Forwarded-For",
variables => "Variables",
vhostHttps => 'HTTPS',