SAML #89 - adding configuration key to store priv/pub keys for signature and encryption
This commit is contained in:
parent
241d972b07
commit
346d901a15
@ -613,6 +613,7 @@ sub struct {
|
|||||||
_nodes => [
|
_nodes => [
|
||||||
qw(samlEntityID
|
qw(samlEntityID
|
||||||
samlServicePrivateKey
|
samlServicePrivateKey
|
||||||
|
n:samlServiceSecurity
|
||||||
n:samlNameIDFormatMap
|
n:samlNameIDFormatMap
|
||||||
n:samlOrganization
|
n:samlOrganization
|
||||||
n:samlSPSSODescriptor
|
n:samlSPSSODescriptor
|
||||||
@ -626,6 +627,25 @@ sub struct {
|
|||||||
samlServicePrivateKey =>
|
samlServicePrivateKey =>
|
||||||
'filearea:/samlServicePrivateKey:samlServicePrivateKey:filearea',
|
'filearea:/samlServicePrivateKey:samlServicePrivateKey:filearea',
|
||||||
|
|
||||||
|
# SECURITY NODE
|
||||||
|
samlServiceSecurity => {
|
||||||
|
_nodes => [
|
||||||
|
qw(samlServicePrivateKeySig
|
||||||
|
samlServicePublicKeySig
|
||||||
|
samlServicePrivateKeyEnc
|
||||||
|
samlServicePublicKeyEnc)
|
||||||
|
],
|
||||||
|
_help => 'default',
|
||||||
|
samlServicePrivateKeySig =>
|
||||||
|
'filearea:/samlServicePrivateKeySig:samlServicePrivateKeySig:filearea',
|
||||||
|
samlServicePublicKeySig =>
|
||||||
|
'filearea:/samlServicePublicKeySig:samlServicePublicKeySig:filearea',
|
||||||
|
samlServicePrivateKeyEnc =>
|
||||||
|
'filearea:/samlServicePrivateKeyEnc:samlServicePrivateKeyEnc:filearea',
|
||||||
|
samlServicePublicKeyEnc =>
|
||||||
|
'filearea:/samlServicePublicKeyEnc:samlServicePublicKeyEnc:filearea',
|
||||||
|
},
|
||||||
|
|
||||||
# NAMEID FORMAT MAP
|
# NAMEID FORMAT MAP
|
||||||
samlNameIDFormatMap => {
|
samlNameIDFormatMap => {
|
||||||
_nodes => [
|
_nodes => [
|
||||||
@ -1139,6 +1159,10 @@ sub testStruct {
|
|||||||
samlNameIDFormatMapWindows => $testNotDefined,
|
samlNameIDFormatMapWindows => $testNotDefined,
|
||||||
samlNameIDFormatMapKerberos => $testNotDefined,
|
samlNameIDFormatMapKerberos => $testNotDefined,
|
||||||
samlAttributeAuthorityDescriptorAttributeServiceSOAP => $testNotDefined,
|
samlAttributeAuthorityDescriptorAttributeServiceSOAP => $testNotDefined,
|
||||||
|
samlServicePrivateKeySig => $testNotDefined,
|
||||||
|
samlServicePublicKeySig => $testNotDefined,
|
||||||
|
samlServicePrivateKeyEnc => $testNotDefined,
|
||||||
|
samlServicePublicKeyEnc => $testNotdefined,
|
||||||
|
|
||||||
# SSL
|
# SSL
|
||||||
SSLVar => $testNotDefined,
|
SSLVar => $testNotDefined,
|
||||||
|
@ -301,6 +301,11 @@ sub en {
|
|||||||
samlAttributeAuthorityDescriptor => 'Attribute Authority',
|
samlAttributeAuthorityDescriptor => 'Attribute Authority',
|
||||||
samlAttributeAuthorityDescriptorAttributeService => 'Attribute Service',
|
samlAttributeAuthorityDescriptorAttributeService => 'Attribute Service',
|
||||||
samlAttributeAuthorityDescriptorAttributeServiceSOAP => 'SOAP',
|
samlAttributeAuthorityDescriptorAttributeServiceSOAP => 'SOAP',
|
||||||
|
samlServiceSecurity => 'Security parameters',
|
||||||
|
samlServicePrivateKeySig => 'Private key for signature',
|
||||||
|
samlServicePublicKeySig => 'Public key for signature',
|
||||||
|
samlServicePrivateKeyEnc => 'Private key for encryption',
|
||||||
|
samlServicePublicKeyEnc => 'Public key for encryption',
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -572,6 +577,11 @@ sub fr {
|
|||||||
samlAttributeAuthorityDescriptorAttributeService =>
|
samlAttributeAuthorityDescriptorAttributeService =>
|
||||||
'Service d\'attributs',
|
'Service d\'attributs',
|
||||||
samlAttributeAuthorityDescriptorAttributeServiceSOAP => 'SOAP',
|
samlAttributeAuthorityDescriptorAttributeServiceSOAP => 'SOAP',
|
||||||
|
samlServiceSecurity => 'Paramètres de sécurité',
|
||||||
|
samlServicePrivateKeySig => 'Clé privée de signature',
|
||||||
|
samlServicePublicKeySig => 'Clé publique de signature',
|
||||||
|
samlServicePrivateKeyEnc => 'Clé privée de chiffrement',
|
||||||
|
samlServicePublicKeyEnc => 'Clé publique de chiffrement',
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user