Commit Graph

504 Commits

Author SHA1 Message Date
Christophe Maudoux
1662f471bb WIP - Append brute force attack protection (#1506) 2018-09-28 00:06:17 +02:00
Clément OUDOT
a26d8cfe73 Remove bak file (#1461) 2018-09-27 17:40:13 +02:00
Clément OUDOT
f9d50b4d01 Remember URL in pdata (#1461) 2018-09-27 17:39:36 +02:00
Christophe Maudoux
f808aa93dd WIP - Return PE_WAIT msg & timer (#1506) 2018-09-23 12:52:30 +02:00
Christophe Maudoux
31a689340d Rename BruteForceProtection plugin (#1506) 2018-09-23 11:09:04 +02:00
Christophe Maudoux
f4b17c7c8a Cleaning unuseful code & append comments (#1431) 2018-09-23 11:07:58 +02:00
Christophe Maudoux
312e152bcc Append brutForceProtection plugin (#1506) 2018-09-22 19:26:21 +02:00
Christophe Maudoux
5494fd07fb Improve unit test to check 'failedLogin' history (#1501) 2018-09-22 11:21:37 +02:00
Christophe Maudoux
e7d7ef1e0a FIX logins history display (#1501) 2018-09-22 10:14:29 +02:00
Christophe Maudoux
e65c086af6 Fix login history storage (#1501) 2018-09-21 21:22:29 +02:00
Christophe Maudoux
f321bffd4e Fix failed SFA logins epoch (#1501) 2018-09-12 23:19:50 +02:00
Christophe Maudoux
0ed8dbdde2 Fix logins history update - Failed and Granted Access with and without SFA (#1501) 2018-09-12 23:14:35 +02:00
Christophe Maudoux
1791747281 WIP - Fix login history update (#1501) 2018-09-10 23:21:40 +02:00
Christophe Maudoux
73e339c119 WIP - Fix login history storage (#1501) 2018-09-09 23:20:12 +02:00
Xavier Guimard
841c5ba504 Improve Debian autopkgtest tests 2018-09-05 22:24:23 +02:00
Xavier Guimard
6278398060 Move "afterData" entry point before "buildCookie" and add "endAuth" entrypoint (#1497)
TODO: optimize notifications
2018-09-05 09:22:20 +02:00
Xavier Guimard
f1b912a802 Add delCookie method 2018-09-04 14:21:31 +02:00
Xavier Guimard
9beaac9c85 Improvements (#1496) 2018-09-04 07:08:46 +02:00
Xavier Guimard
62d5c7836c make tidy 2018-09-02 17:31:58 +02:00
Christophe Maudoux
a116cf1141 Fix mistake 2018-08-29 13:25:46 +02:00
Christophe Maudoux
9c509b2c99 Fix typo 2018-08-29 13:16:15 +02:00
Clément OUDOT
46702f3a62 Allow to add URLs in CSP from-action from the request object (#1480) 2018-08-28 18:24:01 +02:00
Christophe Maudoux
bccf31fa02 Modify sfa_manager icon & related files (#1493) 2018-08-25 11:47:10 +02:00
Christophe Maudoux
995bc9b7a1 Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-08-16 09:39:45 +02:00
Christophe Maudoux
b12d6872bb Fix typo 2018-08-16 09:39:27 +02:00
Xavier Guimard
52348ecbb0 Hide some warnings (#1487) 2018-08-15 22:47:23 +02:00
Christophe Maudoux
2f910aa87b Fix mistake (#1480) 2018-08-08 10:19:16 +02:00
Christophe Maudoux
a3ef440fe2 WIP - Append debug message (#1480) 2018-08-08 10:13:58 +02:00
Christophe Maudoux
700f08ad33 Fix mistake (#1480) 2018-08-08 10:09:33 +02:00
Christophe Maudoux
1bebba42c3 WIP - Partial revert and debug messages appended to test (#1480) 2018-08-08 09:51:06 +02:00
Christophe Maudoux
6619e56714 WIP - Add CSP form-action attribute in LLNG conf. Need more tests (#1480) 2018-08-07 23:54:42 +02:00
Xavier Guimard
f7144908e9 Fix CDC (#1477) 2018-08-02 22:00:41 +02:00
Christophe Maudoux
946a3d2bc8 Merge branch 'master' into 1464 2018-07-18 15:49:09 +02:00
Xavier Guimard
3f1ba3440a CDC plugin skeleton (#1477) 2018-07-18 15:44:24 +02:00
Christophe Maudoux
c381ae86b6 WIP - Modify oidcConsents key structure 2018-07-15 22:08:30 +02:00
Christophe Maudoux
4885fce87f WIP - Modify oidcConsents key structure 2018-07-15 21:25:12 +02:00
Christophe Maudoux
fa7c2eb6ca WIP - Modify oidcConsents key structure 2018-07-15 20:48:50 +02:00
Christophe Maudoux
c5685fa56a WIP - Modify oidcConsents key structure 2018-07-15 19:37:59 +02:00
Christophe Maudoux
eff2b66cf2 WIP - Modify oidcConsents key structure 2018-07-15 19:17:48 +02:00
Xavier Guimard
c118a60c1e Fix "cancel" feature (#1461) 2018-07-10 11:43:36 +02:00
Xavier Guimard
8353215adb Add authCancel entry point (#1461)
UNTESTED !!!
@clement_oudot: not enough time to test this morning
2018-07-10 07:11:08 +02:00
Xavier Guimard
1da367576e Reinitialize choice when module failed (#1461) 2018-07-06 16:07:25 +02:00
Xavier Guimard
aa1e9b44d5 Delete pdata on logout (#1461) 2018-07-06 12:15:14 +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
9402f9fff4 Update doc (#1461) 2018-07-05 22:28:26 +02:00
Xavier Guimard
7b1fd1eae7 Escape pdata cookie value (#1461)
This fixes CI failure with Debian/stable
2018-07-05 21:22:47 +02:00
Xavier Guimard
b790270794 Fix issuers use of pdata (#1461) 2018-07-05 18:45:29 +02:00
Xavier Guimard
d0bd437191 Fix some test problems with pdata (#1461) 2018-07-05 17:39:44 +02:00
Xavier Guimard
890ea8aa27 Remember path in issuer requests (#1461) 2018-07-05 15:54:41 +02:00
Xavier Guimard
e0b2797e70 In progress but federation proxy is broken (#1461) 2018-07-05 14:24:22 +02:00
Xavier Guimard
7ce1bd2d08 Trying to use pdata for issuers (#1461) 2018-07-04 22:54:09 +02:00
Xavier Guimard
55cd51f27f Clean $req->pdata when authentication succeeds (#1461) 2018-07-04 17:23:57 +02:00
Xavier Guimard
854cf7be77 Set pdata cookie only if needed (#1461) 2018-07-04 17:23:17 +02:00
Xavier Guimard
8de024ddb6 Prepare cookie storage for #1461 2018-07-04 13:33:20 +02:00
Xavier Guimard
8a56d31a32 Update doc (#1468) 2018-06-30 08:41:45 +02:00
Xavier Guimard
b6154f1ba4 Add ssoMatch sub for OIDC (#1468) 2018-06-30 08:21:48 +02:00
Clément OUDOT
ece95d3da2 IDP choice template (#1465) 2018-06-29 17:51:39 +02:00
Xavier Guimard
33712dcf13 Set ignore system for issuers (#1468) 2018-06-29 14:31:43 +02:00
Xavier Guimard
28aedcd63c Some errors in CAS (#1461) 2018-06-26 21:45:55 +02:00
Xavier Guimard
8596b339e8 Use build_urlencoded everywhere (#1461) 2018-06-26 19:13:06 +02:00
Xavier Guimard
97129a8ea3 Some comments (#595) 2018-06-26 12:08:51 +02:00
Xavier Guimard
9f890f6be9 Spelling errors 2018-06-25 23:17:51 +02:00
Xavier Guimard
2634d4e0dd More comments (#595) 2018-06-25 07:07:13 +02:00
Xavier Guimard
ea551610f5 Avoid failure with SOAP sessions (#1431) 2018-06-23 07:23:16 +02:00
Christophe Maudoux
c24cf2b631 Fix mistake (#1431) 2018-06-22 19:40:18 +02:00
Xavier Guimard
4ebcae3e15 Tidy 2018-06-21 21:35:16 +02:00
Xavier Guimard
2d6156b827 Fix #1460 2018-06-21 17:09:22 +02:00
Clément OUDOT
234a1840c5 Improve OIDC consents screen (#1431) 2018-06-19 20:04:04 +02:00
Christophe Maudoux
4fc9b13535 Add oidc icon and modify modules display order 2018-06-16 22:36:04 +02:00
Christophe Maudoux
7d780ef3c8 Fix mistake (#1431) 2018-06-16 21:05:21 +02:00
Christophe Maudoux
125259e81f Set default displayName value (#1431) 2018-06-16 20:58:51 +02:00
Christophe Maudoux
f7cc28c1e1 Fix oidcConsents display (#1431)
May be broken by perltidy
2018-06-16 19:54:57 +02:00
Xavier Guimard
af42ed9306 Backtrace for #1454 2018-06-15 06:32:43 +02:00
Xavier Guimard
d5d74b93e4 Optimize conf check (#595) 2018-06-14 22:30:22 +02:00
Xavier Guimard
213f674b9e Return psession directly on error (#1452) 2018-06-13 22:17:28 +02:00
Christophe Maudoux
0acc566cfc Add debug info (#1442) 2018-06-12 22:11:51 +02:00
Xavier Guimard
1a2a109025 More debug info (#1449) 2018-06-12 17:56:42 +02:00
Christophe Maudoux
fc233b71ba Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-06-12 12:34:58 +02:00
Christophe Maudoux
506aba052c Fix typo 2018-06-12 12:23:35 +02:00
Xavier Guimard
1a9ec21d00 Use IO::Handle methods (#1148) 2018-06-12 11:45:21 +02:00
Xavier Guimard
79638ec81b afterDatas was not called in 2F (#1148) 2018-06-12 08:38:17 +02:00
Xavier Guimard
019f1e75e8 Uniq status daemon for Nginx (#595)
NB: not uniq for Apache for now
2018-06-11 22:11:18 +02:00
Xavier Guimard
5f31ce63c7 Fix last error (#1422) 2018-05-16 13:22:15 +02:00
Xavier Guimard
be4b0701d2 Missing declaration (#1422) 2018-05-16 11:06:25 +02:00
Xavier Guimard
a994024cf7 Add skipRenewConfirmation parameter (#1422) 2018-05-16 10:45:41 +02:00
Xavier Guimard
e40d8ccc1e CheckState plugin (fixes: #1400) 2018-05-15 21:20:31 +02:00
Xavier Guimard
273e84b342 Clean some Dumper usage (#1416) 2018-05-07 17:17:55 +02:00
Christophe Maudoux
388bd387cf Replace regex by display2fRegisters method 2018-05-01 22:05:06 +02:00
Christophe Maudoux
ed1229800a Display 2fregisters link only if at least a 2f device is registered (#1383) 2018-04-30 23:10:47 +02:00
Christophe Maudoux
d1a1dad442 Update pod 2018-04-29 22:02:26 +02:00
Xavier Guimard
d01a453f4e Avoid little warning (#595) 2018-04-09 22:33:59 +02:00
Xavier Guimard
0623b4f9fe Add ini-only default values in DefaultValues.pm (#595) 2018-04-03 10:23:31 +02:00
Xavier Guimard
3836391adc Fix history bugs (fixes: #1401) 2018-03-21 20:48:31 +01:00
Xavier Guimard
aaaf5cfed4 Restrict CSP form-action to URL scheme (#1384) 2018-03-21 14:52:22 +01:00
Xavier Guimard
c6908b87a2 Yubikey 2nd factor (closes: #1399) 2018-03-20 18:19:53 +01:00
Xavier Guimard
42d53cec63 Typo (#1148 #1359) 2018-03-18 22:55:28 +01:00
Xavier Guimard
c14289bd72 Update 2F doc (#1148 #1359) 2018-03-18 22:53:41 +01:00
Xavier Guimard
ffcc5dbd3e UTOTP auth part works (#1391) 2018-03-18 09:15:23 +01:00
Xavier Guimard
e4b995f6a9 Spelling errors 2018-03-15 21:20:03 +01:00
Xavier Guimard
a1a96f68af Add 2F registration engine (#1148 #1359 #1391) 2018-03-15 07:04:52 +01:00
Xavier Guimard
3383a68a25 Tidy 2018-03-13 07:14:01 +01:00
Xavier Guimard
33c764855d Don't encode + (may fix: #1385) 2018-03-10 09:33:14 +01:00
Xavier Guimard
ac0e35ca38 Update logos (#1148) 2018-03-09 16:51:15 +01:00
Xavier Guimard
5c5556a865 2F choice works (#1148)
TODO: logos
2018-03-09 13:29:39 +01:00
Xavier Guimard
d7ff6407a9 2F in progress (#1148) 2018-03-08 22:24:02 +01:00
Xavier Guimard
06cb8a6e11 2F engine works with 1 2F enabled (#1148) 2018-03-08 20:36:32 +01:00
Xavier Guimard
67a530bc01 Second-Factor-Engine skeleton (#1148) 2018-03-08 16:33:34 +01:00
Xavier Guimard
2c8c70470d Improve doc 2018-03-07 09:51:51 +01:00
Xavier Guimard
b9e2e91844 TOTP Portal part seems finished (#1359)
TODO: Manager attributes
2018-02-20 22:58:20 +01:00
Xavier Guimard
6a752a1a4b Move Auth::Base to Main::Auth 2018-02-19 22:11:43 +01:00
Xavier Guimard
c47a7c0d4f Update POD 2018-02-19 22:07:20 +01:00
Xavier Guimard
705be8f418 Move all second factor plugins in 2F directory 2018-02-19 14:15:29 +01:00
Xavier Guimard
dd87a2b3a7 Remove old menu methods in Lemonldap::NG::Portal::Main::Menu
Fixes: #1367
2018-02-12 18:55:42 +01:00
Xavier Guimard
486b4b0cd9 Typo (#1346) 2018-01-24 22:29:09 +01:00
Xavier Guimard
be86baf4eb #1353 in progress 2018-01-23 23:01:17 +01:00
Xavier Guimard
dfc28adcc3 Skeleton for "useMail" feature in getUser (#1353) 2018-01-22 21:57:48 +01:00
Xavier Guimard
931188b15f More secure skin param check (#1346) 2017-12-20 22:52:52 +01:00
Xavier Guimard
35d7e7e2f5 Check that skin directory exists
Fixes: #1346
2017-12-20 22:48:12 +01:00
Xavier Guimard
47350c0da4 Reinitialize spRules on reload (#1330) 2017-11-12 07:41:42 +01:00
Xavier Guimard
e4ccd51282 Change prefix name for sp rules (#1330) 2017-11-12 07:34:45 +01:00
Xavier Guimard
b03558c504 Finish #1330 2017-11-11 21:16:52 +01:00
Xavier Guimard
7f1ba1f3c4 Skeleton for partner rules in Menu #1330
TODO: JS part
2017-11-11 17:39:24 +01:00
Xavier Guimard
7f0ff6d0d8 Replace Jira by GitLab 2017-11-11 14:06:23 +01:00
Clément Oudot
7b216e614b Allow 0 value in setHiddenFormValue (#1328) 2017-11-06 11:05:09 +00:00
Xavier Guimard
c22966a873 Cache for specific menu app rules (#595) 2017-11-01 08:03:03 +00:00
Xavier Guimard
dd710c306c Use OIDC displayName in tab (closes: #826) 2017-10-31 06:11:32 +00:00
Xavier Guimard
081699b29e AutoSignin works now (#1318)
TODO: doc
2017-10-27 13:11:30 +00:00
Xavier Guimard
ecf374ff53 Fix CAS "url" conflict (#595) 2017-10-26 20:21:15 +00:00
Xavier Guimard
9aac5433d4 Fix #1252 2017-10-26 20:13:10 +00:00
Xavier Guimard
ca399ab539 Menu didn't use resolveAlias() (#1317) 2017-10-24 10:56:21 +00:00
Xavier Guimard
7e29c51c61 Move menu HTML fragment to tpl (#1302) 2017-10-11 10:12:06 +00:00
Xavier Guimard
46364da414 Move some HTML fragments to templates (#1302) 2017-10-10 11:04:40 +00:00
Xavier Guimard
76769f8166 Move HTML::Template calls into Main::Plugin (prepare #1302) 2017-10-10 09:24:08 +00:00
Xavier Guimard
080f4670ec Return 200 for Ajax queries if error is PE_PASSWORD_OK (#1258) 2017-09-22 14:26:07 +00:00
Xavier Guimard
facf676a4c Remove code duplication (#595) 2017-09-19 20:06:33 +00:00
Xavier Guimard
f6cbae3ae5 Little css improvment (#826) 2017-09-19 12:37:57 +00:00
Xavier Guimard
0c35144d82 #826 in progress 2017-09-19 08:08:53 +00:00
Xavier Guimard
b15d82a12b Error in id detection (#595) 2017-09-19 08:08:51 +00:00
Xavier Guimard
d54295fdb0 Fix error in menu tab checking (#595) 2017-09-19 07:24:43 +00:00
Xavier Guimard
c3b2dc878d Ajax to remove OIDC consent (#826) 2017-09-18 20:40:01 +00:00
Xavier Guimard
9b389d90eb OIDC Consents display (#826)
TODO: Ajax to remove a consent
2017-09-15 12:31:42 +00:00
Xavier Guimard
5b5e5db123 OpenID Connect consent skeleton (#826) 2017-09-15 10:32:15 +00:00
Xavier Guimard
ef1a396a21 Test backends before usage (#595) 2017-09-08 10:10:37 +00:00
Clément Oudot
1669a8cc60 Use the correct session parameter for appsListOrder (#1292) 2017-09-04 15:09:28 +00:00
Xavier Guimard
5a6942c6ec Add "rule" for apps in menu (fixes: #1267) 2017-07-17 14:03:45 +00:00
Xavier Guimard
fefd723226 Avoid some warnings 2017-07-11 11:50:21 +00:00
Clément Oudot
01b55fde2c Set _lastAuthnUTime in session (#1248) 2017-06-13 13:03:13 +00:00
Clément Oudot
5f0e997024 Display old password input in password menu tab (#1227) 2017-05-24 17:45:42 +00:00
Xavier Guimard
d7240e038e Fix #852 2017-05-04 07:19:50 +00:00