Commit Graph

1671 Commits

Author SHA1 Message Date
Christophe Maudoux
5e73cab1b1 Include afterData step after SecondFactor. Required for GrantSession & BruteForceProtection plugin 2018-10-05 22:20:31 +02:00
Christophe Maudoux
5a832b57a7 Remove unuseful Perl version directive 2018-10-05 21:36:13 +02:00
Christophe Maudoux
b2be6dca25 Improve code ;-) (#1507) 2018-10-05 19:36:56 +02:00
Christophe Maudoux
8fbdf29c8a Rename plugin (#1507) 2018-10-04 18:41:03 +02:00
Christophe Maudoux
3f780cf5cc perltidy (#1507) 2018-10-03 22:45:12 +02:00
Christophe Maudoux
0b09f7a130 Cleaning code (#1507) 2018-10-03 22:44:38 +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
Xavier Guimard
2ac66fc1d7 Missing "with" #1500 2018-10-03 22:01:13 +02:00
Xavier Guimard
29d00823e5 Factor loadPlugin override (#1500) 2018-10-03 21:48:57 +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
bcdd461f0b Improve unit test (#1510) 2018-10-02 20:29:43 +02:00
Clément OUDOT
702faf0b49 Option to use an SAML attribute as user (#1512) 2018-10-02 16:04:24 +02:00
Christophe Maudoux
a1cb06cfa9 Append debug message (#1510) 2018-10-01 22:46:28 +02:00
Christophe Maudoux
e3d674cf05 Fix mistake (#1510) 2018-10-01 19:53:21 +02:00
Christophe Maudoux
78b486ee8e WIP - Fix grantSession rules creation from manager & message display (#1510) 2018-10-01 19:43:16 +02:00
Christophe Maudoux
5fca77fbbf WIP - Fix grantSession rules creation from manager (#1510) 2018-10-01 16:20:30 +02:00
Christophe Maudoux
8890aa05f7 Fix conf parameter name (#1510) 2018-10-01 15:20:41 +02:00
Christophe Maudoux
c3ccbd77c3 Cleaning code (#1506) 2018-09-30 21:16:29 +02:00
Christophe Maudoux
9387ed9778 Append unit test (#1506) 2018-09-28 23:04:03 +02:00
Christophe Maudoux
b712c80a17 Append debug msg (#1506) 2018-09-28 20:08:54 +02:00
Christophe Maudoux
04d04c30bc Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-09-28 20:02:55 +02:00
Christophe Maudoux
d4eb025de3 Append BruteForceProtection (#1506) 2018-09-28 19:50:01 +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
Clément OUDOT
9de86c39fa Use pdata choice first (#1461) 2018-09-27 15:12:38 +02:00
Xavier Guimard
86b2a89912 Enable WSDL server (fixes: #8) 2018-09-26 20:51:53 +02:00
Xavier Guimard
051b9d2114 Typo #8 2018-09-26 07:32:28 +02:00
Xavier Guimard
999569c170 Provide WSDL in 2.0 (#8)
To use it, set "wsdlServer=1" in lemonldap-ng.ini
2018-09-26 07:28:29 +02:00
Xavier Guimard
ee654609e1 #8 skeleton 2018-09-25 06:55:17 +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
587fdfe708 Append BrutForceProtection unit test (#1506) 2018-09-22 22:34:14 +02:00
Christophe Maudoux
b50dd45325 Fix typo (#1506) 2018-09-22 21:27:11 +02:00
Christophe Maudoux
c2b6196f49 Avoid compilation warning (#1506) 2018-09-22 20:37:34 +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
44c6a439c0 Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-09-12 23:14:43 +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
Clément OUDOT
800f0bd96a Do not create server error on SAML error (#1502) 2018-09-11 11:07:23 +02:00
Clément OUDOT
c66009d645 Add some debug logs (#1478) 2018-09-11 10:03:09 +02:00
Christophe Maudoux
1791747281 WIP - Fix login history update (#1501) 2018-09-10 23:21:40 +02:00
Christophe Maudoux
1a92df05e7 Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-09-09 23:20:24 +02:00
Christophe Maudoux
73e339c119 WIP - Fix login history storage (#1501) 2018-09-09 23:20:12 +02:00
Clément OUDOT
1f215987c2 Restore possibility to have a custom choice module logo 2018-09-07 20:11:36 +02:00
Xavier Guimard
4c1434dfeb Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-09-05 22:25:41 +02:00
Xavier Guimard
841c5ba504 Improve Debian autopkgtest tests 2018-09-05 22:24:23 +02:00
Christophe Maudoux
b23f96e268 Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-09-05 21:20:38 +02:00
Christophe Maudoux
06ce4a0ce3 Append debug msg 2018-09-05 21:14:39 +02:00
Xavier Guimard
10ed38bd3a Optimize notifications (#1497) 2018-09-05 13:35:50 +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
Christophe Maudoux
d08776b0ca Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-09-04 21:38:41 +02:00
Christophe Maudoux
9ef7c051a4 Change inheritance links to be more consistent with Plugins architecture 2018-09-04 21:05:08 +02:00
Christophe Maudoux
f51c11e507 Fix comment 2018-09-04 21:02:57 +02:00
Clément OUDOT
5d0e0d9b60 Fix call to updatePersistentSession (#1498) 2018-09-04 17:58:32 +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
f1b912a802 Add delCookie method 2018-09-04 14:21:31 +02:00
Xavier Guimard
9ed4303db1 Don't fail on init() if DBI connection fails (#1496) 2018-09-04 09:57:05 +02:00
Xavier Guimard
5d05292c84 More info in logs #1496 2018-09-04 09:50:48 +02:00
Xavier Guimard
e001d4f8ef Don't populate ->error if LDAP connection fails
Fixes: #1496
2018-09-04 09:39:21 +02:00
Xavier Guimard
9beaac9c85 Improvements (#1496) 2018-09-04 07:08:46 +02:00
Xavier Guimard
76768d8e21 Fix error introduced in 248b81ad 2018-09-02 17:38:40 +02:00
Xavier Guimard
62d5c7836c make tidy 2018-09-02 17:31:58 +02:00
Christophe Maudoux
522d8a886c Check 2F name 2018-08-31 19:10:35 +02:00
Christophe Maudoux
095b1d2531 Append parameter test & error msg 2018-08-30 19:45:35 +02:00
Christophe Maudoux
248b81ad0e Add error msg 2018-08-29 19:49:08 +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
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
Christophe Maudoux
329962e4a4 Fix typo & mistake 2018-08-29 12:42:34 +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
07b98fbd1f Typo 2018-08-27 19:00:03 +02:00
Christophe Maudoux
e4b69766d8 Fix mistake 2018-08-26 22:06:44 +02:00
Christophe Maudoux
bccf31fa02 Modify sfa_manager icon & related files (#1493) 2018-08-25 11:47:10 +02:00
Christophe Maudoux
c84bc72436 Hidde warning and improve debug msg 2018-08-21 17:37:14 +02:00
Christophe Maudoux
a0f1abeeb0 Cleaning unused code 2018-08-21 16:10:12 +02:00
Christophe Maudoux
0a14da298d Append unknownAction error + minor improvements 2018-08-20 11:36:23 +02:00
Christophe Maudoux
71f51926c0 Add comment 2018-08-18 23:15:38 +02:00
Christophe Maudoux
8954c67be9 clean unused code 2018-08-18 23:15:17 +02:00
Christophe Maudoux
ee9b3bdf2c Fix comments 2018-08-18 18:29:45 +02:00
Christophe Maudoux
d1dd7e10eb Cleaning unused code 2018-08-18 18:29:14 +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
Xavier Guimard
bf7d85532d Replace bool by boolOrExpr for sfRequired + partial revert (#1487) 2018-08-15 20:42:08 +02:00
Christophe Maudoux
3ffc5c7410 Fix code 2018-08-13 23:14:42 +02:00
Christophe Maudoux
bf385a84ce Fix code 2018-08-13 23:05:57 +02:00
Christophe Maudoux
7f09e1f960 If just one 2F is enabled, redirect to it (#1487) 2018-08-13 22:12:51 +02:00
Xavier Guimard
6e8efac7d0 Display an explanation (#1487) 2018-08-10 20:56:01 +02:00
Xavier Guimard
4ef9fa374a Add sfRequired option (#1487) 2018-08-09 08:21:09 +02:00
Christophe Maudoux
6799ca9281 WIP - Fix debug message (#1480) 2018-08-08 23:46:15 +02:00