Commit a549e626 authored by Xavier Guimard's avatar Xavier Guimard

Add Auth::GPG parameters (#1569)

parent cd8146a1
......@@ -62,6 +62,7 @@ sub defaultValues {
'Lemonldap::NG::Common::Apache::Session::Generate::SHA256',
'LockDirectory' => '/var/lib/lemonldap-ng/sessions/lock/'
},
'gpgDb' => '',
'groups' => {},
'handlerInternalCache' => 15,
'hiddenAttributes' => '_password',
......
......@@ -42,6 +42,7 @@ our $authParameters = {
dbiParams => [qw(dbiAuthnLevel dbiExportedVars dbiAuthChain dbiAuthUser dbiAuthPassword dbiUserChain dbiUserUser dbiUserPassword dbiAuthTable dbiUserTable dbiAuthLoginCol dbiAuthPasswordCol dbiPasswordMailCol userPivot dbiAuthPasswordHash dbiDynamicHashEnabled dbiDynamicHashValidSchemes dbiDynamicHashValidSaltedSchemes dbiDynamicHashNewPasswordScheme)],
demoParams => [qw(demoExportedVars)],
facebookParams => [qw(facebookAuthnLevel facebookExportedVars facebookAppId facebookAppSecret facebookUserField)],
gpgParams => [qw(gpgDb)],
kerberosParams => [qw(krbKeytab krbByJs krbAuthnLevel krbRemoveDomain)],
ldapParams => [qw(ldapAuthnLevel ldapExportedVars ldapServer ldapPort ldapBase managerDn managerPassword ldapTimeout ldapVersion ldapRaw LDAPFilter AuthLDAPFilter mailLDAPFilter ldapSearchDeref ldapGroupBase ldapGroupObjectClass ldapGroupAttributeName ldapGroupAttributeNameUser ldapGroupAttributeNameSearch ldapGroupDecodeSearchedValue ldapGroupRecursive ldapGroupAttributeNameGroup ldapPpolicyControl ldapSetPassword ldapChangePasswordAsUser ldapPwdEnc ldapUsePasswordResetAttribute ldapPasswordResetAttribute ldapPasswordResetAttributeValue ldapAllowResetExpiredPassword)],
linkedinParams => [qw(linkedInAuthnLevel linkedInClientID linkedInClientSecret linkedInFields linkedInUserField linkedInScope)],
......
......@@ -304,6 +304,10 @@ sub attributes {
'k' => 'Google',
'v' => 'Google'
},
{
'k' => 'GPG',
'v' => 'GPG'
},
{
'k' => 'Kerberos',
'v' => 'Kerberos'
......@@ -506,6 +510,10 @@ sub attributes {
'k' => 'Google',
'v' => 'Google'
},
{
'k' => 'GPG',
'v' => 'GPG'
},
{
'k' => 'Kerberos',
'v' => 'Kerberos'
......@@ -807,6 +815,10 @@ qr/(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.]
'k' => 'Google',
'v' => 'Google'
},
{
'k' => 'GPG',
'v' => 'GPG'
},
{
'k' => 'Kerberos',
'v' => 'Kerberos'
......@@ -1131,6 +1143,10 @@ qr/^(?:\*\.)?(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][
},
'type' => 'keyTextContainer'
},
'gpgDb' => {
'default' => '',
'type' => 'text'
},
'grantSessionRules' => {
'keyTest' => sub {
my ( $val, $conf ) = @_;
......
......@@ -267,6 +267,8 @@
"googleAuthnLevel":"مستوى إثبات الهوية",
"googleExportedVars":"المتغيرات المصدرة",
"googleParams":"معاييرغوغل",
"gpgDb":"GPG database",
"gpgParams":"GPG parameters",
"grantSessionRules":"ظروف الافتتاح",
"groups":"المجموعات",
"hashkey":"المفتاح",
......
......@@ -267,6 +267,8 @@
"googleAuthnLevel":"Authentication level",
"googleExportedVars":"Exported variables",
"googleParams":"Google parameters",
"gpgDb":"GPG database",
"gpgParams":"GPG parameters",
"grantSessionRules":"Opening conditions",
"groups":"Groups",
"hashkey":"Key",
......
......@@ -267,6 +267,8 @@
"googleAuthnLevel":"Authentication level",
"googleExportedVars":"Exported variables",
"googleParams":"Google parameters",
"gpgDb":"GPG database",
"gpgParams":"GPG parameters",
"grantSessionRules":"Opening conditions",
"groups":"Groups",
"hashkey":"Key",
......
......@@ -267,6 +267,8 @@
"googleAuthnLevel":"Niveau d'authentification",
"googleExportedVars":"Variables exportées",
"googleParams":"Paramètres Google",
"gpgDb":"Base de données GPG",
"gpgParams":"Paramètres GPG",
"grantSessionRules":"Conditions d'ouverture",
"groups":"Groupes",
"hashkey":"Clef",
......
......@@ -267,6 +267,8 @@
"googleAuthnLevel":"Livello di autenticazione",
"googleExportedVars":"Variabili esportate",
"googleParams":"Parametri Google",
"gpgDb":"GPG database",
"gpgParams":"GPG parameters",
"grantSessionRules":"Condizioni di apertura",
"groups":"Gruppi",
"hashkey":"Chiave",
......
......@@ -267,6 +267,8 @@
"googleAuthnLevel":"Mức xác thực",
"googleExportedVars":"Xuất khẩu biến",
"googleParams":"Tham số của Google",
"gpgDb":"GPG database",
"gpgParams":"GPG parameters",
"grantSessionRules":"Điều kiện mở",
"groups":"Nhóm",
"hashkey":"Khóa",
......
......@@ -267,6 +267,8 @@
"googleAuthnLevel":"认证等级",
"googleExportedVars":"导出的参数",
"googleParams":"Google 参数",
"gpgDb":"GPG database",
"gpgParams":"GPG parameters",
"grantSessionRules":"Opening conditions",
"groups":"Groups",
"hashkey":"Key",
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment