Commit Graph

2918 Commits

Author SHA1 Message Date
Clément OUDOT
438d5bcbaf Revert patch on GrantSession plugin (#1666) 2019-03-18 21:35:02 +01:00
Clément OUDOT
4166ae6d90 Merge branch 'v2.0' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng into v2.0 2019-03-18 21:29:31 +01:00
Clément OUDOT
9798c78068 Remove userData if authentication fails (#1666) 2019-03-18 21:29:15 +01:00
Christophe Maudoux
d412f3d807 Update version (#1666) 2019-03-18 17:14:22 +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
627548e95d Display authentication error on login form (#1666) 2019-03-18 11:41:41 +01:00
Xavier Guimard
b7a78b500e Merge remote-tracking branch 'maxbes/proverc' into v2.0 2019-03-14 17:27:31 +01:00
Maxime Besson
7c16a2f7ad Exclude .proverc from manifests 2019-03-14 16:57:08 +01:00
Maxime Besson
f46260204c Provide configuration for manual launching of unit tests
This commit adds a .proverc configuration in lemonldap-* subdirectories

It allows you to run unit tests easily during development

    make clean && make
    cd lemonldap-ng-portal
    prove t/my-unit-test.t
    prove -v t/my-unit-test.t
    prove t/*.t

You'll get a nice colored output, plenty of details with '-v' (great is
you set logLevel to "debug" in the test), etc.
2019-03-14 16:38:40 +01:00
Xavier Guimard
8941ee4dd5 Merge branch 'v2.0' 2019-03-14 14:57:39 +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
Clément OUDOT
f6a3b527c8 Process SAML request to get current SP in env (#1672) 2019-03-12 16:52:01 +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
e1aa654bbb Display session at first access (#1658) 2019-03-12 10:00:23 +01:00
Christophe Maudoux
772b82cd94 Improve unit test (#1664) 2019-03-11 22:53:58 +01:00
Christophe Maudoux
d39078f29b Fix specific use cases with rules (#1664) 2019-03-11 22:07:38 +01:00
Maxime Besson
257d329151 Fix display of ok/nok image during multi-sp saml logout 2019-03-11 18:13:06 +01:00
Clément OUDOT
8cd579f19f Add a waiting message for Kerberos/SSL workflow (#1670) 2019-03-11 16:36:32 +01:00
Clément OUDOT
145db1cf60 Fix regexp for portal default condition (#1669) 2019-03-11 12:01:16 +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
30c0f2edf0 Improve code (#1658) 2019-03-10 22:01:55 +01:00
Christophe Maudoux
30081e9971 Fix unit test (#1658) 2019-03-09 23:52:25 +01:00
Christophe Maudoux
be28b60e66 Append identities rule (#1658) 2019-03-09 23:29:10 +01:00
Christophe Maudoux
7e1119a88d Fix mistake & typo (#1664) 2019-03-09 23:27:54 +01:00
Christophe Maudoux
bf8040a78a Fix empty submitted value (#1664) 2019-03-09 21:31:49 +01:00
Christophe Maudoux
049df70e53 Erase sessionInfo if spoofed identity is not allowed (#1664) 2019-03-09 13:18:39 +01:00
Christophe Maudoux
dfd286c9fa Compute spoofed session with real and spoofed attributes (#1664) 2019-03-09 13:05:44 +01:00
Christophe Maudoux
09281f8d22 Append identities rule and fix error catching (#1664) 2019-03-08 11:39:19 +01:00
Christophe Maudoux
bea84c8847 Typo (#1664) 2019-03-07 23:39:50 +01:00
Christophe Maudoux
b368925323 Typo (#1658) 2019-03-07 23:39:37 +01:00
Xavier Guimard
77301e70ca Merge branch 'v2.0' 2019-03-07 22:29:34 +01:00
Xavier Guimard
bc2bef4ff4 Please use our .perltidyrc 2019-03-07 18:22:58 +01:00
Maxime Besson
bfc2b7ca19 Make meta tags slightly more xml friendly 2019-03-07 18:20:05 +01:00
Xavier Guimard
c3f5960452 Improvements + API calls
@maudoux: could you review this?
2019-03-07 18:15:48 +01:00
Christophe Maudoux
a9b0298624 Fix using attributes (#1658) 2019-03-07 17:15:03 +01:00
Christophe Maudoux
09996f9894 Improve unit test (#1667) 2019-03-07 15:23:57 +01:00
Christophe Maudoux
cc04740252 Fix userControl (#1667) 2019-03-07 15:19:04 +01:00
Christophe Maudoux
ef4f1fb0bf Fix test submitted user param (#1667) 2019-03-07 10:47:14 +01:00
Christophe Maudoux
e0204c6a79 Test submitted user param (#1667) 2019-03-06 23:08:22 +01:00
Christophe Maudoux
cbf84c7ecb Update manifest 2019-03-06 22:31:51 +01:00
Christophe Maudoux
9225d49216 Allow Impersonation with all auth modules (#1664) 2019-03-06 22:31:37 +01:00
Christophe Maudoux
a88fe916f0 Update manifest 2019-03-06 21:29:21 +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
a05f71789e WIP - Fix groups merging (#1664) 2019-03-06 17:59:09 +01:00
Christophe Maudoux
8bc9e50947 WIP - Fix groups merging (#1664) 2019-03-06 17:58:40 +01:00
Christophe Maudoux
13fdc5eda8 Append unit test (#1664) 2019-03-06 17:58:09 +01:00
Christophe Maudoux
a31d26c608 Spoof Authentication and userDB modules (#1664) 2019-03-06 16:30:56 +01:00
Christophe Maudoux
7b08a7c442 Rename idSpoofing plugin to Impersonation & all relative parameters (#1664) 2019-03-06 16:30:56 +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
4be42b06fe Alow DNS or URL (#1658) 2019-03-05 19:36:38 +01:00
Christophe Maudoux
e09c136302 Change fa icon color (#1664) 2019-03-05 15:07:54 +01:00
Christophe Maudoux
e7d1b065b7 Merge SSO groups (#1664) 2019-03-05 14:50:30 +01:00
Christophe Maudoux
ff05a8f797 Modify parameters (#1664) 2019-03-05 14:50:01 +01:00
Christophe Maudoux
782ab4af49 Fix langs (#1658) 2019-03-04 23:12:09 +01:00
Christophe Maudoux
556cfcf355 Fix unit test (#1664) 2019-03-04 22:00:07 +01:00
Christophe Maudoux
8f637658fc Improve template (#1664) 2019-03-04 21:39:46 +01:00
Christophe Maudoux
419489fa08 Improve unit test (#1664) 2019-03-04 21:28:21 +01:00
Christophe Maudoux
c7ddae854c Fix error & not found VH (#1664) 2019-03-04 20:53:39 +01:00
Maxime Besson
58a823c222 Add unit tests for metadata generation 2019-03-04 09:33:12 +01:00
Maxime Besson
e290cd59d6 Fix undef warnings in metadata generation
Fix some undef warnings introduced in
12d2db35a9
2019-03-04 09:33:12 +01:00
Maxime Besson
25d1c45fd4 Add new option to override EntityID when acting as IDP 2019-03-04 09:33:10 +01:00
Christophe Maudoux
bd8cd2ee8f Update manifest 2019-03-03 22:00:56 +01:00
Christophe Maudoux
4e51cc342b Append access rule (#1664) 2019-03-03 21:27:27 +01:00
Christophe Maudoux
286f5b79e3 WIP - Append debug logs (#1664) 2019-03-03 21:27:27 +01:00
Christophe Maudoux
228a37c0d2 WIP - Append parameters (#1664) 2019-03-03 21:27:27 +01:00
Christophe Maudoux
0c59803738 WIP - Append input (#1664) 2019-03-03 21:27:27 +01:00
Christophe Maudoux
2005e27edb WIP - Append parameter translations (#1664) 2019-03-03 21:27:27 +01:00
Christophe Maudoux
f9db9a0258 WIP - Append conf. parameters (#1664) 2019-03-03 21:27:27 +01:00
Christophe Maudoux
3bb7f6e664 WIP - Create session (#1664) 2019-03-03 21:27:27 +01:00
Christophe Maudoux
24ba2889af Update manifest (#1658) 2019-03-03 09:20:12 +01:00
Christophe Maudoux
b5abdee8f3 Append unit test (#1658) 2019-03-03 09:20:12 +01:00
Christophe Maudoux
b18fd9c9fe Fix OTT & minor improvements (#1658) 2019-03-03 09:20:12 +01:00
Christophe Maudoux
c50b86cd51 Append unit test (#1658) 2019-03-03 09:20:12 +01:00
Christophe Maudoux
461120ad65 Typo (#1658) 2019-03-03 09:20:12 +01:00
Christophe Maudoux
2653cfdc9e Fix error (#1658) 2019-03-03 09:20:12 +01:00
Christophe Maudoux
6a0b71b01a Improve display (#1658) 2019-03-03 09:20:12 +01:00
Christophe Maudoux
d78e45cb50 Update langs (#1658) 2019-03-03 09:20:12 +01:00
Christophe Maudoux
1f5c7a83a9 Dispatching attributes (#1658) 2019-03-03 09:20:12 +01:00
Christophe Maudoux
f857f1a8a7 Check access rules (#1658) 2019-03-03 09:20:12 +01:00
Clément OUDOT
6740269cce Restore old login history (#1656) 2019-03-03 09:19:42 +01:00
Clément OUDOT
48b86bd224 Improve log in updateSession (#1656) 2019-03-03 09:19:42 +01:00
dcoutadeur
0eef2220d2 add test to fix 'id_token validity not correctly evaluated' #1662 2019-03-03 09:19:42 +01:00
dcoutadeur
5324da2c15 fix id_token validity not correctly evaluated #1662 2019-03-03 09:19:42 +01:00
Christophe Maudoux
81481aa785 Update manifest (#1658) 2019-03-02 13:12:41 +01:00
Christophe Maudoux
f8160f2130 Append unit test (#1658) 2019-03-02 13:11:56 +01:00
Christophe Maudoux
a41b5fb945 Fix OTT & minor improvements (#1658) 2019-03-02 11:45:59 +01:00
Christophe Maudoux
f3617ef947 Append unit test (#1658) 2019-03-01 21:46:35 +01:00
Christophe Maudoux
a4af486181 Typo (#1658) 2019-03-01 21:46:05 +01:00
Christophe Maudoux
0cd3c12503 Fix error (#1658) 2019-03-01 14:07:26 +01:00