Commit Graph

328 Commits

Author SHA1 Message Date
maudoux
1bc519d11d Fix warning (#1694) 2019-04-06 14:09:58 +02:00
Christophe Maudoux
cf36b44162 Cleaning code (#1664) 2019-04-05 20:04:17 +02:00
Christophe Maudoux
2b818a9c02 Append specific ottRule dependency (#1694) 2019-04-05 17:23:09 +02:00
Xavier Guimard
2159957c34 Update versions 2019-04-05 09:54:43 +02:00
Xavier Guimard
ece9b21219 Remove trailing whitespaces 2019-04-03 14:15:16 +02:00
Maxime Besson
d44a042fd5 Revert 8f5fbb077e and change the way logout errors are handled
Relating to issue #1668, the proposed fix works when there is only one
service provider to logout of.

Now that multiple service provider logout is starting to work again on
2.0, we cannot read the remote_ProviderID from the logout object because
it is only filled by lasso when actually building the response.

Instead, we ignore any error that could occur when building the
response, log a warning and show the portal instead. Still better than
an internal server error.
2019-04-03 11:20:24 +02:00
Clément OUDOT
502a32e257 Add unit test and fix code for ppolicy grace (#1691) 2019-04-01 09:58:56 +02:00
Xavier
01ab88ba57 Fix for #1691 2019-04-01 06:52:21 +02: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
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
Xavier Guimard
bc2bef4ff4 Please use our .perltidyrc 2019-03-07 18:22:58 +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
dcoutadeur
3af15b139e fix id_token validity not correctly evaluated #1662 2019-02-28 09:56:21 +01:00
Maxime Besson
12d2db35a9 Add new URLs for SP-only or IDP-only SAML metadata
This commit adds two new URLs:

/saml/metadata/idp : IDP-only metadata
/saml/metadata/sp : SP-only metadata

/saml/metadata keeps providing metadata for all SAML services
2019-02-27 18:14:30 +01:00
Xavier Guimard
c7b4eb5051 tidy with new conf 2019-02-07 09:27:56 +01:00
Xavier Guimard
58fc9c2fad Update versions 2019-02-06 19:30:57 +01:00
Clément OUDOT
8b76218025 Fix error message for ppolicy (#1639) 2019-02-06 11:39:37 +01:00
Xavier Guimard
5886cbe2a0 Tidy 2019-02-05 23:12:17 +01:00
Xavier Guimard
e2b026b7c8 Fix versions 2019-02-05 23:06:18 +01:00
Christophe Maudoux
21206099ce Append display options for SAML IDP (#1637) 2019-02-05 22:39:09 +01:00
Clément OUDOT
c77783eb2f Merge branch 'v2.0' 2019-02-05 18:46:40 +01:00
Xavier Guimard
0ddcaa5dc9 Update versions 2019-02-05 18:44:38 +01:00
Christophe Maudoux
b39e6ce99f WIP - Append relative parameters (#1637) 2019-02-04 23:13:54 +01:00
Xavier Guimard
22a54210dd Merge branch 'fix-plaintext-email' into 'master'
Fix plaintext email

See merge request lemonldap-ng/lemonldap-ng!53
2019-02-01 15:37:00 +01:00
Xavier Guimard
c77317fef7 Update versions 2019-01-31 23:20:57 +01:00
Xavier Guimard
c60ba130b8 Replace rand() by Crypt::URandom::urandom() 2019-01-31 23:16:52 +01:00
Maxime Besson
6890b290b1 Fix plaintext email
For the few of us who like plain text email better.

Before this commit, the mail body would not be correctly pulled from
config, and then the portal would error 500 due to MIME::Entity objects
not having an "attr" accessor, unlike the previously used MIME::Lite
objects
2019-01-30 12:06:05 +01:00
Xavier Guimard
9ebc18ca5d Update version 2018-12-18 13:13:15 +01:00
Xavier Guimard
3cd14656f5 Add "all" trOver in mails (Fixes: #1586) 2018-12-17 21:09:24 +01:00
Xavier Guimard
dc0e173cf2 Fix #1588 2018-12-17 19:34:28 +01:00
Clément OUDOT
28208a5f2d Allow mail template message override (#1586) 2018-12-17 11:50:40 +01:00
Xavier Guimard
f6f1072ef6 Fix double init (#1550) 2018-11-29 21:19:39 +01:00
Xavier Guimard
11857d9f8a make tidy 2018-11-26 14:40:21 +01:00
Christophe Maudoux
3167aaeeb0 Avoid warning msg 2018-11-23 23:10:01 +01:00
Christophe Maudoux
217e4c43f3 Fix display (#1550) 2018-11-23 22:08:06 +01:00
Clément OUDOT
356a588a92 Fix DN encoding issue in LDAP password modification (#1540) 2018-11-14 10:15:28 +01:00
Xavier Guimard
e317d180b9 Fix MailReset for DBI (#1508)
Same todo with other Password::* backends
2018-11-13 11:30:45 +01:00
Christophe Maudoux
1e17506ee1 Fix warning msg (#1532) 2018-10-31 22:46:03 +01:00
Christophe Maudoux
3ac5f0f02b Update Choice.pm 2018-10-30 07:44:04 +01:00
Christophe Maudoux
37c6498e3c Avoid append same URL (#1532) 2018-10-29 22:14:51 +01:00
Christophe Maudoux
52a7f884f6 Append URL test (#1532) 2018-10-29 22:10:49 +01:00
Clément OUDOT
3445b697c0 Set authChoice in request data (#1524) 2018-10-16 17:25:43 +02:00
Clément OUDOT
ce24a05168 Test if Choice condition is not empty (#1500) 2018-10-16 15:10:30 +02:00
Clément OUDOT
ba630d5117 Test if Choice condition is not empty (#1500) 2018-10-16 15:07:56 +02:00
Christophe Maudoux
c031e63f5e Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-10-15 21:14:33 +02:00
Christophe Maudoux
05f207927f Fix syntax error (#1522) 2018-10-15 21:06:08 +02:00
Xavier Guimard
6331338105 Fix warning in inheritance 2018-10-15 20:58:16 +02:00
Clément OUDOT
c5f9a7f95b make tidy 2018-10-12 10:04:03 +02:00
Clément OUDOT
b8e10222f4 Do not stop if one SP or IDP cannot be loaded (#1516) 2018-10-09 19:36:59 +02:00
Xavier Guimard
1ef8c05908 Add "over" feature to choice (#1500) 2018-10-08 16:57:24 +02:00