Commit Graph

692 Commits

Author SHA1 Message Date
maudoux
e4bc7c55d6 Improve unit test (#1664) 2019-04-02 22:08:15 +02:00
Clément OUDOT
a805a5a00b Manage SLO responses (#1671) 2019-04-02 17:27:47 +02:00
Clément OUDOT
502a32e257 Add unit test and fix code for ppolicy grace (#1691) 2019-04-01 09:58:56 +02:00
Maxime Besson
3575e0ef23 Clear url pdata on CDA redirection
Fixes #1650
2019-03-19 19:15:47 +01:00
Clément OUDOT
8a9a5b0b3a New method to override messages with JSON files (#1595) 2019-03-19 17:39:13 +01:00
Clément OUDOT
447c09c0a2 Remove old translation file (#1595) 2019-03-19 15:38:36 +01:00
Clément OUDOT
9798c78068 Remove userData if authentication fails (#1666) 2019-03-18 21:29:15 +01:00
Clément OUDOT
4366488fb6 Adapt GrantSession plugin to display authentication error on login form (#1666) 2019-03-18 11:53:30 +01:00
Clément OUDOT
d620ae2e8b Merge branch 'maxbes/lemonldap-ng-saml-issuer-entityid-override' into v2.0 2019-03-13 10:30:16 +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
Maxime Besson
8f5fbb077e When logout-initiating SP has no known SLO endpoint, fallback to portal
In some federations, SLO endpoints are not published, yet SP are still
able to initiate logouts.

This used to cause an error on the portal, this commit changes the error
into a warning in logs. The user remains on the portal and sees a normal
logout message.
2019-03-12 17:58:41 +01:00
Christophe Maudoux
83603ebee9 Typo 2019-03-12 16:29:38 +01:00
Christophe Maudoux
27d3d165ec Improve unit test (#1658) 2019-03-12 10:24:31 +01:00
Christophe Maudoux
772b82cd94 Improve unit test (#1664) 2019-03-11 22:53:58 +01:00
Maxime Besson
257d329151 Fix display of ok/nok image during multi-sp saml logout 2019-03-11 18:13:06 +01:00
Christophe Maudoux
58ec712481 Fix debug mode (#1658) 2019-03-10 22:58:23 +01:00
Christophe Maudoux
4ae85e2c97 Tidy 2019-03-10 22:55:21 +01:00
Christophe Maudoux
bb79385a84 Improve unit test (#1664) 2019-03-10 22:53:41 +01:00
Christophe Maudoux
19c26e2cd0 Improve unit test (#1658) 2019-03-10 22:53:26 +01:00
Christophe Maudoux
c48fbf8beb Improve unit tests (#1669) 2019-03-10 22:23:12 +01:00
Christophe Maudoux
6dd9105d0a Improve unit tests (#1658) 2019-03-10 22:02:19 +01:00
Christophe Maudoux
30081e9971 Fix unit test (#1658) 2019-03-09 23:52:25 +01:00
Xavier Guimard
bc2bef4ff4 Please use our .perltidyrc 2019-03-07 18:22:58 +01:00
Christophe Maudoux
09996f9894 Improve unit test (#1667) 2019-03-07 15:23:57 +01:00
Christophe Maudoux
6e50f41687 Fix session update (#1664) 2019-03-06 21:29:03 +01:00
Christophe Maudoux
e32e5adf59 Append unit test (#1664) 2019-03-06 21:28:45 +01:00
Christophe Maudoux
e506c5cc58 Using current session if exists (#1664) 2019-03-06 19:26:32 +01:00
Christophe Maudoux
13fdc5eda8 Append unit test (#1664) 2019-03-06 17:58:09 +01:00
Xavier Guimard
26b80873be Modify Try.pm to handle authorizations (#1658) 2019-03-05 21:11:07 +01:00
Christophe Maudoux
6ba5c4b530 Update unit test (#1658) 2019-03-05 19:42:29 +01:00
Christophe Maudoux
556cfcf355 Fix unit test (#1664) 2019-03-04 22:00:07 +01:00
Christophe Maudoux
419489fa08 Improve unit test (#1664) 2019-03-04 21:28:21 +01:00
Maxime Besson
58a823c222 Add unit tests for metadata generation 2019-03-04 09:33:12 +01:00
Christophe Maudoux
f8160f2130 Append unit test (#1658) 2019-03-02 13:11:56 +01:00
Christophe Maudoux
f3617ef947 Append unit test (#1658) 2019-03-01 21:46:35 +01:00
Maxime Besson
756cf38159 Add unit tests 2019-03-01 10:18:57 +01:00
dcoutadeur
ba9dc8863f add test to fix 'id_token validity not correctly evaluated' #1662 2019-02-28 10:37:51 +01:00
Christophe Maudoux
9fafa1d8d5 Override msg with local json files (#1595) 2019-02-20 23:22:56 +01:00
Christophe Maudoux
53eb78c53d Update unit test (#1595) 2019-02-19 23:03:40 +01:00
Christophe Maudoux
a28310956e Append unit test (#1632) 2019-02-16 22:00:25 +01:00
Christophe Maudoux
46f685f9b2 Improve unit test (#1632) 2019-02-14 22:09:59 +01:00
Xavier Guimard
77ccc9bbc3 Skip GPG test if gpg install fails. Fixes debci
See https://bugs.debian.org/922265
2019-02-14 16:39:27 +01:00
Xavier Guimard
095f9c67fd Fix LDAP policy test (Closes: #1639) 2019-02-12 12:00:49 +01:00
Clément OUDOT
0686a0844c Use a DSA account to test ppolicy (#1639) 2019-02-12 09:23:09 +01:00
Xavier Guimard
b3969ba84c Try PE_PP_PASSWORD_TOO_SHORT => fail (#1639) 2019-02-12 09:00:21 +01:00
Clément OUDOT
e7dbc48623 Add password min length policy in slapd test server (#1639) 2019-02-11 21:16:54 +01:00
Xavier Guimard
e728e0f415 Fix test count when TESTLDAP is not set (#1639) 2019-02-11 16:19:35 +01:00
Xavier Guimard
eb9500023e Add test for "lock" (#1639) 2019-02-11 16:12:49 +01:00
Xavier Guimard
e001cc4069 Enable test for "expire" too 2019-02-11 16:03:37 +01:00
Xavier Guimard
3069887a52 Call PasswordDB::LDAP if unauth user requests changing password (#1639) 2019-02-11 15:40:27 +01:00
Xavier Guimard
562526dd89 Improve LDAP reset test (#1639) 2019-02-11 14:26:41 +01:00
Clément OUDOT
6cb587596c Add LDAP password ppolicies in slapd test server (#1639) 2019-02-11 10:34:00 +01:00
Christophe Maudoux
060190758f Improve unit test (#1625) 2019-02-10 22:32:47 +01:00
Christophe Maudoux
d804ce2ba5 Improve unit test (#1625) 2019-02-10 22:29:50 +01:00
Christophe Maudoux
1f11f31532 Improve unit test (#1625) 2019-02-10 11:35:15 +01:00
Christophe Maudoux
e457685e63 Improve unit test (#1625) 2019-02-10 11:17:23 +01:00
Christophe Maudoux
2fcc91f72d Merge branch 'v2.0' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng into v2.0 2019-02-09 23:06:02 +01:00
Christophe Maudoux
64e6c20f9f Improve unit test (#1595) 2019-02-09 23:05:51 +01:00
Xavier Guimard
1293643a76 Materialize failure #1639 2019-02-09 20:59:03 +01:00
Xavier Guimard
759c93b595 Full test for #1639 2019-02-09 20:53:24 +01:00
Xavier Guimard
9208beba38 Test skeleton for #1639 2019-02-09 09:49:21 +01:00
Christophe Maudoux
2ce4e982c9 Error level 2019-02-07 17:21:56 +01:00
Christophe Maudoux
8b995f55bf Restore OpenID activation global rule & Improve unit test (#1625) 2019-02-07 17:21:14 +01:00
Christophe Maudoux
b1048043e9 Restore GET activation global rule & Improve unit test (#1625) 2019-02-07 17:16:29 +01:00
Xavier Guimard
c7b4eb5051 tidy with new conf 2019-02-07 09:27:56 +01:00
Christophe Maudoux
5055b18087 Restore OIDC activation global rule (#1625) & Improve unit test 2019-02-06 23:10:10 +01:00
Christophe Maudoux
f3bbc0e44e Improve unit test (#1625) 2019-02-06 22:54:41 +01:00
Christophe Maudoux
007a5432f9 Restore CAS activation global rule (#1625) 2019-02-06 22:16:34 +01:00
Christophe Maudoux
d0ba478b6e Improve unit test (#1637) 2019-02-06 13:13:24 +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
d4ce3950ad Improve test skips 2019-02-05 10:35:42 +01:00
Christophe Maudoux
29b293395a Improve unit test (#1628) 2019-02-04 19:20:28 +01:00
Christophe Maudoux
8c409fc51d Fix error msg & Improve unit test (#1628) 2019-02-04 17:40:18 +01:00
Christophe Maudoux
7ce7db37af Rename unit test (#1629) 2019-02-04 12:17:10 +01:00
Christophe Maudoux
d14f0ff384 Improve RexEp (#1629) 2019-02-04 12:14:31 +01:00
Xavier Guimard
2a7171381b Accept old gpg syntax (Closes: #1569) 2019-02-03 23:10:12 +01:00
Christophe Maudoux
e41be10a23 Improve RegExp (#1629) 2019-02-03 21:48:49 +01:00
Christophe Maudoux
fcac69fe7a Merge branch 'v2.0' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng into v2.0 2019-02-03 20:05:40 +01:00
Christophe Maudoux
153084118f Fix SSL/Kerberos Auth with Choice & Improve unit tests (#1636) 2019-02-03 20:05:28 +01:00
Maxime Besson
f35a7c305a Add Mail second factor plugin 2019-02-03 14:46:40 +01:00
Christophe Maudoux
a084ba3c84 Improve unit tests (#1605) 2019-02-02 22:23:56 +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
08647bb96a Improve unit test (#1636) 2019-02-02 15:34:24 +01:00
Christophe Maudoux
832d7d87c8 Fix AuthSSL with Choice (#1636) 2019-02-01 23:54:20 +01:00
Christophe Maudoux
96b93a56c1 Partial revert rename parameters (#1605) 2019-01-24 19:45:43 +01:00
Christophe Maudoux
e555e2409b Disable autocompletion in 2FA forms (#1609) 2019-01-09 19:01:49 +01:00
Xavier Guimard
1e3ab69be3 Add minimal Auth::GPG 2018-12-21 16:07:28 +01:00
Christophe Maudoux
f42fbdac16 Improve unit test (#1587) 2018-12-18 11:16:34 +01:00
Christophe Maudoux
3d08f13da4 Improve unit test (#1585) 2018-12-15 16:37:04 +01:00
Christophe Maudoux
e08d0a78e6 Fix unit tests (#1506) 2018-12-13 00:12:49 +01:00
Christophe Maudoux
aa45cf148a Append bruteForce Protection number of allowed failed Login parameter (#1506) 2018-12-12 23:51:33 +01:00
Clément OUDOT
5a0bf72dfd Fix warnings in RPM build (#1559) 2018-11-29 21:36:54 +01:00
Xavier Guimard
74fb013e73 Fix some warnings 2018-11-29 21:19:39 +01:00
Xavier Guimard
02f8c41030 Fix little warnings (#1559) 2018-11-29 17:00:28 +01:00
Christophe Maudoux
7c1162dd1f Improve unit test 2018-11-26 21:59:40 +01:00
Christophe Maudoux
545a6485ae Improve unit test 2018-11-26 21:38:59 +01:00
Xavier Guimard
6aee861c4d spelling errors 2018-11-26 14:41:48 +01:00