Commit Graph

438 Commits

Author SHA1 Message Date
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
Xavier Guimard
3203c82ccf Verify CAS with multiple app (#1183) 2017-04-16 09:47:32 +00:00
Xavier Guimard
00423fc223 Fix proxied services in CAS (#1183) 2017-04-15 13:21:33 +00:00
Xavier Guimard
74f780733d Use App ExportedVars if defined (#1183) 2017-04-14 07:40:01 +00:00
Xavier Guimard
22d921698a Add UserDB::CAS (#1183) 2017-04-13 19:36:25 +00:00
Xavier Guimard
d1d57fae22 Adapt CAS "proxy" to new arch (#1183) 2017-04-13 18:54:06 +00:00
Xavier Guimard
1b0d1dbb55 Auth::CAS works (#1183) 2017-04-13 07:28:15 +00:00
Xavier Guimard
7499d1198b Auth::CAS rebuild in progress (#1183) 2017-04-12 21:11:11 +00:00
Xavier Guimard
68707a0b36 Don't store request datas in $self (#1183) 2017-04-11 20:28:01 +00:00
Xavier Guimard
a83a707931 Add Ajax to SSL (closes #1212) 2017-04-11 19:19:59 +00:00
Xavier Guimard
eed489a557 Store CAS attributes for UserDB::CAS (#1183)
@coudot: can you validate this ?
2017-04-11 17:05:02 +00:00
Xavier Guimard
a44dd9b4f6 Optimize url building (#1183) 2017-04-11 17:05:00 +00:00
Xavier Guimard
acf9420c5f Kerberos works !!! (#707) 2017-04-11 12:57:52 +00:00
Xavier Guimard
fafb134e65 Add Kerberos test (#707) 2017-04-06 21:25:41 +00:00
Xavier Guimard
537d41a29b Kerberos in progress (#707) 2017-04-06 20:37:38 +00:00
Xavier Guimard
5210a8edec Add Krb JS (#707) 2017-04-06 20:37:36 +00:00
Xavier Guimard
73194ef2e3 More debug (#707) 2017-04-06 11:44:29 +00:00
Xavier Guimard
ddc1615546 Kerberos-by-Ajax skeleton (#707)
TODO: write javascript
2017-04-06 11:33:12 +00:00
Xavier Guimard
8582c8f7c0 Add "FILE:" to keyTab (#707) 2017-04-05 12:21:21 +00:00
Xavier Guimard
2cd1c1bf44 Init keyTab (#707) 2017-04-05 12:09:58 +00:00
Xavier Guimard
c4b27b9c24 Use PE_BADCREDENTIALS instead of 403 (#707) 2017-04-05 12:02:02 +00:00
Xavier Guimard
6943c49c05 More debug (#707) 2017-04-05 11:59:29 +00:00
Xavier Guimard
9ab046311c Auth::Kerberos skeleton (#707) 2017-04-05 11:54:44 +00:00
Clément Oudot
10cd479de4 Remove ticket from service URL when calling serviceValidate (#1183) 2017-03-29 19:43:10 +00:00
Xavier Guimard
2e59ea441a Replace request management in handler (#1044)
Note: this is a big change, more tests needed
2017-03-28 21:07:49 +00:00
Clément Oudot
552c432fef Remove use of AuthCAS module (#1183) 2017-03-28 18:23:50 +00:00
Xavier Guimard
c761cc5781 Mark some properties "lazy" to be sure conf is intialized (#595) 2017-03-27 16:51:18 +00:00
Xavier Guimard
62528e8b6a Add SAML-SP rule (#1161) 2017-03-22 20:20:30 +00:00
Xavier Guimard
830f15f71d Bad safe usage (#595) 2017-03-22 19:03:49 +00:00
Xavier Guimard
54cab03e06 Avoid warning (#1151) 2017-03-22 18:11:40 +00:00
Xavier Guimard
95d2253bdc Don't ask 2 token validations (Combination with token) 2017-03-22 18:11:36 +00:00
Xavier Guimard
077455e015 Update TODO list 2017-03-22 14:10:21 +00:00
Xavier Guimard
d0467f0802 Restore relayState (#595) 2017-03-20 12:43:57 +00:00
Xavier Guimard
a6c2d72065 Update variable names (#LEMONDAP-1169) 2017-03-19 06:29:35 +00:00
Xavier Guimard
126fdb091c Manage cookie expiration (#1131) 2017-03-15 10:01:29 +00:00
Xavier Guimard
15cf1991bd Reinitialize token when login fails (#1140) 2017-03-14 17:38:50 +00:00
Xavier Guimard
2d7902421a Reinitialize token when login fails (#1140) 2017-03-14 16:52:11 +00:00
Xavier Guimard
a07e92759c Add Auth::PAM (#closes: #1196) 2017-03-14 15:34:10 +00:00
Clément Oudot
efb776a7bf Remove unused icons (#1184) 2017-03-14 14:40:09 +00:00
Xavier Guimard
05a856ebb1 FrontChannel frame for already logged out user (#1194) 2017-03-12 07:36:07 +00:00
Xavier Guimard
ec211da331 OIDC RP logout skeleton 2017-03-11 18:12:03 +00:00
Xavier Guimard
4665c9d2ea Revert r6192 (#595) 2017-03-09 05:44:16 +00:00
Xavier Guimard
dec3eb4feb Error: IdP cookie was not read (#595) 2017-03-08 22:48:55 +00:00
Xavier Guimard
6c0a0b6350 Keep combination state when used with StayConnected (#1131) 2017-03-08 20:56:47 +00:00
Xavier Guimard
3921f07349 Keep combination state with stay connected (#1131) 2017-03-08 20:56:45 +00:00
Xavier Guimard
2fb085b2a6 New "Custom" modules family (closes: #1188) 2017-03-07 17:28:09 +00:00
Xavier Guimard
6344051c75 Update some versions 2017-03-07 06:05:08 +00:00
Xavier Guimard
a065f941ed Security: verify that method is POST for main forms (#595) 2017-03-04 08:36:26 +00:00
Xavier Guimard
96263e0e65 Clean repo 2017-03-03 17:25:03 +00:00
Xavier Guimard
59970dd3d6 Typo (#595) 2017-03-03 12:17:15 +00:00
Xavier Guimard
e2f4de3f9d Missing versions (#595) 2017-02-28 20:53:19 +00:00
Xavier Guimard
7be468841b Add conditional SSLVar (closes: #803) 2017-02-24 06:29:50 +00:00
Xavier Guimard
9f731e3fd7 Little things (closes: #1174) 2017-02-24 05:37:32 +00:00
Xavier Guimard
d7025a2251 Add REST Auth/UserDB/Password backend (closes: #1174) 2017-02-23 21:46:00 +00:00
Xavier Guimard
8c3ff5fb0b Minimize Apache::Session tie/untie (closes: #1173) 2017-02-20 21:00:05 +00:00
Xavier Guimard
ede8f56ef3 Tidy 2017-02-19 11:51:58 +00:00
Xavier Guimard
3e4554ee45 Move some errors from tech logs to user logs (#595) 2017-02-18 14:25:48 +00:00
Xavier Guimard
b6e4d862e3 Add authLogout sub (#1151) 2017-02-16 17:22:03 +00:00
Xavier Guimard
1e7b2c4a39 Add LWP options (closes: #1065) 2017-02-15 15:08:23 +00:00
Xavier Guimard
5a701ff366 Better userLogger (fix: #857) 2017-02-15 14:17:02 +00:00
Xavier Guimard
b829b6c19b Replace userNotice/Error... by userLogger (#857) 2017-02-15 14:16:59 +00:00
Xavier Guimard
d446e15488 Replace userLogger object in Combination 2017-02-15 14:16:53 +00:00
Clément Oudot
1948637f2d Do not search SAML proxy sessions for IDP SSO initiated (#1147) 2017-02-15 08:36:24 +00:00
Xavier Guimard
deb28bc9cb Replace lmLog by logger-> (#857) 2017-02-15 06:41:50 +00:00
Xavier Guimard
8936677deb Avoid info() wrapper (#595) 2017-02-07 17:57:19 +00:00
Xavier Guimard
d74550384b U2F in progress (#1148) 2017-02-07 12:52:56 +00:00
Xavier Guimard
cd894cbc2c Add test for combination (#1151) 2017-02-07 06:21:23 +00:00
Xavier Guimard
a8cb294037 Update combModules key (#1151) 2017-02-06 12:36:27 +00:00
Xavier Guimard
8a3bb7b0f9 Combination override conf (#1151)
TODO: lot of job in the manager...
2017-02-05 23:04:28 +00:00
Xavier Guimard
b78022558d More combination tests (#1151) 2017-02-05 21:12:06 +00:00
Xavier Guimard
afcb39a355 Combination in progress (#1151) 2017-02-05 17:05:33 +00:00
Xavier Guimard
193ac7c260 Combination in progress (#1151) 2017-02-05 13:11:14 +00:00
Xavier Guimard
6cccc434e1 Combination skeleton (#1151) 2017-02-05 12:24:26 +00:00
Xavier Guimard
b78c094518 Remove Auth/BrowserID (see #602) 2017-02-01 10:31:59 +00:00
Xavier Guimard
3db4967853 Radius (#595) 2017-01-30 21:24:44 +00:00
Xavier Guimard
1b806590a5 WebID (#595) 2017-01-30 21:00:54 +00:00
Xavier Guimard
2bc7a6575a Avoid little warning (#595) 2017-01-27 22:40:17 +00:00
Xavier Guimard
abb49f7b39 Translate auth Yubikey (#595)
NB: not verified. @clement, can you test it ?
2017-01-27 06:08:54 +00:00
Xavier Guimard
0c80f00603 Token in register form (#1140) 2017-01-26 21:42:42 +00:00
Xavier Guimard
dab5921d64 Enable _Webform init (#595) 2017-01-25 11:51:30 +00:00
Xavier Guimard
08a02e93b9 Transform messsage into new form (#595) 2017-01-25 06:05:12 +00:00
Xavier Guimard
234551387f Captcha and token in progress (#1140) 2017-01-24 22:05:07 +00:00
Xavier Guimard
a865cea016 Little change (#595) 2017-01-24 05:10:57 +00:00
Xavier Guimard
935109bec1 More doc 2017-01-17 06:30:56 +00:00
Xavier Guimard
dc342e45b7 Auth/Twitter (#595) 2017-01-16 19:45:14 +00:00
Xavier Guimard
ceb767e20d Rearrange LDAP (#595) 2017-01-15 13:18:01 +00:00
Xavier Guimard
069d76051a Repair LDAP + add register (#595) 2017-01-15 08:10:16 +00:00
Xavier Guimard
f7cc7b2b66 More debug (#595) 2017-01-14 08:17:42 +00:00
Xavier Guimard
880be4f6bd Rearrange cookie management (#595) 2017-01-13 14:35:02 +00:00
Xavier Guimard
be1b508652 Avoid some warnings (#595) 2017-01-12 17:44:33 +00:00
Xavier Guimard
4d8c25460f REST in progress (#970) 2017-01-10 16:09:28 +00:00
Xavier Guimard
293f0eea71 Replace build_urlencode to manage old Plack (#595) 2017-01-09 12:55:04 +00:00
Xavier Guimard
10509e2a52 REST in progress (#970) 2017-01-09 06:11:30 +00:00
Xavier Guimard
99d294d7c4 Replace read_body by Plack::Request::content() (#595) 2017-01-07 07:45:36 +00:00
Xavier Guimard
99932aa08c OpenID-2 seems ready (#595) 2017-01-06 06:22:31 +00:00
Xavier Guimard
7805387aff OpenID-2 in progress (#595) 2017-01-05 21:45:34 +00:00
Xavier Guimard
b3f1415626 Add UserDB/OpenID (#595) 2017-01-05 15:19:57 +00:00
Xavier Guimard
f1b6a6c1a8 Add Auth/OpenID.pm (#595) 2017-01-05 13:39:18 +00:00
Xavier Guimard
83c3b50355 Update POD (#595) 2017-01-04 20:51:46 +00:00
Xavier Guimard
a09d12031e Some big changes (#595)
Replace uri_escape by WWW::Form::UrlEncoded
Replace PSGI:Request by inheritance from Plack::Request
2017-01-04 16:36:54 +00:00
Xavier Guimard
937a87c904 Update (c) 2017-01-02 22:21:40 +00:00