Commit Graph

1402 Commits

Author SHA1 Message Date
Christophe Maudoux
81a5d2552e Make json - Display oidc tab only if not empty 2020-08-25 11:12:48 +02:00
Maxime Besson
c5c6c4ab0c Factor genId2F method into Common 2020-08-17 18:43:29 +02:00
Maxime Besson
4497f39efe Factor psession id calculation into Common 2020-08-17 18:43:29 +02:00
Maxime Besson
26cd1945fb Try to compute the correct value of SameSite by default (#2281) 2020-08-17 18:05:09 +02:00
Maxime Besson
79d0a4c936 Add a new Util module for shared simple functions 2020-08-17 18:05:09 +02:00
Maxime Besson
4ba29f10a7 Merge branch 'fix-cache-dir-2254' into 'v2.0'
Move cache directory to /var/cache (#2254)

See merge request lemonldap-ng/lemonldap-ng!157
2020-08-14 18:34:31 +02:00
Christophe Maudoux
a84b428aa7 Keep _session_kind type with global storage (#2275) 2020-08-13 00:01:07 +02:00
Maxime Besson
2054799baf Move cache directory to /var/cache (#2254)
In order to avoid namespace issues, and for better compliance with the
FHS.

Only the default configs are changed.
2020-08-10 15:15:32 +02:00
Maxime Besson
5788d18a7a convertConfig: be a little more explicit (#2214) 2020-07-13 16:47:28 +02:00
Clément OUDOT
f806e82849 Possibility to modify Syslog options (#2251) 2020-06-25 10:52:07 +02:00
Maxime Besson
d1cbb7263f Remove default value of ldapPort 2020-06-23 17:42:00 +02:00
Maxime Besson
914251d163 Update Build.pm for #2214 2020-06-23 11:29:58 +02:00
Christophe Maudoux
b04b2076de Preserve real_hGroups (#2229) 2020-06-06 23:27:37 +02:00
Maxime Besson
a338ec2a93 Prevent rare concurrency errors during build (#2214) 2020-06-01 12:42:40 +02:00
Maxime Besson
4c21e1cb53 Fix lemonldap-ng.ini error reporting (#2222) 2020-05-27 10:47:28 +02:00
Maxime Besson
4d04d6fde0 File conf backend: fix available regexp
This avoids matching *.rpmnew and so on
2020-05-26 18:37:17 +02:00
Maxime Besson
f22975ff12 convertConfig: use File as current backend by default (#2214) 2020-05-26 18:15:30 +02:00
Maxime Besson
29c8faeded Add constant for default conf storage (#2214) 2020-05-26 18:15:30 +02:00
Maxime Besson
91736a7a5c Improve error message when failing to load conf backend (#2221) 2020-05-26 16:01:01 +02:00
Maxime Besson
0757f0af28 Add manager option for external yubikey ID provisionning (#2189) 2020-05-25 18:57:07 +02:00
Maxime Besson
afe7588c1a Fix doc for #2205 2020-05-25 15:25:52 +02:00
Christophe Maudoux
bb9e03d1e5 Tidy 2020-05-24 00:04:33 +02:00
Clément OUDOT
f00753e5e5 Make manifest 2020-05-22 17:34:27 +02:00
Maxime Besson
8b6ff1a698 Unit test for sessions cli (#2205) 2020-05-18 10:00:48 +02:00
Maxime Besson
a7c66eb2cf Add lemonldap-ng-sessions CLI tool (#2205) 2020-05-18 09:59:37 +02:00
Clément OUDOT
3ebbfae7c6 Do not use arrays in REST sessions (#2190) 2020-05-12 16:05:38 +02:00
Maxime Besson
db9e862843 Merge branch 'feature-userdb-password-restserver' into v2.0 2020-05-09 20:07:24 +02:00
Xavier Guimard
7d50814038 Add polish translation in manager (#2193) 2020-05-09 08:40:28 +02:00
Christophe Maudoux
9bf915b5dc Fix unit tests & Version 2020-05-08 23:03:16 +02:00
Christophe Maudoux
097ddc4251 Fix OIDC default value 2020-05-08 22:06:25 +02:00
Xavier Guimard
894098835c Add missing build dependency to Time::Fake (Closes: RT-132508) 2020-05-06 04:18:06 +02:00
Maxime Besson
c687bb63ec Add manager option for password reset REST endpoint (/#1598) 2020-05-01 13:44:23 +02:00
Maxime Besson
444cacf2de Add option to enable REST auth/userdb server (#1659) 2020-05-01 13:44:00 +02:00
Christophe Maudoux
7014327232 Append an option to display sfManager link (#2185) 2020-04-30 20:50:10 +02:00
Clément OUDOT
ac9769ff69 Prepare release 2.0.8 2020-04-30 19:59:37 +02:00
Christophe Maudoux
763eb04b4b Update tree (#2178) 2020-04-27 20:39:02 +02:00
Maxime Besson
7e502af391 Add option to remove "Refresh my rights" from menu 2020-04-27 17:19:41 +02:00
Xavier Guimard
1a01a96af4 Add String::Random as Common build dependency (Fixes: #2052, RT-131220) 2020-04-26 08:54:17 +02:00
Maxime Besson
00e9e2ec57 Add manager option for additional audiences (#2177) 2020-04-24 11:10:44 +02:00
Christophe Maudoux
6018610196 Make checkUser option rules (#2173) 2020-04-24 00:25:10 +02:00
Maxime Besson
64d023b731 Add manager option for password grant (#2155) 2020-04-23 17:49:25 +02:00
Xavier Guimard
0baf014e6b Revert "Fix part of circular links (related to #1990)"
This reverts commit c9e7f3a1b0.
2020-04-23 12:00:51 +02:00
Xavier Guimard
c9e7f3a1b0 Fix part of circular links (related to #1990) 2020-04-22 14:13:14 +02:00
Maxime Besson
42b650247b Change singleSession options to allow a rule (#2164) 2020-04-22 11:02:59 +02:00
Maxime Besson
51e1d3651e Remove unused singleSessionUserByIP option (#2159) 2020-04-21 10:17:44 +02:00
Clément OUDOT
8a5a93d6ac Fix GitHub parameters in Manager (#2154) 2020-04-18 00:26:24 +02:00
Clément OUDOT
a5eadc49d3 Add GitHub parameters in Manager (#2154) 2020-04-18 00:08:43 +02:00
Christophe Maudoux
c3f7755055 Merge branch 'v2.0' into fix-ssl-error-reporting-2110 2020-04-16 23:05:09 +02:00
Christophe Maudoux
c83f5c203f Make json 2020-04-15 23:25:57 +02:00
Maxime Besson
c645479800 CORS: Add "origin" accessor to portal requests 2020-04-15 18:42:31 +02:00
Maxime Besson
4bcb391121 Add an easy way to set level of additional second factors (#2149) 2020-04-15 17:20:27 +02:00
Xavier Guimard
e0dc4cd454 Fix doc 2020-04-10 10:41:53 +02:00
Xavier Guimard
525750dcf5 Fix doc 2020-04-10 10:40:38 +02:00
Xavier Guimard
b55b6dda7b Add portal Polish translation 2020-04-08 09:09:29 +02:00
Christophe Maudoux
944b0f1c5c Improve unit test & Fix file extension (#2071) 2020-04-07 00:18:45 +02:00
Christophe Maudoux
d56a76584a Retrieve 'allusers' notifications (#2071) 2020-04-06 23:55:04 +02:00
Christophe Maudoux
c0d739a771 Update version 2020-04-05 12:19:05 +02:00
Christophe Maudoux
30f6a889de Append contextSwitching prefix parameter (#1783) 2020-04-03 23:09:55 +02:00
Christophe Maudoux
e11c189141 Remove underscores in notifications reference (#2135) 2020-04-03 22:00:20 +02:00
Christophe Maudoux
71ba189edc Append special characters password policy (#2130) 2020-04-02 12:14:05 +02:00
Christophe Maudoux
b924b96176 WIP - Append PP special characters options (#2130) 2020-04-02 01:03:42 +02:00
Christophe Maudoux
40fb55f3c4 Prevent to die if Custom Functions package is not found (#2121) 2020-03-20 22:31:50 +01:00
Christophe Maudoux
204d804ec0 Revert "Prevent to die if Custom Functions package is not found"
This reverts commit e67c81bdca.
2020-03-20 22:31:02 +01:00
Christophe Maudoux
e67c81bdca Prevent to die if Custom Functions package is not found 2020-03-20 22:25:24 +01:00
Christophe Maudoux
343f64b620 Update version (#2118) 2020-03-19 23:36:48 +01:00
Christophe Maudoux
df522933ef Fix regex (#2118) 2020-03-19 22:21:02 +01:00
Clément OUDOT
0c4932fec1 Use isRequired attribute (#2119) 2020-03-17 16:48:10 +01:00
Clément OUDOT
465b848913 Merge branch 'v2.0' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng into v2.0 2020-03-10 15:43:27 +01:00
Clément OUDOT
162c49300a Fix call to conf (#2089) 2020-03-10 15:43:10 +01:00
Christophe Maudoux
e146ea36fa Display instance name (#2114) 2020-03-10 14:46:02 +01:00
Christophe Maudoux
3ec85e6775 Re-order SAML options 2020-03-02 23:06:38 +01:00
Christophe Maudoux
8753cc4cf6 Option to hide empty headers with CheckUser (#2106) 2020-02-28 22:24:13 +01:00
Christophe Maudoux
e89c017ff6 Increase lock time after each failed login attempt (#2088) 2020-02-24 22:20:40 +01:00
Maxime Besson
53ac31e3c3 CLI: add rollback option (#2103) 2020-02-24 11:58:29 +01:00
Maxime Besson
2c11111547 CLI: make -cfgNum work with "save" command (#2103) 2020-02-24 11:57:56 +01:00
Christophe Maudoux
53d7923cd4 WIP - Increase lock time after each failed login attempt (#2088) 2020-02-23 23:19:32 +01:00
Xavier Guimard
4459a47f76 Tidy 2020-02-20 23:37:05 +01:00
Xavier Guimard
a76cba3856 Update versions 2020-02-20 23:37:01 +01:00
Xavier Guimard
22c1f7270c Add feature to override SOAP Proxy URN (#2100) 2020-02-20 21:49:55 +01:00
Xavier Guimard
8f38ae5263 Fix bad logger initialization (fix: #2097) 2020-02-20 20:18:58 +01:00
Christophe Maudoux
15c12346ab Hide persistent session attributes & Improve unit tests (#2093) 2020-02-14 16:21:31 +01:00
Maxime Besson
ec377f4bf1 Avoid overwriting new session ID with existing info (#2090) 2020-02-13 18:53:44 +01:00
Christophe Maudoux
4da346b104 Merge branch 'v2.0' into 2071 2020-02-12 22:22:56 +01:00
Christophe Maudoux
c9eb48b59e Fix file extension for notifications (#2089) 2020-02-11 20:14:25 +01:00
Christophe Maudoux
73a0ec9dc6 Toggle buttons (#2071) 2020-02-09 21:55:52 +01:00
Christophe Maudoux
ef01060c54 Update langs (#2071) 2020-02-09 18:30:08 +01:00
Christophe Maudoux
2f04ffcc4a WIP - Notifications explorer (#2071) 2020-02-09 17:47:25 +01:00
Maxime Besson
68be974e51 Add option to compute userdb groups before macros (#1877) 2020-02-05 15:39:45 +01:00
Maxime Besson
402799bafe Fix LDAP notification backend (#2086) 2020-02-04 19:34:32 +01:00
Clément OUDOT
6658ce6635 Set LDAP Bind Password in LDAP Notifications backend (#2086) 2020-02-04 17:27:42 +01:00
Maxime Besson
106634bbcd Improve llng-cli doc (#1902) 2020-01-29 08:56:06 +01:00
Xavier Guimard
766042c3bd Fix bad array hook in PSGI::Router 2020-01-28 15:32:10 +01:00
Xavier Guimard
03a1c495e6 Change default SameSite value to "None" (#2070) 2020-01-20 13:17:10 +01:00
Xavier Guimard
f3f97ccb80 Add sameSite parameter (#2069) 2020-01-20 06:21:09 +01:00
Christophe Maudoux
583bbbe285 Append CSP frame-ancestors option & Improve unit test (#2068) 2020-01-15 16:09:57 +01:00
Christophe Maudoux
d31205aa1a Improve CLI unit test (#2059) 2020-01-14 22:46:43 +01:00
Christophe Maudoux
27b0b7fde4 Append Custom backend & Improve unit test (#1605) 2020-01-10 17:48:49 +01:00
Soisik Froger
ab969382f2 Merge remote-tracking branch 'upstream/configuration-api' into configuration-api 2020-01-06 08:25:23 +00:00
Christophe Maudoux
aa7df251b7 Remove useless parameters (#1605) 2020-01-04 22:19:21 +01:00
Xavier Guimard
778ade2636 Update prove states 2020-01-04 08:40:20 +01:00
Maxime Besson
4c85903235 Fix manager display issue in SAML macros (#2051) 2019-12-27 13:12:55 +01:00
Christophe Maudoux
931cdc611d Catch error and Improve parameter tests & Improve unit test (#2049) 2019-12-23 21:37:40 +01:00
Christophe Maudoux
d4372eaeb2 Fix month value (#2049) 2019-12-23 16:56:35 +01:00
Christophe Maudoux
2954ea2abc Disable compactConf by default & Update unit tests (#2046) 2019-12-22 13:06:10 +01:00
Christophe Maudoux
fd015301a5 Typo & make minify 2019-12-21 18:20:15 +01:00
Clément OUDOT
7d13400be4 Update version in modules 2019-12-21 16:33:39 +01:00
Clément OUDOT
458d353af8 Merge branch 'v2.0' into dcoutadeur/lemonldap-ng-certificate-reset 2019-12-21 16:19:49 +01:00
Clément OUDOT
983af4dec1 make json (#1605) 2019-12-21 16:13:32 +01:00
Clément OUDOT
9a8789e86a Add new parameters in Manager (#2003) 2019-12-21 12:30:39 +01:00
Christophe Maudoux
0616c99519 Append API to retrieve all existing notifications & Improve unit test (#2012) 2019-12-20 21:39:03 +01:00
Clément OUDOT
ace32efe4a Change defaut value for cspFormAction (#2024) 2019-12-20 16:07:52 +01:00
dcoutadeur
a465a5d768 Reset Certificate module for v2.0.7 (#1605) 2019-12-19 19:10:32 +01:00
Christophe Maudoux
9ee6cbd60e Append API to retrieve all pending notifications (#2012) 2019-12-19 17:58:54 +01:00
Christophe Maudoux
a19bc1ff96 Prevent to store notifications with time & Improve unit tests (#2012) 2019-12-18 21:53:44 +01:00
Soisik Froger
29862ae678 Merge remote-tracking branch 'upstream/configuration-api' into configuration-api 2019-12-17 10:00:41 +00:00
Soisik Froger
7c289e7270 Manager API - Added support for requests using PATCH method - #2034 2019-12-17 08:43:13 +00:00
Maxime Besson
bbef316754 Add manager UI for per-service macros (#2042) 2019-12-16 17:26:35 +01:00
Xavier
c5096e7fc3 Enable tr language 2019-12-11 08:17:57 +01:00
Soisik Froger
edd262caf8 Manager API - Delete method for SAML SP and OIDC RAP - #2034 2019-12-09 19:32:54 +00:00
Clément OUDOT
2e28e90f02 Enable checkTime option by default (#1997) 2019-12-09 20:30:21 +01:00
Soisik Froger
b4c017852a Manager API - update and replace for oidcrp and samlsp #2034 2019-12-09 08:16:21 +00:00
Xavier
5bb6f2fd3b Refresh plugin (#2006) 2019-12-08 17:28:51 +01:00
Clément OUDOT
8f101361bc Custom plugins in Manager (#1590) 2019-12-07 21:30:56 +01:00
Xavier
06c10fd719 Add comment 2019-11-28 23:01:30 +01:00
Christophe Maudoux
1a5daf324b Improve unit tests & debug logs (#2012) 2019-11-25 21:21:05 +01:00
Maxime Besson
f020a27a2c Add function to test if an element is in a list (#2011) 2019-11-22 18:49:02 +01:00
Christophe Maudoux
7324172023 Merge branch 'v2.0' into globalLogout 2019-11-20 21:11:34 +01:00
Xavier
ecca77bb40 Don't fail when parsing a bad session (#1983) 2019-11-20 20:43:55 +01:00
Maxime Besson
adfd86d7fe Add script to convert sessions between backends (#2014) 2019-11-19 17:25:35 +01:00
Christophe Maudoux
ef5d0cde48 Merge branch 'v2.0' into globalLogout 2019-11-18 22:15:54 +01:00
Christophe Maudoux
e20555623e Append defaulCondition option (#2012) 2019-11-18 17:34:56 +01:00
Christophe Maudoux
15711c642e Merge branch 'v2.0' into globalLogout 2019-11-15 21:49:56 +01:00
Christophe Maudoux
632f731774 Allow non array ref with single checkbox and split notification body (#2012) 2019-11-15 21:03:18 +01:00
Christophe Maudoux
7ef9e132c9 Append GlobalLogout plugin (#1999) 2019-11-13 20:56:56 +01:00
Christophe Maudoux
80a1e4bf57 WIP - Append GlobalLogout plugin (#1999) 2019-11-11 22:33:30 +01:00
Christophe Maudoux
da3903ecd5 Don t remove issuer options when conf is compacted (#2002) 2019-11-08 21:50:23 +01:00
Christophe Maudoux
86e7140624 Update version (#1994) 2019-11-05 20:50:15 +01:00
Christophe Maudoux
a44223e358 Append extended function (#1994) 2019-11-05 17:18:23 +01:00
Maxime Besson
713737c11f Add an option to return claims in ID token 2019-11-04 18:27:28 +01:00
Maxime Besson
a52c06e698 Add manager tab for Offline sessions (#813) 2019-11-04 10:47:35 +01:00
Maxime Besson
a386a7502a Allow refresh tokens to be emitted for regular sessions (#813) 2019-11-04 10:44:54 +01:00
Maxime Besson
ea2365cc98 Implement OIDC Offline sessions through refresh tokens (#813) 2019-11-04 10:44:54 +01:00
Christophe Maudoux
c01c26af6a Append option to override Issuer OTT storage (#1993) 2019-10-31 11:40:33 +01:00
Christophe Maudoux
21b1e75a4d Merge branch 'v2.0' into 1988 2019-10-30 16:35:44 +01:00
Christophe Maudoux
009dcb35ae Fix regex order (#1988) 2019-10-27 21:05:35 +01:00
Christophe Maudoux
836add81c0 Parse conf (#1988) 2019-10-27 17:17:58 +01:00
Maxime Besson
4afecb4620 Remove IDP cookie (#1941) 2019-10-17 23:09:03 +02:00
Xavier
9ea62d676b Use tsv::whatToTrace instead of _whatToTrace (#1969) 2019-10-08 22:42:20 +02:00
Xavier
092436259f Remove PATH_INFO hook (#1943) 2019-10-08 22:26:23 +02:00
Maxime Besson
914a760e25 Fix Choice parameter overload in manager (#1962) 2019-10-01 14:50:22 +02:00
Christophe Maudoux
138cfe6edb Append DecryptValue plugin (#1956) 2019-09-30 22:29:49 +02:00
Christophe Maudoux
a219a51e1c Revert "Make manifest"
This reverts commit c00110ed01.
2019-09-30 22:28:55 +02:00
Christophe Maudoux
c00110ed01 Make manifest 2019-09-30 22:26:55 +02:00
Clément OUDOT
b86a8102a1 Fix REST config call for a configuration key (#1960) 2019-09-30 17:33:06 +02:00
Clément OUDOT
27b2f65a1c Update version in Makefile.PL 2019-09-24 11:23:32 +02:00
Christophe Maudoux
84778604fd Typo 2019-09-18 21:01:24 +02:00
Xavier Guimard
3041254ab0 Trailing whitespaces 2019-09-16 18:08:03 +02:00
Xavier Guimard
7a5e1df4d2 Fix some warnings 2019-09-16 17:56:53 +02:00
Xavier Guimard
fe2cc803f7 Restore available() conf (Closes: #1934) 2019-09-16 16:08:19 +02:00
Christophe Maudoux
5615d5b2a3 Append display Slave logo option (#1936) 2019-09-14 22:07:44 +02:00
Christophe Maudoux
9784e75ead Check Slave credential headers (#1935) 2019-09-13 22:21:09 +02:00
Xavier
e50e7d09d1 Update version of (really) modified files 2019-09-12 21:56:49 +02:00
Clément OUDOT
84cea17ced Parameter in Manager (#1928) 2019-09-12 18:42:53 +02:00
Xavier
0b69baa5d8 Update test state (parallel) 2019-09-11 20:59:02 +02:00
Christophe Maudoux
86daaf54f6 Append parameter & update langs (#1925) 2019-09-10 10:15:17 +02:00
Christophe Maudoux
132f42d44c Forbid browsers to store users password & Improve unit tests (#1913) 2019-09-08 19:28:28 +02:00
Maxime Besson
94877793d4 increase clock tolerance during rest secret check (#1923) 2019-09-06 17:45:51 +02:00
Clément OUDOT
a0f9c85913 Define ldapITDS parameter in Manager (#1619) 2019-09-05 17:17:21 +02:00
Clément OUDOT
068ffbe604 Define portalDisplayPasswordPolicy parameter in Manager (#993) 2019-09-05 13:02:51 +02:00
Clément OUDOT
d7262767dc Add local password policy parameters in Manager (#993) 2019-09-05 10:55:08 +02:00
Xavier
a74f676773 Revert "Fix bad hmac (no effect on LLNG itself but bug with future node handler)"
I'll update node handler to avoid breaking change
2019-09-03 23:00:02 +02:00
Christophe Maudoux
56ed8a5724 Append issuersTimeout option (#1916) 2019-09-03 22:52:07 +02:00
Xavier
0642d7aa2f Fix bad hmac (no effect on LLNG itself but bug with future node handler) 2019-09-03 22:09:28 +02:00
Xavier
36ee1b80c2 Use double eval for alarms as recommended by DBI(3) 2019-09-03 06:31:58 +02:00
Xavier
a04bbf15b7 Add timeout for configuration load (#1908) 2019-09-02 23:01:09 +02:00
Xavier
352177b6ea Set a timeout for sessions (#1908) 2019-09-02 23:01:09 +02:00
Christophe Maudoux
873e5084e0 Append "Don t compact conf" option (#1904) 2019-08-31 23:03:17 +02:00
Maxime Besson
d61935ab6e Implement introspection endpoint for access tokens (#1843) 2019-08-29 19:10:51 +02:00
Xavier Guimard
667757a1a8 Update prove state 2019-08-29 11:42:36 +02:00
Xavier Guimard
aeff014f79 Parallel tests 2019-08-29 10:48:55 +02:00
Xavier Guimard
df4e7e7522 Generic fix for issues like #1903 2019-08-28 19:12:29 +02:00
Clément OUDOT
2145483be7 Pass extra args in Combination module (#1903) 2019-08-28 18:22:19 +02:00
Xavier Guimard
1660109e2f Security: use 3-form for open 2019-08-28 11:32:54 +02:00
Xavier
1f2f0240f0 Love Perl (#1863)
TIMTOWTDI
2019-08-28 00:36:18 +02:00
Xavier Guimard
3cc4362873 Fix version 2019-08-27 08:15:44 +02:00
Clément OUDOT
47dc4936ac Replace default LinkedIn scopes (#1890) 2019-08-22 15:08:45 +02:00
Christophe Maudoux
96c5006d9a Fix wrapper (#1885) 2019-08-20 22:36:51 +02:00
Christophe Maudoux
4d583ceb9c Append a custom param to log (#1885) 2019-08-20 22:04:05 +02:00
Christophe Maudoux
d7e7b622ce Disable viewer with default options (#1880) 2019-08-20 17:06:51 +02:00
Maxime Besson
c718e806ed Fix reporting of getMod errors 2019-08-19 17:22:14 +02:00
Christophe Maudoux
1360306b36 Improve viewer default hidden keys 2019-08-19 09:42:30 +02:00
Christophe Maudoux
b1c637cfca Revert "Append a custom param to be logged (#1885)"
This reverts commit 1e838f0487
2019-08-16 15:28:47 +02:00
Christophe Maudoux
1e838f0487 Append a custom param to be logged (#1885) 2019-08-16 15:25:21 +02:00
Christophe Maudoux
78a82dbee9 Override OTT conf. for Upgrade tokens (#1884) 2019-08-15 22:01:44 +02:00
Maxime Besson
2e9f57ab6f Better default behavior for oidcServiceMetaDataIssuer (#1882) 2019-08-13 18:09:59 +02:00
Christophe Maudoux
33e7a05f8a Append parameter to set Manager default route (#1880) 2019-08-08 22:39:09 +02:00
Maxime Besson
15c3b0bbf8 Add Radius second factor (#1847) 2019-08-02 18:03:10 +02:00
Maxime Besson
c1afdbefac Add labels and logos to all 2F providers (#1873) 2019-08-01 17:27:14 +02:00
Christophe Maudoux
ecb3204d38 Append conf parameters (#1851) 2019-07-25 11:59:00 +02:00
Maxime Besson
d82f776df8 Allow multi instanciation of 2F modules (#1860)
This commit adds a manager interface to declare multiple instances of a
single 2F module, in a manner similar to Combination.

An additional portal code reads the `sfExtra` variable to load the
declared modules.

An empty rules means the module will be always active.
2019-07-22 19:30:37 +02:00
Christophe Maudoux
8c776c0c27 Update langs (#1851) 2019-07-21 21:56:09 +02:00
Christophe Maudoux
ca7ebe09f7 WIP - REST service to remove notification (#1851) 2019-07-20 22:25:03 +02:00
Christophe Maudoux
15777cc74a Typo 2019-07-20 16:03:38 +02:00
Christophe Maudoux
27116ca1af Improve unit tests & update version (#1853) 2019-07-19 10:09:07 +02:00
Christophe Maudoux
f515819c61 Fixed for XML request (#1853) 2019-07-19 10:06:23 +02:00
Clément OUDOT
64b091bac1 Do not allow to add a notification with the same reference (#1853) 2019-07-12 18:39:31 +02:00
Xavier Guimard
966eef33ee Fix df96168c error: _example/conf/lmConf-1.json is auto-generated (#1850) 2019-07-10 17:15:40 +02:00
Xavier Guimard
ee3d12d02f Fix warning in Logger::_Duplicate (Fixes: #1842) 2019-07-10 10:41:38 +02:00
Clément OUDOT
d45754d507 Update MANIFEST (#1842) 2019-07-08 14:11:53 +02:00
Christophe Maudoux
36c806fa61 make json 2019-07-07 22:30:24 +02:00
Christophe Maudoux
2aee0467b0 Hide _session_id with CheckUser (#1658) 2019-07-06 22:55:31 +02:00
Christophe Maudoux
2016abd2ee Send pdata cookie to cross domain (#1829) 2019-07-04 21:49:28 +02:00
Xavier
81d18516a8 Fix #1842 tests 2019-07-04 21:26:28 +02:00
Xavier
7aad1563c0 Duplicate userLogger into logger->debug (#1842) 2019-07-04 21:22:06 +02:00
Maxime Besson
6f058fb2fa Add manager manpages to deb 2019-07-03 15:17:16 +02:00
Xavier Guimard
c1137edba8 make tidy with perltidy-20181120 2019-07-02 20:03:40 +02:00
Christophe Maudoux
b94cbe0144 Fix default value (#1825) 2019-07-01 13:28:01 +02:00
Xavier
7ffca14f5a Improve crypto test 2019-06-30 23:11:39 +02:00
Christophe Maudoux
1be79bce4b make json 2019-06-30 19:01:14 +02:00
Christophe Maudoux
a1f5791e06 Merge branch '1783' into v2.0 2019-06-30 19:00:41 +02:00
Christophe Maudoux
06d4faafe1 Merge branch 'v2.0' into 1825 2019-06-30 18:22:39 +02:00
Christophe Maudoux
0f5030e345 Merge branch 'v2.0' into 1783 2019-06-30 18:22:13 +02:00
Clément OUDOT
3f4ceb94f0 Update CLI help (#1832) 2019-06-30 17:51:30 +02:00
Christophe Maudoux
11d2909b0a WIP - Disable persistent sessions storage (#1825) 2019-06-29 21:10:16 +02:00
Christophe Maudoux
897d04ac93 Merge branch 'v2.0' into 1783 2019-06-28 22:05:48 +02:00
Xavier Guimard
43d5139040 Update versions 2019-06-28 17:04:14 +02:00
Xavier Guimard
44a6e25851 Improve cryptographic functions (#1823) 2019-06-28 10:30:37 +02:00
Christophe Maudoux
8ad895c3b8 Merge branch 'v2.0' into 1783 2019-06-27 21:11:56 +02:00
Clément OUDOT
e53129568a Set some default values for lemonldap-ng-cli info (#1827) 2019-06-27 17:29:56 +02:00
Xavier Guimard
45a0b68c3b Disable external entities in XML parsers (Fixes: #1818) 2019-06-26 11:32:10 +02:00
Christophe Maudoux
0b567d6c15 Merge branch 'v2.0' into 1783 2019-06-25 20:23:48 +02:00
Xavier Guimard
390ccb4f5b Fix Apache::Session::REST::get_key_from_all_sessions when using CODE (#1813) 2019-06-25 09:48:15 +02:00
Xavier Guimard
93ccb9fd76 Set Content-Length in Apache::Session::REST requests (#1813) 2019-06-25 09:37:37 +02:00
Xavier Guimard
ddde26fa1c Add searchOn() in Apache::Session::REST (#1813) 2019-06-25 09:18:58 +02:00
Christophe Maudoux
266f2fdf02 Merge branch 'v2.0' into 1783 2019-06-24 23:36:54 +02:00
Xavier
c5d6bc42b6 Add get_key_from_all_sessions in Apache::Session::REST (#1813) 2019-06-24 23:07:34 +02:00
Xavier Guimard
2cb221b4e0 Set cache_depth to 3 in local config cache (Fixes: #1814) 2019-06-24 18:51:15 +02:00
Christophe Maudoux
831a988516 Append conf test (#1783) 2019-06-23 22:55:10 +02:00
Christophe Maudoux
6e029c413f Merge branch 'v2.0' into 1783 2019-06-23 10:19:13 +02:00
Christophe Maudoux
b69ffc0ff8 WIP - ContextSwitching (#1783) 2019-06-21 15:23:06 +02:00
Xavier
50ba6e6144 Install nginx* files for all handlers (Fixes: #1811) 2019-06-20 12:51:00 +02:00
Xavier
c325c55e5c Use only Crypt::URandom for session id (#1808) 2019-06-19 19:14:31 +02:00
Christophe Maudoux
a2ebaf31b1 WIP - AdminImpersonation skeleton (#1783) 2019-06-19 18:13:17 +02:00
Xavier
4a58de0b92 Apache::Session::Generate::SHA256 improvements (#1808) 2019-06-19 08:30:38 +02:00
Christophe Maudoux
9fa11709e6 Append options to use Notifications plugin & set notification reference (#1796) 2019-06-17 22:31:44 +02:00
Christophe Maudoux
c3b3c281ad Hide _2fDevices with REST services 2019-06-16 20:33:34 +02:00
Christophe Maudoux
d6f3dd459a Display message (#1796) 2019-06-16 16:02:48 +02:00
Christophe Maudoux
f514da3c3a Hide _2fDevices with REST services 2019-06-15 22:38:21 +02:00
Christophe Maudoux
fde6ff2cc8 WIP (#1796) 2019-06-14 23:09:32 +02:00
Xavier Guimard
e7bc7b3f4e Add restExportSecretKeys option (#1799) 2019-06-14 08:51:58 +02:00
Xavier
5dc5b88daa Permit to show $_password in REST session server (#1799) 2019-06-14 07:09:55 +02:00
Xavier Guimard
ee95ac786f Workaround for #1655 2019-06-12 09:55:06 +02:00
Christophe Maudoux
b71f678f80 Filter SSO groups to merge (#1791) 2019-06-08 22:08:58 +02:00
Christophe Maudoux
3015faef0e Share functions with Safe (#1717) 2019-06-07 11:26:07 +02:00
Christophe Maudoux
132e57b4b3 Manage CORS headers (#1765) 2019-05-31 17:00:39 +02:00
Xavier
20ef62e4fb Add restore command to cli (#1770) 2019-05-30 10:18:41 +02:00
Xavier
4970787dd6 update doc 2019-05-30 09:48:43 +02:00
Xavier
a09e299b3d Rename dump command to save (#1770) 2019-05-30 09:43:28 +02:00
Xavier
00852d1a66 Add dump() command in cli
Closes: #1770
2019-05-30 09:39:36 +02:00
Xavier Guimard
8fd3f6be90 Merge branch 'issue1521-appmenu' into 'v2.0'
Preserve applicationList key names (#1521)

See merge request lemonldap-ng/lemonldap-ng!76
2019-05-28 22:10:53 +02:00
Xavier
db2ee96bc8 Update versions (#1777) 2019-05-28 22:04:45 +02:00
Xavier
acd6ba50e8 Fix some missing $req (#1777) 2019-05-28 19:52:08 +02:00
Maxime Besson
b12992755f Preserve applicationList key names (#1521)
Previously, every configuration save from the manager would overwrite
applicationList key names to preserve their ordering.

This commit introduces a new "order" key in the JSON config instead.
2019-05-28 15:38:26 +02:00
Xavier Guimard
2da63b7283 Fix bad cache management on configuration saving
Closes: #1754
2019-05-27 16:34:04 +02:00
Christophe Maudoux
535ae3f7be Append ServiceToken TTL option (#1773) 2019-05-26 21:43:13 +02:00
Christophe Maudoux
73fd322e60 Update lemonldap-ng.ini (#1773) 2019-05-26 18:35:03 +02:00
Christophe Maudoux
74c5f50e89 Append option to modify ServiceToken TTL (#1773) 2019-05-26 18:24:08 +02:00
Xavier
a2e78c88c3 Set versions 2019-05-16 20:42:31 +02:00
Maxime Besson
3a8b6da81a Add date and PID to default stderr logger
When using Apache or docker, the default Std logger does not write a
timestamp.

This format (poorly) imitates the error_log format so that LLNG messages
will stand out a little less in apache logs. And so that our docker
users can have timestamped messages
2019-05-16 17:39:20 +02:00
Maxime Besson
2f9c7b787e Change default syslog format to include [level]
The default configuration of syslog/journald in pretty much all
environments does not include the log level in the message

This means that it's hard to know which log messages are important and
which aren't at a glance, especially in `debug` level.

This commit should make debugging a lot easier by default.

Savvy users who need precise control on the syslog format should
probably use Log4Perl
2019-05-16 14:02:37 +02:00
Clément OUDOT
332fb4f9da Update version in module dependencies 2019-05-12 16:22:50 +02:00
Xavier
f3c4ea0afb Tydy 2019-05-11 20:18:43 +02:00
Xavier
000db1536b Update versions 2019-05-11 17:37:56 +02:00
Xavier
8897fd49b3 Don't filter on session_kind with REST (#1742)
Same to do with SOAP
2019-05-11 15:29:29 +02:00
Xavier
2351251c49 #1742 in progress... 2019-05-11 09:32:50 +02:00
Xavier Guimard
1cd50bb353 Fix Auth::Remote session kind (#1742) 2019-05-10 18:02:56 +02:00
Xavier Guimard
55eeb303a2 Verify session kind if given (#1742)
This breaks AuthRemote
2019-05-10 17:35:10 +02:00
Xavier
4ed5c282a2 Fix syntax error 2019-05-10 06:19:54 +02:00
Clément OUDOT
d388461909 Add PKCE option in Manager (#1722) 2019-04-29 17:35:23 +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
Clément OUDOT
06a7c97fd8 Add OAuth2 vhostType (#1146) 2019-04-22 19:10:50 +02:00
Christophe Maudoux
3491adbd3d Upgrade default authentication level (#1699) 2019-04-21 21:30:38 +02:00
Christophe Maudoux
3672d934d9 Set Viewer options by using rules (#1661) 2019-04-21 11:58:13 +02:00
Xavier Guimard
d0e5be2797 Enable Finnish on portal 2019-04-17 17:58:55 +02:00
Xavier Guimard
69fdc95229 Enable german on portal 2019-04-17 17:56:28 +02:00
Xavier Guimard
889c1da46e Enable italian language in default install 2019-04-17 17:16:01 +02:00
Xavier Guimard
5fd9e9d422 Fix boolean values for YAML
Closes: #1684
2019-04-15 11:44:11 +02:00
maudoux
1d08372a8c Sort CAS servers & update langs (#1704) 2019-04-10 21:58:37 +02:00
Antoine ROSIER
f7b296b032 Sorting OIDc (#1704) 2019-04-10 17:06:41 +02:00
Antoine ROSIER
8636da45be Sorting SAML idp (#1704) 2019-04-10 17:06:41 +02:00
Clément OUDOT
ae3a728378 Manage template inclusion when file is not in configured portal theme (#1653) 2019-04-10 15:42:58 +02:00
Xavier
804a996810 Update versions 2019-04-09 22:04:19 +02:00
Xavier
046585020f Allow hashes in Combination module overload (Closes: #1707) 2019-04-09 21:01:55 +02:00
maudoux
02c473c919 Update ConfTree (#1699) 2019-04-05 22:39:58 +02:00
Xavier Guimard
2159957c34 Update versions 2019-04-05 09:54:43 +02:00
maudoux
5b67f1f743 Use rule to enable OTT (#1694) 2019-04-03 23:28:45 +02:00
maudoux
fe248d194d Typo 2019-04-03 22:13:53 +02:00
Xavier Guimard
ece9b21219 Remove trailing whitespaces 2019-04-03 14:15:16 +02:00
Xavier Guimard
141ba96c92 Update version 2019-04-03 13:53:56 +02:00