Change default values for SAML security parameters (#1079)

This commit is contained in:
Clément Oudot 2016-09-06 09:49:45 +00:00
parent 194d5e3404
commit cfff6103a7
5 changed files with 21 additions and 21 deletions

View File

@ -244,9 +244,9 @@ sub defaultValues {
'samlIDPMetaDataOptionsAdaptSessionUtime' => 0, 'samlIDPMetaDataOptionsAdaptSessionUtime' => 0,
'samlIDPMetaDataOptionsAllowLoginFromIDP' => 0, 'samlIDPMetaDataOptionsAllowLoginFromIDP' => 0,
'samlIDPMetaDataOptionsAllowProxiedAuthn' => 0, 'samlIDPMetaDataOptionsAllowProxiedAuthn' => 0,
'samlIDPMetaDataOptionsCheckConditions' => 0, 'samlIDPMetaDataOptionsCheckConditions' => 1,
'samlIDPMetaDataOptionsCheckSLOMessageSignature' => 0, 'samlIDPMetaDataOptionsCheckSLOMessageSignature' => 1,
'samlIDPMetaDataOptionsCheckSSOMessageSignature' => 0, 'samlIDPMetaDataOptionsCheckSSOMessageSignature' => 1,
'samlIDPMetaDataOptionsEncryptionMode' => 'none', 'samlIDPMetaDataOptionsEncryptionMode' => 'none',
'samlIDPMetaDataOptionsForceAuthn' => 0, 'samlIDPMetaDataOptionsForceAuthn' => 0,
'samlIDPMetaDataOptionsForceUTF8' => 0, 'samlIDPMetaDataOptionsForceUTF8' => 0,
@ -292,8 +292,8 @@ sub defaultValues {
'samlServicePublicKeySig' => '', 'samlServicePublicKeySig' => '',
'samlServiceUseCertificateInResponse' => 0, 'samlServiceUseCertificateInResponse' => 0,
'samlSPMetaDataExportedAttributes' => {}, 'samlSPMetaDataExportedAttributes' => {},
'samlSPMetaDataOptionsCheckSLOMessageSignature' => 0, 'samlSPMetaDataOptionsCheckSLOMessageSignature' => 1,
'samlSPMetaDataOptionsCheckSSOMessageSignature' => 0, 'samlSPMetaDataOptionsCheckSSOMessageSignature' => 1,
'samlSPMetaDataOptionsEnableIDPInitiatedURL' => 0, 'samlSPMetaDataOptionsEnableIDPInitiatedURL' => 0,
'samlSPMetaDataOptionsEncryptionMode' => 'none', 'samlSPMetaDataOptionsEncryptionMode' => 'none',
'samlSPMetaDataOptionsForceUTF8' => 1, 'samlSPMetaDataOptionsForceUTF8' => 1,

View File

@ -2091,15 +2091,15 @@ qr/(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.]
'type' => 'bool' 'type' => 'bool'
}, },
'samlIDPMetaDataOptionsCheckConditions' => { 'samlIDPMetaDataOptionsCheckConditions' => {
'default' => 0, 'default' => 1,
'type' => 'bool' 'type' => 'bool'
}, },
'samlIDPMetaDataOptionsCheckSLOMessageSignature' => { 'samlIDPMetaDataOptionsCheckSLOMessageSignature' => {
'default' => 0, 'default' => 1,
'type' => 'bool' 'type' => 'bool'
}, },
'samlIDPMetaDataOptionsCheckSSOMessageSignature' => { 'samlIDPMetaDataOptionsCheckSSOMessageSignature' => {
'default' => 0, 'default' => 1,
'type' => 'bool' 'type' => 'bool'
}, },
'samlIDPMetaDataOptionsEncryptionMode' => { 'samlIDPMetaDataOptionsEncryptionMode' => {
@ -2407,11 +2407,11 @@ qr/(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.]
'type' => 'keyTextContainer' 'type' => 'keyTextContainer'
}, },
'samlSPMetaDataOptionsCheckSLOMessageSignature' => { 'samlSPMetaDataOptionsCheckSLOMessageSignature' => {
'default' => 0, 'default' => 1,
'type' => 'bool' 'type' => 'bool'
}, },
'samlSPMetaDataOptionsCheckSSOMessageSignature' => { 'samlSPMetaDataOptionsCheckSSOMessageSignature' => {
'default' => 0, 'default' => 1,
'type' => 'bool' 'type' => 'bool'
}, },
'samlSPMetaDataOptionsEnableIDPInitiatedURL' => { 'samlSPMetaDataOptionsEnableIDPInitiatedURL' => {

View File

@ -1465,7 +1465,7 @@ sub attributes {
}, },
samlIDPMetaDataOptionsCheckSSOMessageSignature => { samlIDPMetaDataOptionsCheckSSOMessageSignature => {
type => 'bool', type => 'bool',
default => 0, default => 1,
}, },
samlIDPMetaDataOptionsSignSLOMessage => { samlIDPMetaDataOptionsSignSLOMessage => {
type => 'trool', type => 'trool',
@ -1473,7 +1473,7 @@ sub attributes {
}, },
samlIDPMetaDataOptionsCheckSLOMessageSignature => { samlIDPMetaDataOptionsCheckSLOMessageSignature => {
type => 'bool', type => 'bool',
default => 0, default => 1,
}, },
samlIDPMetaDataOptionsSSOBinding => { samlIDPMetaDataOptionsSSOBinding => {
type => 'select', type => 'select',
@ -1510,7 +1510,7 @@ sub attributes {
}, },
samlIDPMetaDataOptionsCheckConditions => { samlIDPMetaDataOptionsCheckConditions => {
type => 'bool', type => 'bool',
default => 0, default => 1,
}, },
samlSPMetaDataOptionsForceUTF8 => { samlSPMetaDataOptionsForceUTF8 => {
type => 'bool', type => 'bool',
@ -1625,7 +1625,7 @@ sub attributes {
}, },
samlSPMetaDataOptionsCheckSSOMessageSignature => { samlSPMetaDataOptionsCheckSSOMessageSignature => {
type => 'bool', type => 'bool',
default => 0, default => 1,
}, },
samlSPMetaDataOptionsSignSLOMessage => { samlSPMetaDataOptionsSignSLOMessage => {
type => 'trool', type => 'trool',
@ -1633,7 +1633,7 @@ sub attributes {
}, },
samlSPMetaDataOptionsCheckSLOMessageSignature => { samlSPMetaDataOptionsCheckSLOMessageSignature => {
type => 'bool', type => 'bool',
default => 0, default => 1,
}, },
samlSPMetaDataOptionsEncryptionMode => { samlSPMetaDataOptionsEncryptionMode => {
type => 'select', type => 'select',

View File

@ -517,7 +517,7 @@ function templates(tpl,key) {
"type" : "trool" "type" : "trool"
}, },
{ {
"default" : 0, "default" : 1,
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsCheckSSOMessageSignature", "get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsCheckSSOMessageSignature",
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsCheckSSOMessageSignature", "id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsCheckSSOMessageSignature",
"title" : "samlIDPMetaDataOptionsCheckSSOMessageSignature", "title" : "samlIDPMetaDataOptionsCheckSSOMessageSignature",
@ -531,7 +531,7 @@ function templates(tpl,key) {
"type" : "trool" "type" : "trool"
}, },
{ {
"default" : 0, "default" : 1,
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsCheckSLOMessageSignature", "get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsCheckSLOMessageSignature",
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsCheckSLOMessageSignature", "id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsCheckSLOMessageSignature",
"title" : "samlIDPMetaDataOptionsCheckSLOMessageSignature", "title" : "samlIDPMetaDataOptionsCheckSLOMessageSignature",
@ -639,7 +639,7 @@ function templates(tpl,key) {
"type" : "select" "type" : "select"
}, },
{ {
"default" : 0, "default" : 1,
"get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsCheckConditions", "get" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsCheckConditions",
"id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsCheckConditions", "id" : tpl+"s/"+key+"/"+"samlIDPMetaDataOptionsCheckConditions",
"title" : "samlIDPMetaDataOptionsCheckConditions", "title" : "samlIDPMetaDataOptionsCheckConditions",
@ -769,7 +769,7 @@ function templates(tpl,key) {
"type" : "trool" "type" : "trool"
}, },
{ {
"default" : 0, "default" : 1,
"get" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsCheckSSOMessageSignature", "get" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsCheckSSOMessageSignature",
"id" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsCheckSSOMessageSignature", "id" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsCheckSSOMessageSignature",
"title" : "samlSPMetaDataOptionsCheckSSOMessageSignature", "title" : "samlSPMetaDataOptionsCheckSSOMessageSignature",
@ -783,7 +783,7 @@ function templates(tpl,key) {
"type" : "trool" "type" : "trool"
}, },
{ {
"default" : 0, "default" : 1,
"get" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsCheckSLOMessageSignature", "get" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsCheckSLOMessageSignature",
"id" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsCheckSLOMessageSignature", "id" : tpl+"s/"+key+"/"+"samlSPMetaDataOptionsCheckSLOMessageSignature",
"title" : "samlSPMetaDataOptionsCheckSLOMessageSignature", "title" : "samlSPMetaDataOptionsCheckSLOMessageSignature",

File diff suppressed because one or more lines are too long