Add Auth::GPG parameters (#1569)

This commit is contained in:
Xavier Guimard 2019-02-05 11:51:39 +01:00
parent cd8146a172
commit a549e62657
14 changed files with 521 additions and 388 deletions

View File

@ -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',

View File

@ -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)],

View File

@ -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 ) = @_;

File diff suppressed because it is too large Load Diff

View File

@ -267,6 +267,8 @@
"googleAuthnLevel":"مستوى إثبات الهوية",
"googleExportedVars":"المتغيرات المصدرة",
"googleParams":"معاييرغوغل",
"gpgDb":"GPG database",
"gpgParams":"GPG parameters",
"grantSessionRules":"ظروف الافتتاح",
"groups":"المجموعات",
"hashkey":"المفتاح",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -267,6 +267,8 @@
"googleAuthnLevel":"认证等级",
"googleExportedVars":"导出的参数",
"googleParams":"Google 参数",
"gpgDb":"GPG database",
"gpgParams":"GPG parameters",
"grantSessionRules":"Opening conditions",
"groups":"Groups",
"hashkey":"Key",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long