Commit Graph

530 Commits

Author SHA1 Message Date
Christophe Maudoux
4e53ee31c0 Fix badcredentials display - Improve code (#1536) 2018-11-06 19:49:57 +01:00
Christophe Maudoux
ee40242039 Fix badcredentials display (#1536) 2018-11-06 13:43:07 +01:00
Christophe Maudoux
824ab9a70f Return PE_OK to process $req next step (#1536) 2018-11-06 09:37:40 +01:00
Clément OUDOT
d577fb8ede Store ipAddr in env (#1534) 2018-10-31 17:58:46 +01:00
Christophe Maudoux
3211236904 Set default formAction CSP (#1499) 2018-10-30 20:32:20 +01:00
Christophe Maudoux
aaaa8f54f5 Append debug messages & Fix issue (#1509) 2018-10-23 21:35:44 +02:00
Christophe Maudoux
8ba4d112cc Append debug messages (#1509) 2018-10-22 22:40:20 +02:00
Christophe Maudoux
14391d07d1 Append debug messages (#1509) 2018-10-22 22:28:37 +02:00
Christophe Maudoux
4df8ce2c0e Set formAction CSP from Manager (#1499) 2018-10-18 19:51:50 +02:00
Xavier Guimard
f92a925fee Restore custom messages (#1518) 2018-10-17 10:49:30 +02:00
Clément OUDOT
e269d75789 Do not set -Access-Control-Allow-Origin header when answering Ajax call (#1519) 2018-10-15 14:20:49 +02:00
Clément OUDOT
13320e64a9 Set form-action for SAML Discovery Protocol URL (#1478) 2018-10-12 10:11:51 +02:00
Clément OUDOT
c5f9a7f95b make tidy 2018-10-12 10:04:03 +02:00
Christophe Maudoux
c2da030b95 BruteForceProtection plugin disable by default 2018-10-10 23:12:38 +02:00
Christophe Maudoux
e41a241d05 Append Portal main logo param (#1515) 2018-10-09 22:40:28 +02:00
Christophe Maudoux
7a1117d4c4 Append Portal main logo option in Manager (#1515) 2018-10-08 23:02:59 +02:00
Christophe Maudoux
5e73cab1b1 Include afterData step after SecondFactor. Required for GrantSession & BruteForceProtection plugin 2018-10-05 22:20:31 +02:00
Christophe Maudoux
8fbdf29c8a Rename plugin (#1507) 2018-10-04 18:41:03 +02:00
Christophe Maudoux
e8f67b0f16 Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-10-03 22:40:14 +02:00
Xavier Guimard
0d3cccc491 Fix loadPlugin/loadModule issues in Choice (#1500) 2018-10-03 22:31:28 +02:00
Christophe Maudoux
a82939ee4b WIP - Append PortalForceAuthn plugin (#1507) 2018-10-03 22:22:15 +02:00
Christophe Maudoux
a6c461f7b6 WIP - Rename plugin PortalForceAuthn (#1507) 2018-10-03 21:27:09 +02:00
Christophe Maudoux
85c6ad2498 WIP - Append PortalForceReAuthn (#1507) 2018-10-03 21:07:10 +02:00
Christophe Maudoux
8890aa05f7 Fix conf parameter name (#1510) 2018-10-01 15:20:41 +02:00
Christophe Maudoux
9387ed9778 Append unit test (#1506) 2018-09-28 23:04:03 +02:00
Clément OUDOT
7485e792a5 Store _url and urldc in ->env to use it in Choice rules (#1461) 2018-09-28 10:28:32 +02:00
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