Commit Graph

672 Commits

Author SHA1 Message Date
Christophe Maudoux
9ac0b65a91 Append FavApps unit test (#1689) 2019-05-01 12:15:25 +02:00
Christophe Maudoux
409f845dd2 Improve unit test (#1664) 2019-04-30 14:57:45 +02:00
Christophe Maudoux
04aae64a9f Improve unit test 2019-04-29 22:33:11 +02:00
Christophe Maudoux
4f430ca4be Improve unit test 2019-04-29 22:33:11 +02:00
Clément OUDOT
8e6f678be7 Create a configuration option to allow a Relying Party to be a public client
Allow unauthenticated requests on OAuth2 token endoint

#1725
2019-04-29 10:02:16 +02:00
Maxime Besson
2f9e6aa623 Allow override of username attribute for CAS apps
Global CAS options allows the admistrator to set the session attribute
that gets exported to all CAS application as the main identifier
(cas:user)

This commit adds the ability to override this configuration for a
particular CAS application.

OIDC already allows this

Fixes #1713
2019-04-28 21:06:34 +02:00
Maxime Besson
62f16721ff Send username when calling CAS1.0 validation
Fixes #1724
2019-04-28 19:29:54 +02:00
Christophe Maudoux
69444b701b Improve unit test (#1712) 2019-04-16 21:13:02 +02:00
Christophe Maudoux
d9af0529db Improve unit test (#1712) 2019-04-15 23:03:56 +02:00
maudoux
214dc44232 Improve unit test (#1704) 2019-04-13 21:02:47 +02:00
Xavier
bc6f321b60 Don't fail when DBI isn't available. Fixes: RT#129128 2019-04-11 22:29:34 +02:00
Clément OUDOT
c2a4454f93 Add possibility to manually skip GPG test 2019-04-11 12:43:58 +02:00
Clément OUDOT
4db9839850 Fix some warnings in tests 2019-04-11 11:58:21 +02:00
Clément OUDOT
6b2920522d Backport code to run test on CentOS 7 2019-04-11 11:18:22 +02:00
maudoux
41c40cec02 Improve unit test (#1704) 2019-04-10 23:03:17 +02:00
maudoux
74a3b4a242 Improve unit test (#1704) 2019-04-10 22:50:34 +02:00
Xavier
046585020f Allow hashes in Combination module overload (Closes: #1707) 2019-04-09 21:01:55 +02:00
Christophe Maudoux
f1cb8d236e Checkuser case unsensitive for URL only & Improve unit test (1667) 2019-04-09 16:56:00 +02:00
Xavier
0385422d69 Improve #1700 test 2019-04-09 07:16:05 +02:00
Xavier
577d4d0469 Improve #1700 test 2019-04-08 22:30:35 +02:00
Xavier
0ea69bb87d Improve #1700 test 2019-04-08 21:56:35 +02:00
Xavier
ce00317db8 Add AuthBasic test (#1700) 2019-04-08 21:52:59 +02:00
maudoux
046d740109 Fix regex unit tests (#1664) 2019-04-06 21:45:07 +02:00
maudoux
2fabde045b Fix RexExp in unit test (#1694) 2019-04-06 14:09:58 +02:00
Maxime Besson
666e59ad6e Fix #1698 by clearing saml request token on unauth issuer flow
Add some unit tests to make sure relevant pdata is cleared after authentication
2019-04-05 23:27:21 +02:00
Christophe Maudoux
64952d670e Improve unit test (#1664) 2019-04-05 20:02:24 +02:00
maudoux
72bee11c2a Improve unit test (#1694) 2019-04-03 23:27:45 +02:00
Xavier Guimard
ece9b21219 Remove trailing whitespaces 2019-04-03 14:15:16 +02:00
Maxime Besson
4b0994af35 Add unit test for #1668 with multiple SP 2019-04-03 11:20:24 +02:00
Maxime Besson
730da67c44 Add HTTP-Redirect unit test for #1671 2019-04-03 11:20:24 +02:00
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