Commit Graph

438 Commits

Author SHA1 Message Date
Xavier Guimard
c1137edba8 make tidy with perltidy-20181120 2019-07-02 20:03:40 +02:00
Xavier
c921c295ed Use user skin in loadTemplate (Fixes: #1828) 2019-06-28 13:40:56 +02:00
Xavier
8b488e4d51 Move LDAP::getUser() to Lib::LDAP (Fixes: #1805) 2019-06-17 21:15:38 +02:00
Xavier
aff7527580 Fix bad call in LDAP (#1805) 2019-06-17 19:21:48 +02:00
Christophe Maudoux
801e2a17d6 Better fix (#1769) 2019-06-05 15:27:58 +02:00
Christophe Maudoux
30c4a9c787 setSecurity if failed login (#1769) 2019-06-05 11:29:04 +02:00
Christophe Maudoux
e36ce98dda SetSecurity with AuthChoice (#1769) 2019-06-01 11:47:49 +02:00
Xavier
a2e78c88c3 Set versions 2019-05-16 20:42:31 +02:00
Maxime Besson
1f1eeab9c8 Do not log a warning when displaying form with Combination
When form-based authentication methods return PE_FIRSTLOGIN, do not log
a warning because it's normal behavior to show the form.
2019-05-14 19:47:28 +02:00
Xavier
f3c4ea0afb Tydy 2019-05-11 20:18:43 +02:00
Maxime Besson
64cc4ea0e6 Do not sent Kerberos js twice when using Combination
Fixes #1720
2019-04-25 17:17:03 +02:00
maudoux
9b711e6c81 Update version 2019-04-13 22:57:30 +02:00
maudoux
cfa98b2723 Fix logo display 2019-04-13 21:02:47 +02:00
maudoux
026fcd9f76 Fix warnings (#1704) 2019-04-10 22:14:46 +02:00
maudoux
1d08372a8c Sort CAS servers & update langs (#1704) 2019-04-10 21:58:37 +02:00
Xavier
4a21e96426 Fix warning 2019-04-10 21:54:03 +02:00
Xavier
1bcf828a89 Merge remote-tracking branch 'arosier/idpsort' into v2.0 2019-04-10 19:48:26 +02:00
Antoine ROSIER
8875a4e985 perltidy 2019-04-10 17:21:33 +02:00
Antoine ROSIER
f7b296b032 Sorting OIDc (#1704) 2019-04-10 17:06:41 +02:00
Antoine ROSIER
8636da45be Sorting SAML idp (#1704) 2019-04-10 17:06:41 +02:00
Christophe Maudoux
413cc98fba perltidy 2019-04-10 09:21:55 +02:00
Antoine ROSIER
6352dc6ac8 Sort idp and op (#1704) 2019-04-10 09:01:55 +02:00
maudoux
c573ec9625 Typo & upadte version 2019-04-05 22:58:48 +02:00
maudoux
956d934a93 Append GPG authentication level (#1699) 2019-04-05 22:38:20 +02:00
maudoux
85551ba5e1 Append REST authentication level (#1699) 2019-04-05 22:38:01 +02:00
Christophe Maudoux
cb53973881 Use OTT rule (#1694) 2019-04-05 17:24:16 +02:00
Christophe Maudoux
5a8a7d483f Use OTT rule (#1694) 2019-04-05 17:24:07 +02:00
Xavier Guimard
2159957c34 Update versions 2019-04-05 09:54:43 +02:00
maudoux
5b67f1f743 Use rule to enable OTT (#1694) 2019-04-03 23:28:45 +02:00
Clément OUDOT
c4b4e95e9d Display password or login template after password modification (#1654) 2019-04-02 11:12:33 +02:00
Clément OUDOT
a1f5fb5170 Test return of getUser (#1654) 2019-03-29 11:53:52 +01:00
Clément OUDOT
4bab684e2d Refresh entry after password modification (#1654) 2019-03-27 09:59:22 +01:00
Clément OUDOT
dee4818f0c Merge branch 'issue1543' into 'v2.0'
Save Urldc when using SAML Discovery

See merge request lemonldap-ng/lemonldap-ng!62
2019-03-13 10:19:14 +01:00
Clément OUDOT
8cd579f19f Add a waiting message for Kerberos/SSL workflow (#1670) 2019-03-11 16:36:32 +01:00
Xavier Guimard
bc2bef4ff4 Please use our .perltidyrc 2019-03-07 18:22:58 +01:00
Christophe Maudoux
e0204c6a79 Test submitted user param (#1667) 2019-03-06 23:08:22 +01:00
Maxime Besson
4a2fecaa7a Save Urldc when using SAML Discovery
Fixes #1543
2019-02-28 17:51:50 +01:00
Xavier Guimard
3069887a52 Call PasswordDB::LDAP if unauth user requests changing password (#1639) 2019-02-11 15:40:27 +01:00
Clément OUDOT
ad10dc539d Use ldapAuthnLevel and dbiAuthnLevel in portal (#1648) 2019-02-11 11:55:51 +01:00
Clément OUDOT
5f800003fd Add security token when forcing password reset (#1639) 2019-02-08 10:46:06 +01:00
Xavier Guimard
c7b4eb5051 tidy with new conf 2019-02-07 09:27:56 +01:00
Clément OUDOT
0fe2fc1d37 Bypass error screen for LDAP password reset (#1639) 2019-02-06 18:33:42 +01:00
Christophe Maudoux
70994bd7db Merge branch 'v2.0' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng into v2.0 2019-02-05 23:37:46 +01:00
Christophe Maudoux
24e58fafc9 Improve unit test (#1637) 2019-02-05 23:32:55 +01:00
Xavier Guimard
5886cbe2a0 Tidy 2019-02-05 23:12:17 +01:00
Xavier Guimard
e2b026b7c8 Fix versions 2019-02-05 23:06:18 +01:00
Christophe Maudoux
21206099ce Append display options for SAML IDP (#1637) 2019-02-05 22:39:09 +01:00
Xavier Guimard
0ddcaa5dc9 Update versions 2019-02-05 18:44:38 +01:00
Clément OUDOT
93d52bce27 Update module version (#1639) 2019-02-05 10:42:48 +01:00
Clément OUDOT
3d5969f9d6 Fix AD attributes read (#1639) 2019-02-05 10:42:07 +01:00
Christophe Maudoux
9fa7f58c76 Cleaning code (#1636) 2019-02-04 17:38:14 +01:00
Christophe Maudoux
153084118f Fix SSL/Kerberos Auth with Choice & Improve unit tests (#1636) 2019-02-03 20:05:28 +01:00
Christophe Maudoux
d70d7e11a9 Fix warning mgs 2019-02-03 20:05:14 +01:00
Christophe Maudoux
3021e998a7 Fix SSL/Kerberos Auth with Choice (#1636) 2019-02-03 00:17:53 +01:00
Christophe Maudoux
9987d28ac3 Fix SSL/Kerberos Auth with Choice & Improve unit tests (#1636) 2019-02-02 21:31:37 +01:00
Christophe Maudoux
dba550b6a9 Fix SSL/Kerberos Auth with Choice (#1636) 2019-02-02 19:06:18 +01:00
Christophe Maudoux
7fb6923fda Delete unused constant 2019-02-02 19:04:59 +01:00
Christophe Maudoux
f648bddcc6 Improve code (#1636) 2019-02-02 17:34:44 +01:00
Christophe Maudoux
e7a9bd0652 Merge branch 'v2.0' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng into v2.0 2019-02-02 00:00:53 +01:00
Christophe Maudoux
832d7d87c8 Fix AuthSSL with Choice (#1636) 2019-02-01 23:54:20 +01:00
Christophe Maudoux
30200f130d Fix AuthSSL with Choice (#1636) 2019-02-01 23:41:58 +01:00
Xavier Guimard
2ab385e2df Update versions 2019-01-09 13:42:30 +01:00
Christophe Maudoux
0a906243e5 Improve code 2019-01-06 22:28:25 +01:00
Christophe Maudoux
49655091a6 Fix lang for Ubuntu 2018-12-30 16:47:59 +01:00
Christophe Maudoux
c3bc80688e Revert "Fix AuthGPG for frenchies ;-)"
This reverts commit 245913da50
2018-12-26 23:22:25 +01:00
Christophe Maudoux
245913da50 Fix AuthGPG for frenchies ;-) 2018-12-26 23:16:14 +01:00
Xavier Guimard
1e3ab69be3 Add minimal Auth::GPG 2018-12-21 16:07:28 +01:00
Xavier Guimard
9ebc18ca5d Update version 2018-12-18 13:13:15 +01:00
Christophe Maudoux
185b3114a3 Append authLogout function to Auth::SSL.pm (#1564) 2018-12-01 16:05:29 +01:00
Xavier Guimard
f6f1072ef6 Fix double init (#1550) 2018-11-29 21:19:39 +01:00
Clément OUDOT
f41d92ac5e Remove choice data in logout (#1555) 2018-11-28 11:37:21 +01:00
Xavier Guimard
11857d9f8a make tidy 2018-11-26 14:40:21 +01:00
Xavier Guimard
81a364cc70 May solve #1555 2018-11-26 14:34:43 +01:00
Christophe Maudoux
ef5b4bcc36 Improve code ;-) (#1550) 2018-11-25 20:50:12 +01:00
Christophe Maudoux
217e4c43f3 Fix display (#1550) 2018-11-23 22:08:06 +01:00
Christophe Maudoux
e62597546e WIP - Fix call Custom with Choice (#1550) 2018-11-22 19:59:43 +01:00
Christophe Maudoux
448f39ff1c Fix return value (#1550) 2018-11-21 20:58:42 +01:00
Xavier Guimard
642e98e180 Fix some missing "lazy" (#1545) 2018-11-16 17:30:57 +01:00
Clément OUDOT
9f4311105f Force continue to replay SAML authentication (#1513) 2018-10-28 13:26:50 +01:00
Clément OUDOT
7690a56843 Put simple values in buil_urlencoded args (#1527) 2018-10-19 11:29:11 +02:00
Clément OUDOT
c5f9a7f95b make tidy 2018-10-12 10:04:03 +02:00
Xavier Guimard
0d3cccc491 Fix loadPlugin/loadModule issues in Choice (#1500) 2018-10-03 22:31:28 +02:00
Xavier Guimard
29d00823e5 Factor loadPlugin override (#1500) 2018-10-03 21:48:57 +02:00
Clément OUDOT
702faf0b49 Option to use an SAML attribute as user (#1512) 2018-10-02 16:04:24 +02:00
Clément OUDOT
c66009d645 Add some debug logs (#1478) 2018-09-11 10:03:09 +02:00
Clément OUDOT
d6e462d6bc Code to support SAML Discovery Protocol as SP (#1478) 2018-09-04 14:39:19 +02:00
Xavier Guimard
62d5c7836c make tidy 2018-09-02 17:31:58 +02:00
Christophe Maudoux
2153546c4c Display error msg 2018-08-29 18:52:22 +02:00
Christophe Maudoux
9a847e62f7 Fix typo 2018-08-29 18:51:20 +02:00
Xavier Guimard
dc60ea7744 $req was missing (fixes: #1484) 2018-07-26 06:49:25 +02:00
Clément OUDOT
e0ea7ae2c0 SAML CDC (#1477) 2018-07-18 10:31:54 +02:00
Xavier Guimard
22e5eb6986 Remove SAML redirection screen (#1465) 2018-07-18 08:02:48 +02:00
Xavier Guimard
c118a60c1e Fix "cancel" feature (#1461) 2018-07-10 11:43:36 +02:00
Xavier Guimard
1da367576e Reinitialize choice when module failed (#1461) 2018-07-06 16:07:25 +02:00
Xavier Guimard
0f7b3ca71d make tidy 2018-07-05 23:00:40 +02:00
Xavier Guimard
b2620c2679 s/datas/data
datas => des données
data => les données
2018-07-05 22:56:16 +02:00
Xavier Guimard
1a6f717dfc Use pdata in Choice (#1461) 2018-07-05 22:05:24 +02:00
Clément OUDOT
338b958709 Auto select SAML IDP if only one defined (#1465) 2018-07-02 11:45:26 +02:00
Xavier Guimard
1cd5a706c9 Avoid session conflict between Issuer and Auth OIDC (#1468) 2018-06-30 07:51:22 +02:00
Xavier Guimard
a5cc73a54c Avoid session conflict between Issuer and Auth CAS (#1468) 2018-06-30 07:44:05 +02:00
Clément OUDOT
ece95d3da2 IDP choice template (#1465) 2018-06-29 17:51:39 +02:00
Xavier Guimard
e6ad687618 Change session key names between Auth and Issuer (SAML #1468) 2018-06-29 06:50:31 +02:00
Xavier Guimard
8596b339e8 Use build_urlencoded everywhere (#1461) 2018-06-26 19:13:06 +02:00
Clément OUDOT
afab4bb71c Force utf8 conversion for Facebook datas (#1322) 2018-06-23 08:32:55 +02:00
Clément OUDOT
8a4adfd384 Configure Facebook user field (#1322) 2018-06-22 18:16:24 +02:00
Clément OUDOT
7eb24abe3c Configure Twitter user field (#1322) 2018-06-22 17:44:41 +02:00
Xavier Guimard
50eaf5b507 Bad rewrite from 1.9 to 2.0 (#1327 #595) 2018-06-22 13:11:38 +02:00
Xavier Guimard
524cd2eb05 Catch also SLO urls (#1449) 2018-06-22 13:08:18 +02:00
Xavier Guimard
4ebcae3e15 Tidy 2018-06-21 21:35:16 +02:00
Clément OUDOT
9dfe054e64 Fix CAS proxy code (#1224) 2018-06-19 16:47:09 +02:00
Xavier Guimard
21f588153e Fix #1342 2018-06-18 23:19:33 +02:00
Clément OUDOT
effacef11d Load the correct CAS server list (#1453) 2018-06-14 11:52:15 +02:00
Xavier Guimard
f5b3617ad9 Typo errors (#1162) 2018-06-13 21:18:15 +02:00
Clément OUDOT
85e1983b90 Fix URL construction in CAS client (#1451) 2018-06-13 12:23:03 +02:00
Xavier Guimard
f042af3ab0 Optimize URL escape calls (#595) 2018-05-18 16:40:01 +02:00
Xavier Guimard
dfcd8486d2 Optimize URL escape calls (#595) 2018-05-18 16:34:59 +02:00
Xavier Guimard
887695c254 Use Lemonldap::NG::Common::FormEncode (#1243)
@clem_oudot: could you check this ?
2018-05-18 13:41:29 +02:00
Xavier Guimard
c673be7cf2 Set some default values in Attributes.pm (#595) 2018-04-30 18:06:15 +02:00
Xavier Guimard
e89db33b5e Remove Auth::Yubikey (#1399) 2018-03-20 18:45:57 +01:00
Xavier Guimard
396fc2362b Missing verification (#595) 2018-03-20 11:03:57 +01:00
Xavier Guimard
b24503b636 Don't reuse Kerberos ticket (#1389) 2018-03-13 15:04:19 +01:00
Xavier Guimard
3383a68a25 Tidy 2018-03-13 07:14:01 +01:00
Xavier Guimard
6a752a1a4b Move Auth::Base to Main::Auth 2018-02-19 22:11:43 +01:00
Xavier Guimard
d054288bc4 Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-02-12 10:00:16 +01:00
Xavier Guimard
584169d88c Set kerberos=0 in form when using Ajax (#1366) 2018-02-08 22:31:41 +01:00
Xavier Guimard
1251ae42e7 Typo 2018-02-08 15:20:51 +01:00
Xavier Guimard
6547aaa20c Rearrange doc 2018-01-23 23:08:22 +01:00
Xavier Guimard
6106f37fac Fix "refresh" feature for Choice
Fixes: #1339
2017-12-18 10:40:07 +01:00
Xavier Guimard
7f0ff6d0d8 Replace Jira by GitLab 2017-11-11 14:06:23 +01:00
Clément Oudot
17fbd6370e Add some debug message (#707) 2017-11-06 15:19:08 +00:00
Clément Oudot
8a07f47e77 Add krbRemoveDomain parameter (#707) 2017-11-06 15:19:06 +00:00
Clément Oudot
fbc30e13d8 Set hidden form value at correct step to allow fail back (#707) 2017-11-06 11:25:55 +00:00
Clément Oudot
9b7ef2d980 Some work on Facebook auth module (#595) 2017-11-02 18:09:31 +00:00
Clément Oudot
efb2fc2397 Fix Twitter auth code for 2.0 (#595) 2017-11-02 15:43:37 +00:00
Clément Oudot
f261c20520 Fix Twitter Auth module (#595) 2017-10-31 09:00:41 +00:00
Xavier Guimard
7558413c88 Typo (#595) 2017-10-30 22:09:30 +00:00
Clément Oudot
80db34a4f2 Remove unused 'no strict subs' (#595) 2017-10-30 13:47:39 +00:00
Xavier Guimard
38df1cff91 Better Lasso import (#595) 2017-10-26 09:16:44 +00:00
Xavier Guimard
46364da414 Move some HTML fragments to templates (#1302) 2017-10-10 11:04:40 +00:00
Clément Oudot
a7401b72f6 Fix from_json methods (#1303) 2017-09-28 12:52:14 +00:00
Xavier Guimard
fc582377ff Clean SAML storage code (#1305) 2017-09-27 05:00:00 +00:00
Xavier Guimard
10177b4bfd Default storage values (may fix #1305) 2017-09-26 20:15:50 +00:00
Xavier Guimard
2787c33c01 Revert r6726 (#1305) 2017-09-26 19:54:45 +00:00
Xavier Guimard
69ece7740d Update debian/control 2017-09-26 19:11:04 +00:00
Xavier Guimard
89f5783d16 More tests (#1305) 2017-09-26 17:50:38 +00:00
Clément Oudot
c5368caac2 Manage CAS logout service (#1298) 2017-09-11 15:26:44 +00:00
Xavier Guimard
6827b4e485 Fix #1282: conf parser didn't check unopened combModules node 2017-07-30 08:20:15 +00:00
Clément Oudot
67a878653d LinkedIn authentication module for 2.0 (#1243) 2017-06-23 14:25:22 +00:00
David COUTADEUR
80f5d06e82 perl tidy 2017-06-23 09:57:07 +00:00
Xavier Guimard
d9dcc98f11 Fix Choice (fixes: #1217) 2017-04-25 08:11:16 +00:00