Commit Graph

1135 Commits

Author SHA1 Message Date
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
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
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
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
Maxime Besson
c718e806ed Fix reporting of getMod errors 2019-08-19 17:22:14 +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
Maxime Besson
2e9f57ab6f Better default behavior for oidcServiceMetaDataIssuer (#1882) 2019-08-13 18:09:59 +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
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
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
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
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
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
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 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
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
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
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
maudoux
b7a826abfd Make json (#1661) 2019-04-01 14:57:41 +02:00
Clément OUDOT
b21696185a Typo in error page HTML code 2019-04-01 10:46:26 +02:00
Xavier
8144ef9132 Fix boolean display with YAML backend (Fixes: #1684) 2019-03-26 22:55:52 +01:00
Clément OUDOT
93ee1bcfa3 Keep LDAP parameters for AD in Choice/Combination (#1676) 2019-03-21 20:02:21 +01:00
Christophe Maudoux
e7f21b2c73 Append Viewer SPA (#1661) 2019-03-15 15:40:08 +01:00
Christophe Maudoux
71fc765d01 WIP - Inherits Conf.pm (#1661) 2019-03-15 15:40:08 +01:00
Christophe Maudoux
bfa7482a1f WIP - Hidden ConfTree PK (#1661) 2019-03-15 15:40:08 +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
Christophe Maudoux
be28b60e66 Append identities rule (#1658) 2019-03-09 23:29:10 +01:00
Christophe Maudoux
09281f8d22 Append identities rule and fix error catching (#1664) 2019-03-08 11:39:19 +01:00
Xavier Guimard
bc2bef4ff4 Please use our .perltidyrc 2019-03-07 18:22:58 +01:00
Christophe Maudoux
a9fbec3f84 Revert - Allow figures in login (#1667) 2019-03-07 10:39:08 +01:00
Christophe Maudoux
a076459bdd Allow figures in login (#1667) 2019-03-07 09:00:24 +01:00
Christophe Maudoux
7b08a7c442 Rename idSpoofing plugin to Impersonation & all relative parameters (#1664) 2019-03-06 16:30:56 +01:00
Christophe Maudoux
e09c136302 Change fa icon color (#1664) 2019-03-05 15:07:54 +01:00
Xavier Guimard
a167a4b3ba Fix path 2019-03-05 10:43:28 +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
228a37c0d2 WIP - Append parameters (#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
81a37e5bcc Dispatching attributes (#1658) 2019-03-01 12:36:37 +01:00
Clément OUDOT
7ad2e0e694 Remove warning in unit tests (\!61) 2019-02-28 08:47:33 +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
Christophe Maudoux
1ea6e92533 WIP - checkUser append translations and parameters (#1658) 2019-02-25 20:10:57 +01:00
Christophe Maudoux
557539805a WIP - checkUser hide secret attributes (#1658) 2019-02-23 23:24:13 +01:00
Christophe Maudoux
30148caf2d WIP - checkUser hide secret attributes (#1658) 2019-02-23 23:02:42 +01:00
Christophe Maudoux
697882bd45 WIP - checkUser plugin skeleton (#1658) 2019-02-23 09:35:43 +01:00
Christophe Maudoux
063c0f0d1b Partial revert - Modify Portal side is more consistent (#1653) 2019-02-18 20:39:47 +01:00
Christophe Maudoux
93295f2035 Load default template if does not exist (#1653) 2019-02-17 22:20:51 +01:00
Christophe Maudoux
16cb5693dc WIP - Load default template if does not exist (#1653) 2019-02-16 23:37:17 +01:00
Christophe Maudoux
a0c49a8905 Append parameter (#1632) 2019-02-14 22:10:48 +01:00
Clément OUDOT
8304a48073 Remove trustedProxies option (#1612) 2019-02-08 11:14:22 +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
Xavier Guimard
2a73e9b2c0 Fix Notifications DBI backend
Closes: #1640
2019-02-06 14:30:34 +01:00
Xavier Guimard
e2b026b7c8 Fix versions 2019-02-05 23:06:18 +01:00
Xavier Guimard
0528f78dad Merge branch 'v2.0' 2019-02-05 19:09:42 +01:00
Xavier Guimard
f8942d156d Override templateDir before calling sendHtml (fixes: #1642) 2019-02-05 19:04:06 +01:00
Xavier Guimard
92b65ae86f Merge branch 'v2.0' 2019-02-05 13:59:22 +01:00
Xavier Guimard
a549e62657 Add Auth::GPG parameters (#1569) 2019-02-05 11:51:39 +01:00
Christophe Maudoux
b39e6ce99f WIP - Append relative parameters (#1637) 2019-02-04 23:13:54 +01:00
Xavier Guimard
c5a3687040 Merge remote-tracking branch 'max/fix-redir' into v2.0 2019-02-03 22:48:43 +01:00
Christophe Maudoux
e41be10a23 Improve RegExp (#1629) 2019-02-03 21:48:49 +01:00
Maxime Besson
e028088f88 Add the ability to detect HTTPS from web server env
This commit adds a new "Default" option for the global HTTPS setting. In
this mode, the handler will refer to the HTTPS env variable to know if it's
being accessed over HTTPS or not. An administrator is of course still
free to force HTTPS by setting it either globally or per-VHost
2019-02-03 20:12:53 +01:00
Maxime Besson
f35a7c305a Add Mail second factor plugin 2019-02-03 14:46:40 +01:00
Maxime Besson
faa748f68f Add Mail second factor plugin 2019-02-03 14:43:44 +01:00
Clément OUDOT
bdfc905a59 Use make json to rebuild Manager files (#1601) 2019-02-02 15:55:55 +01:00
Christophe Maudoux
08647bb96a Improve unit test (#1636) 2019-02-02 15:34:24 +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
Christophe Maudoux
96b93a56c1 Partial revert rename parameters (#1605) 2019-01-24 19:45:43 +01:00
Christophe Maudoux
ce809fc80c Improve manager tree (#1616) 2019-01-19 14:27:00 +01:00
Christophe Maudoux
b486735d46 WIP - Split mailReset plugin and SMTP parameters (#1616) 2019-01-16 22:57:35 +01:00
Xavier Guimard
2ab385e2df Update versions 2019-01-09 13:42:30 +01:00
Xavier Guimard
12be005b15 Update manager javascripts (#1568 #1495) 2019-01-04 15:49:35 +01:00
Xavier Guimard
9ebc18ca5d Update version 2018-12-18 13:13:15 +01:00
Xavier Guimard
843e18c64e Initialize user() in $req (#1591) 2018-12-17 18:44:12 +01:00
Christophe Maudoux
aa45cf148a Append bruteForce Protection number of allowed failed Login parameter (#1506) 2018-12-12 23:51:33 +01:00
Xavier Guimard
ef6313b1c9 Fix bad returned value in Conf/Backends/MongoDB.pm 2018-12-10 22:48:09 +01:00
Xavier Guimard
8bd4ed0870 Removed unsed captcha file (#1567) 2018-12-03 22:37:55 +01:00
Christophe Maudoux
b493fac7be Disable safe warnings (#1561) 2018-11-30 21:45:54 +01:00
Christophe Maudoux
e3999aad6b WIP - Comment safe 2018-11-30 20:36:45 +01:00
Xavier Guimard
18c5ca83bf make spelling 2018-11-29 21:47:04 +01:00
Xavier Guimard
75f20be6d8 Fix some warnings (#1559) 2018-11-29 19:48:49 +01:00
Xavier Guimard
02f8c41030 Fix little warnings (#1559) 2018-11-29 17:00:28 +01:00
Xavier Guimard
11857d9f8a make tidy 2018-11-26 14:40:21 +01:00
Clément OUDOT
9cb56173db Configure timeout for configuration reload (#1553) 2018-11-26 08:21:00 +01:00
Xavier Guimard
642e98e180 Fix some missing "lazy" (#1545) 2018-11-16 17:30:57 +01:00
Christophe Maudoux
fdfeb9331b make json 2018-11-15 22:39:05 +01:00
Christophe Maudoux
32affcc0f3 make json 2018-11-15 22:38:43 +01:00
Christophe Maudoux
72b42a516f Append reset password retries number parameter (#1508) 2018-11-15 21:16:46 +01:00
Christophe Maudoux
c3ee16ec28 Append handler internal cache timeout parameter (#1535) 2018-11-09 21:35:51 +01:00
Christophe Maudoux
87c85c5b01 Append manager option to enable langs display (#1539) 2018-11-07 20:10:31 +01:00
Christophe Maudoux
3211236904 Set default formAction CSP (#1499) 2018-10-30 20:32:20 +01:00
Clément OUDOT
588852952e Keep Register modules parameters (#1531) 2018-10-29 17:04:04 +01:00
Clément OUDOT
c968973c76 Keep LDAP parameters for AD configuration (#1531) 2018-10-29 16:32:26 +01:00
Christophe Maudoux
44956956e5 Fix unit test warning (#1509) 2018-10-23 21:38:43 +02:00
Christophe Maudoux
14391d07d1 Append debug messages (#1509) 2018-10-22 22:28:37 +02:00
Christophe Maudoux
4df8ce2c0e Set formAction CSP from Manager (#1499) 2018-10-18 19:51:50 +02:00
Xavier Guimard
6b41c1d3d6 abort should work even if init fails (#1525) 2018-10-16 23:18:26 +02:00
Clément OUDOT
c5f9a7f95b make tidy 2018-10-12 10:04:03 +02:00
Christophe Maudoux
c2da030b95 BruteForceProtection plugin disable by default 2018-10-10 23:12:38 +02:00
Christophe Maudoux
8e5286dceb Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-10-08 23:03:09 +02:00
Christophe Maudoux
7a1117d4c4 Append Portal main logo option in Manager (#1515) 2018-10-08 23:02:59 +02:00
Xavier Guimard
1ef8c05908 Add "over" feature to choice (#1500) 2018-10-08 16:57:24 +02:00
Christophe Maudoux
8d7afa75a3 Append portalForceAuthn option in Tree (#1507) 2018-10-03 22:32:37 +02:00
Christophe Maudoux
a6c461f7b6 WIP - Rename plugin PortalForceAuthn (#1507) 2018-10-03 21:27:09 +02:00
Christophe Maudoux
85c6ad2498 WIP - Append PortalForceReAuthn (#1507) 2018-10-03 21:07:10 +02:00
Clément OUDOT
d21dfa926b Add SAML user attribute option in Manager (#1512) 2018-10-02 17:18:17 +02:00
Christophe Maudoux
d4eb025de3 Append BruteForceProtection (#1506) 2018-09-28 19:50:01 +02:00
Christophe Maudoux
31a689340d Rename BruteForceProtection plugin (#1506) 2018-09-23 11:09:04 +02:00
Christophe Maudoux
312e152bcc Append brutForceProtection plugin (#1506) 2018-09-22 19:26:21 +02:00
Clément OUDOT
5c8f42bda4 Configuration for SAML Discovery Protocol (#1478) 2018-09-04 15:24:18 +02:00
Xavier Guimard
62d5c7836c make tidy 2018-09-02 17:31:58 +02:00
Christophe Maudoux
3ae96fcbb2 Improve and cleaning code 2018-08-30 23:21:20 +02:00
Christophe Maudoux
96322a1419 Append test 2018-08-25 18:17:43 +02:00
Xavier Guimard
7e8a007b02 Accept DBD::MariaDB (#1490) 2018-08-23 07:01:22 +02:00
Christophe Maudoux
6251da2e56 Fix TOTP formula 2018-08-18 21:21:20 +02:00
Xavier Guimard
bf7d85532d Replace bool by boolOrExpr for sfRequired + partial revert (#1487) 2018-08-15 20:42:08 +02:00
Xavier Guimard
e55094602e Be tolerant with whitespaces in ini file (Fixes: #1488) 2018-08-12 22:33:14 +02:00
Christophe Maudoux
1bebba42c3 WIP - Partial revert and debug messages appended to test (#1480) 2018-08-08 09:51:06 +02:00
Christophe Maudoux
6619e56714 WIP - Add CSP form-action attribute in LLNG conf. Need more tests (#1480) 2018-08-07 23:54:42 +02:00
Christophe Maudoux
a6f19e187a Fix comment (#1464) 2018-07-22 23:15:01 +02:00
Christophe Maudoux
93fcfbe5b1 Delete OIDC Consents from sessions explorer (#1464) 2018-07-21 22:11:14 +02:00
Christophe Maudoux
6c11572c2a Display oidcConsents (#1464) 2018-07-19 00:01:43 +02:00
Xavier Guimard
9cecdc43b7 Store new conf in local storage + bug in customFunctions 2018-07-12 14:38:28 +02:00
Xavier Guimard
16dfbed636 Tidy 2018-07-12 09:04:05 +02:00
Xavier Guimard
0f7b3ca71d make tidy 2018-07-05 23:00:40 +02:00
Xavier Guimard
b2620c2679 s/datas/data
datas => des données
data => les données
2018-07-05 22:56:16 +02:00
Xavier Guimard
28aedcd63c Some errors in CAS (#1461) 2018-06-26 21:45:55 +02:00
Clément OUDOT
151088559f Move CAS options in CAS service (#1161) 2018-06-23 09:21:09 +02:00
Clément OUDOT
8a4adfd384 Configure Facebook user field (#1322) 2018-06-22 18:16:24 +02:00
Clément OUDOT
7eb24abe3c Configure Twitter user field (#1322) 2018-06-22 17:44:41 +02:00
Xavier Guimard
4ebcae3e15 Tidy 2018-06-21 21:35:16 +02:00
Xavier Guimard
ff0c8029db Change oidc content key for removal (#1431) 2018-06-20 21:38:26 +02:00
Xavier Guimard
def1b0bef2 Add Local conf backend (closes: #1458) 2018-06-19 21:05:36 +02:00
Xavier Guimard
e6b6d88514 PATH_INFO must be set (#1342) 2018-06-19 19:58:12 +02:00
Xavier Guimard
f5971ad98d Set configuration checkTime (#1454) 2018-06-15 19:00:14 +02:00
Xavier Guimard
a725a8f28f Revert d5d74b93 (#1454) 2018-06-15 06:57:43 +02:00
Xavier Guimard
a3d400e765 Set default values before storing local conf (#1454)
Bug introduced in d5d74b93
2018-06-15 06:55:10 +02:00
Xavier Guimard
b64df9a73c Typo (#1454) 2018-06-14 22:29:20 +02:00
Xavier Guimard
5488ceccef Update local cache on conf save (#1454) 2018-06-14 22:26:10 +02:00
Xavier Guimard
a7329c1dcc Verify Mouse version with Apache (#1452) 2018-06-14 06:19:27 +02:00
Xavier Guimard
5bfdeb6b43 Comment (#1452) 2018-06-13 23:20:35 +02:00
Xavier Guimard
f4b3e43a2c Workaround for ModPerl/Mouse bug (#1452) 2018-06-13 23:10:40 +02:00
Clément OUDOT
ea8817f3ff Use SHA1 as default value (#1247) 2018-06-12 22:35:00 +02:00
Clément OUDOT
28c4429b75 Configuration for SAML signature method (#1247) 2018-06-12 18:22:21 +02:00
Xavier Guimard
027a588185 Regexp opt conflict 2018-05-28 07:31:33 +02:00
Xavier Guimard
c4c63abc8b Use cached conf if backend fails (Closes: #1429) 2018-05-24 10:25:27 +02:00
Xavier Guimard
9445d14dbe Update MongoDB conf backend (#800) 2018-05-23 06:41:47 +02:00
Xavier Guimard
a43961a9e0 Little "eval" to avoid some MySQL crash (#1407) 2018-05-16 15:03:39 +02:00
Xavier Guimard
77a558e13a Distinct log/userLog in Dispatch (#1419) 2018-05-11 17:24:56 +02:00
Xavier Guimard
7af003bf3d Add Dispatch logger (fixes: #1419) 2018-05-11 14:43:41 +02:00
Xavier Guimard
3fa8f13627 Fix Sentry logger
Fixes: #1418
2018-05-09 21:07:21 +02:00
Xavier Guimard
b1c6e20aad Add Sentry logger (#1418) 2018-05-09 20:40:11 +02:00
Xavier Guimard
273e84b342 Clean some Dumper usage (#1416) 2018-05-07 17:17:55 +02:00
Xavier Guimard
c673be7cf2 Set some default values in Attributes.pm (#595) 2018-04-30 18:06:15 +02:00
Xavier Guimard
cc100316f5 Optimize SQL query 2018-04-23 17:17:34 +02:00
Christophe Maudoux
2119be03e1 Merge branch 'master' into manager-2ndFA-module 2018-04-17 22:54:31 +02:00
Xavier Guimard
e97a546433 Add "Null" logger (#857) 2018-04-17 06:56:29 +02:00
Christophe Maudoux
568f29f97c Fix session update bug (#1392) 2018-04-16 22:12:51 +02:00
Christophe Maudoux
5295161103 Delete 2F device (#1392) 2018-04-16 19:55:52 +02:00
Christophe Maudoux
f8e697d50a Delete 2F device (#1392) 2018-04-16 17:07:38 +02:00
Christophe Maudoux
936c54a802 Merge branch 'master' into portal-multi-U2F-registration 2018-04-09 12:17:11 +02:00
Christophe Maudoux
2185f0ef27 Add Max2FDevices & Max2FDevicesNameLength attributes (#1386) 2018-04-04 23:14:25 +02:00
Xavier Guimard
51026a906b Missing end value 2018-04-04 18:13:46 +02:00
Christophe Maudoux
dc3336e8b1 Add manager userAuthorizedtoDelete entries (#1386) 2018-04-03 22:57:30 +02:00
Xavier Guimard
0623b4f9fe Add ini-only default values in DefaultValues.pm (#595) 2018-04-03 10:23:31 +02:00
Xavier Guimard
e206be3322 SCRIPT_NAME is optional for handler
Avoid warning (#595)
2018-03-27 22:45:06 +02:00
Christophe Maudoux
da926a8546 Merge branch 'master' into manager-SFA-module 2018-03-20 21:32:55 +01:00
Xavier Guimard
e89db33b5e Remove Auth::Yubikey (#1399) 2018-03-20 18:45:57 +01:00
Xavier Guimard
c6908b87a2 Yubikey 2nd factor (closes: #1399) 2018-03-20 18:19:53 +01:00
Christophe Maudoux
bfc0a4f102 Merge branch 'master' into manager-SFA-module 2018-03-19 22:05:45 +01:00
Xavier Guimard
9c17f1b3b6 Error in intervals (#1359) 2018-03-18 22:38:12 +01:00
Xavier Guimard
05c77feebc Possibility to forbid U2F unregistration (#1148) 2018-03-18 22:20:05 +01:00
Christophe Maudoux
533df1ac1d Fix bug 2018-03-18 22:10:12 +01:00
Xavier Guimard
799109caca UTOTP manager part (#1391)
ToDo: self-registration + tests
2018-03-18 09:30:08 +01:00
Christophe Maudoux
fbe3af9f64 Merge branch 'master' into manager-SFA-module 2018-03-15 20:42:12 +01:00
Xavier Guimard
9cb44cc6c3 Manage headers (Closes: #1397) 2018-03-15 12:57:23 +01:00
Christophe Maudoux
e3b839ee95 Merge branch 'master' into manager-SFA-module 2018-03-14 22:09:45 +01:00
Xavier Guimard
79f64c8270 Backport #1372 2018-03-14 06:53:53 +01:00
Xavier Guimard
3383a68a25 Tidy 2018-03-13 07:14:01 +01:00
Xavier Guimard
84b4b572de Typo (#1373) 2018-03-12 17:56:58 +01:00
Xavier Guimard
da889f9e26 Bad regexp (fixes: #1373) 2018-03-12 17:43:18 +01:00
Maudoux Christophe
6e27659c51 Revert "Update doc"
This reverts commit b77d45eca9
2018-03-12 16:45:22 +01:00
Christophe Maudoux
b77d45eca9 Update doc 2018-03-12 16:34:04 +01:00
Christophe Maudoux
810b9f6a27 WIP - 2ndFA manager module 2018-03-11 23:33:55 +01:00
Christophe Maudoux
d50775a5f2 Append add & verify button + update lang 2018-03-03 23:19:30 +01:00
Xavier Guimard
b30d3db3a0 Tidy 2018-03-03 09:32:01 +01:00
Xavier Guimard
79daebecec Apply some master changes 2018-03-03 09:21:06 +01:00
Christophe Maudoux
dd10b2472e Append U2F manager module to manage users U2F Key (WIP - Delete only !!!) 2018-03-01 11:30:21 +01:00
Christophe Maudoux
9dfce47dfb WIP - Append U2F module to manage users U2F Key (delete only at the moment) 2018-03-01 00:07:31 +01:00
Christophe Maudoux
31398c78bc WIP - delete U2F key attributes from manager with U2F module 2018-02-27 12:01:33 +01:00
Xavier Guimard
6604860ec0 Add "doubleHash" in "hashParamaters"
Fixes: #1368
2018-02-22 16:01:24 +01:00
Xavier Guimard
a129081847 Full TOTP (#1359) 2018-02-21 22:07:12 +01:00
Xavier Guimard
2d58b3f9f6 TOTP Manager part (#1359) 2018-02-21 06:48:06 +01:00
Xavier Guimard
b9e2e91844 TOTP Portal part seems finished (#1359)
TODO: Manager attributes
2018-02-20 22:58:20 +01:00
Xavier Guimard
560341ea51 TOTP self registration in progress (#1359) 2018-02-20 18:36:34 +01:00
Xavier Guimard
79aad61a6b Update dependencies (#1359) 2018-02-19 22:47:10 +01:00
Xavier Guimard
d37a384328 Move TOTP verification in Common (#1359)
This Common module will be used also in admin interface
2018-02-19 22:34:23 +01:00
Xavier Guimard
3451612b50 Typo 2018-01-23 23:08:12 +01:00
Clément OUDOT
a6590bf210 Force Net::LDAP to handle values in UTF-8 (#1358) 2018-01-22 10:48:53 +01:00
Xavier Guimard
c3fd234d23 Remove .bak file (#1352) 2018-01-19 15:40:54 +01:00
Clément OUDOT
f5e68b584e Manage UTF8 in configuration with MySQL (#1352) 2018-01-19 15:06:35 +01:00
Xavier Guimard
7f0ff6d0d8 Replace Jira by GitLab 2017-11-11 14:06:23 +01:00
Clément Oudot
8a07f47e77 Add krbRemoveDomain parameter (#707) 2017-11-06 15:19:06 +00:00
Clément Oudot
6823a6e09e Fix default value for registerUrl (#1325) 2017-11-02 17:04:03 +00:00
Xavier Guimard
6ee5509f70 Add registerUrl (fixes: #1325) 2017-11-02 16:16:21 +00:00
Xavier Guimard
081699b29e AutoSignin works now (#1318)
TODO: doc
2017-10-27 13:11:30 +00:00
Xavier Guimard
53f1ba28de Typo (#1151) 2017-10-27 05:20:16 +00:00
Xavier Guimard
17a3b5e976 Raise an error if notification connector fails (#595) 2017-10-19 14:59:19 +00:00
Xavier Guimard
b63305b641 Fix bad return (#595) 2017-10-19 14:23:42 +00:00
Clément Oudot
a7401b72f6 Fix from_json methods (#1303) 2017-09-28 12:52:14 +00:00
Xavier Guimard
6e7510c969 Debug (#1305) 2017-09-26 20:00:56 +00:00
Xavier Guimard
69ece7740d Update debian/control 2017-09-26 19:11:04 +00:00
Xavier Guimard
fc49c10a5d Remove old hook (fixes: #1306) 2017-09-26 08:04:32 +00:00
Clément Oudot
43b3b495a8 Fix bad module dependency in code (#1260) 2017-09-19 09:10:23 +00:00
Xavier Guimard
bf1cf4c4f5 Display OIDC Consent tab if needed (#826) 2017-09-15 10:34:43 +00:00
Xavier Guimard
5b5e5db123 OpenID Connect consent skeleton (#826) 2017-09-15 10:32:15 +00:00
Clément Oudot
417d8f407c Force allow_nonref for JSON conf/sessions (#1294) 2017-09-06 18:01:09 +00:00
Xavier Guimard
93b491e061 Avoid plugin route conflict (partial fix for #1290) 2017-09-06 13:18:08 +00:00
Xavier Guimard
d788674e22 Warn if a route is redefined (#595) 2017-09-05 18:34:46 +00:00
Clément Oudot
f65ba0745d Enable loop context vars in templates (#1292) 2017-09-04 14:10:41 +00:00
Clément Oudot
70693929e4 Fix SOAP configuration module (#1288) 2017-08-29 15:20:54 +00:00
Clément Oudot
2ec88532ad Catch DBI execution error (#1263) 2017-08-29 14:04:40 +00:00
Clément Oudot
095a6ed8e5 Restore empty hash after SOAP getConfig call (#1288) 2017-08-28 16:37:31 +00:00
Xavier Guimard
4c603c9e90 Remove SQL transactions since "AutoCommit" is on (#1118) 2017-07-13 07:36:59 +00:00
Xavier Guimard
d391bcc0e1 Add SQLite in authorizated backends 2017-07-11 18:25:15 +00:00
Xavier Guimard
694293299f Fix #1118 for DBI 2017-07-11 12:16:56 +00:00
Xavier Guimard
482a6fb59d Revert r6542 (#1118) 2017-07-11 11:50:09 +00:00
Clément Oudot
8ec280164b Define query_string method to support old version of Plack on CentOS7 2017-07-10 10:15:04 +00:00
Clément Oudot
2400f84cb9 Prepare 2.0.0~alpha1 release 2017-07-10 10:01:40 +00:00
Clément Oudot
dd87683a4c Prepare 2.0.0-alpha1 release 2017-07-10 09:11:34 +00:00
Clément Oudot
00e7cea00c LinkedIn parameters in Manager for 2.0 (#1243) 2017-06-23 14:47:03 +00:00
David COUTADEUR
80f5d06e82 perl tidy 2017-06-23 09:57:07 +00:00
David COUTADEUR
6533b0a36b first working version of dynamic hash passwords in trunk (LEMONLDAP-1245) 2017-06-23 09:23:29 +00:00
Clément Oudot
318d43e07f Check logout redirect URI (#1233) 2017-05-18 14:52:38 +00:00
Xavier Guimard
cb42cd5521 Fix UTF-8 in conf upload (fixes: #1118) 2017-05-18 10:46:12 +00:00
Clément Oudot
56254f1d4f Apply commit 6513 to trunk (#1218) 2017-04-27 10:21:46 +00:00
Xavier Guimard
3328c5c7f0 Remove session from local cache (closes: #1215) 2017-04-25 07:24:44 +00:00
Xavier Guimard
d6c5229af8 Bad cipher initialization (#595) 2017-04-21 07:36:14 +00:00
Xavier Guimard
c8b33af881 Fix display error (#867) 2017-04-19 10:52:18 +00:00
Xavier Guimard
00423fc223 Fix proxied services in CAS (#1183) 2017-04-15 13:21:33 +00:00
Xavier Guimard
6e38097176 Don't enable SMTP by default 2017-04-13 20:08:54 +00:00