Commit Graph

621 Commits

Author SHA1 Message Date
Xavier Guimard
a14d718351 U2F skeleton (#1148) 2017-02-02 21:48:32 +00:00
Xavier Guimard
4178455d95 Notif in progress (#868) 2017-02-02 06:08:40 +00:00
Xavier Guimard
a08d2f6433 Remove BrowserID parameters (see #602) 2017-02-01 10:32:03 +00:00
Xavier Guimard
8f0bb1bed7 Notification File/JSON tested (#868) 2017-02-01 06:16:33 +00:00
Xavier Guimard
dc2080716d Notification JSON/File (#868) 2017-02-01 05:30:44 +00:00
Xavier Guimard
03f2df36d3 Prepare JSON notifications (#868) 2017-01-31 22:10:26 +00:00
Xavier Guimard
61fd463f45 Split notifications (XML vs JSON) [#868] 2017-01-31 19:11:59 +00:00
Xavier Guimard
5dc2df2a5e More doc (#595) 2017-01-30 20:21:58 +00:00
Xavier Guimard
4ae5c7463c Replace .pl (#595) 2017-01-30 16:22:39 +00:00
Xavier Guimard
7a3725db9d Pwd reset in progress (#595) 2017-01-29 09:11:27 +00:00
Xavier Guimard
1e4c6da389 Rename lmConf-*.js to lmConf-*.json (fix: #1090) 2017-01-27 11:58:46 +00:00
Xavier Guimard
234551387f Captcha and token in progress (#1140) 2017-01-24 22:05:07 +00:00
Xavier Guimard
a9e8dcf276 Don't store 'false' values in default 2017-01-24 21:02:04 +00:00
Xavier Guimard
e414ee5151 Prepare captcha (#595) 2017-01-24 17:55:20 +00:00
Xavier Guimard
42c42562a6 Ask token to use get_key_from_all_sessions (#595) 2017-01-23 22:04:24 +00:00
Xavier Guimard
5369f46024 REST session/conf backends (#970) 2017-01-22 22:51:22 +00:00
Xavier Guimard
b70dac9f3a CSP in progress (#1138) 2017-01-19 06:09:20 +00:00
Xavier Guimard
04585cf188 Prepare Content-Security-Policy for portal (#1138) 2017-01-18 22:36:03 +00:00
Xavier Guimard
5ae758c6f1 Remove all inline CSS/JS (#1137) 2017-01-17 23:17:23 +00:00
Xavier Guimard
6b2dbd6482 Add portal status plugin (#595) 2017-01-16 21:00:50 +00:00
Xavier Guimard
f7cc7b2b66 More debug (#595) 2017-01-14 08:17:42 +00:00
Xavier Guimard
c5309a6e35 Remove registerUrl: fixed to /register (#595) 2017-01-14 08:17:38 +00:00
Xavier Guimard
1b88459c31 Remove samlIDPSSODescriptorSingleSignOnServiceSOAP from everywhere 2017-01-13 08:17:20 +00:00
Xavier Guimard
3c5cb018ef Compact conf 2017-01-11 21:10:13 +00:00
Xavier Guimard
1ccad93701 Compact conf 2017-01-11 06:13:37 +00:00
Xavier Guimard
990006ce80 Move conf regexp constants to common (#970) 2017-01-10 21:43:37 +00:00
Xavier Guimard
7234f907aa More tests for REST API (#970) 2017-01-10 21:43:34 +00:00
Xavier Guimard
d0350660e7 More security for path 2017-01-10 06:04:38 +00:00
Xavier Guimard
11dc704a57 Optimize (#595) 2017-01-09 15:43:30 +00:00
Xavier Guimard
293f0eea71 Replace build_urlencode to manage old Plack (#595) 2017-01-09 12:55:04 +00:00
Xavier Guimard
10509e2a52 REST in progress (#970) 2017-01-09 06:11:30 +00:00
Xavier Guimard
a0ea56a29a SOAP/REST in progress (#970) 2017-01-08 08:42:19 +00:00
Xavier Guimard
d1646392a9 Split soap/rest server in config/sessions (#970) 2017-01-08 08:42:16 +00:00
Xavier Guimard
2250202fa9 Manage Zero only in manager (#970) 2017-01-08 08:42:12 +00:00
Xavier Guimard
2118a4242b Move read conf calls into Conf/RESTServer (#970) 2017-01-08 06:25:10 +00:00
Xavier Guimard
1983842f79 SOAP server (#970) 2017-01-07 20:37:07 +00:00
Xavier Guimard
b24343bd10 SOAP server (#970) 2017-01-07 18:04:20 +00:00
Xavier Guimard
99d294d7c4 Replace read_body by Plack::Request::content() (#595) 2017-01-07 07:45:36 +00:00
Xavier Guimard
41d47e8a74 Remove CGO SOAP calls 2017-01-07 07:45:33 +00:00
Xavier Guimard
216f035c86 Rewrite SOAP server (#970) 2017-01-07 07:45:30 +00:00
Xavier Guimard
b28fbd23aa Add "rest" parameter (#970) 2017-01-06 16:18:43 +00:00
Xavier Guimard
3f22d3132b Update manifests (#595) 2017-01-06 12:42:13 +00:00
Xavier Guimard
cd17296dae Reorganize conf access (#595) 2017-01-06 12:40:56 +00:00
Xavier Guimard
118beaa022 Move conf backends (#595) 2017-01-06 12:30:41 +00:00
Xavier Guimard
8856c35fb2 Prepare REST server (#970) 2017-01-06 09:04:00 +00:00
Xavier Guimard
b94a337a05 Optimize checksession endpoint (#595) 2017-01-04 22:19:17 +00:00
Xavier Guimard
778c0b997f Update POD (#595) 2017-01-04 20:22:04 +00:00
Xavier Guimard
e31eed9589 Add Plack in common dependencies (#595) 2017-01-04 18:35:32 +00:00
Xavier Guimard
e337703568 Add Plack in common dependencies (#595) 2017-01-04 18:25:07 +00:00
Xavier Guimard
a09d12031e Some big changes (#595)
Replace uri_escape by WWW::Form::UrlEncoded
Replace PSGI:Request by inheritance from Plack::Request
2017-01-04 16:36:54 +00:00
Xavier Guimard
d35e24703e Remove old Google auth (#595)
Google OpenId endpoints now points to OpenId-Connect configuration
2017-01-03 06:09:29 +00:00
Xavier Guimard
3790836333 Start OIDC (#595) 2016-12-29 20:34:46 +00:00
Xavier Guimard
53a1830a69 Add authorization header (#595) 2016-12-29 10:12:08 +00:00
Xavier Guimard
c14bd95d92 Import some 1.9.7 changes 2016-12-29 06:25:07 +00:00
Xavier Guimard
936b6e5164 SAML matadata (#595) 2016-12-28 18:38:03 +00:00
Xavier Guimard
0da228ff35 make tidy 2016-12-26 09:23:35 +00:00
Xavier Guimard
909391ffc7 Spelling errors 2016-12-19 20:47:44 +00:00
Xavier Guimard
056688cae9 Some doc (#595) 2016-12-19 12:18:26 +00:00
Xavier Guimard
f1ef6e8938 Enable complex routes for plugins (#595) 2016-12-17 20:19:46 +00:00
Xavier Guimard
329993a40a SLO Soap server in progress [SAML] (#595) 2016-12-14 05:51:45 +00:00
Xavier Guimard
0380452082 SLO Soap server [SAML] (#595) 2016-12-13 19:21:36 +00:00
Xavier Guimard
1274d75a6a Import 1.9 changes 2016-12-11 10:45:59 +00:00
Xavier Guimard
3cd46fee91 Provide SOAP errors (#595) 2016-12-07 22:29:58 +00:00
Xavier Guimard
310896e6a1 Don't store default values for sub parameters 2016-12-03 18:26:56 +00:00
Xavier Guimard
6c7e797a3a Avoid some warnings (#LEMONDAP-595) 2016-12-02 16:29:04 +00:00
Xavier Guimard
d097b4ec0a Enable setAuthSessionInfo (#595) 2016-12-01 22:25:05 +00:00
Xavier Guimard
d71c38c510 Update META.yml 2016-12-01 19:43:17 +00:00
Clément Oudot
c48ee9d3e3 Apply modification for oidcRPMetaDataOptionsExtraClaims to trunk (#1105) 2016-11-15 16:04:43 +00:00
Clément Oudot
d46c33fbf4 Check header before matching its value (#1107) 2016-11-14 10:27:18 +00:00
Xavier Guimard
9fcbf8ed9a Import autopkgtests (#1110) 2016-11-12 08:24:52 +00:00
Xavier Guimard
6f0a9a60b0 Declare oidcRPMetaDataOptionsExtraClaims as hash (may close #1105) 2016-11-05 08:03:09 +00:00
Clément Oudot
fdf74d2f3a Apply patch on Manager in trunk (#1088) 2016-10-04 09:07:55 +00:00
Clément Oudot
fc878c0545 Apply patch on Manager in trunk (#1087) 2016-09-29 19:24:58 +00:00
Clément Oudot
91b7ac93b1 Apply bypass consent option to trunk (#1089) 2016-09-27 13:23:29 +00:00
Clément Oudot
47c227246b Port option to store ID token in trunk (#1083) 2016-09-13 13:40:02 +00:00
Clément Oudot
5d2be9a418 Port SAML Token options in trunk (#1083) 2016-09-13 12:04:30 +00:00
Clément Oudot
7b4e3e4904 Port timeoutActivityInterval to trunk (#1001) 2016-09-12 09:49:40 +00:00
Clément Oudot
cfff6103a7 Change default values for SAML security parameters (#1079) 2016-09-06 09:49:45 +00:00
Clément Oudot
e141c2482a Add IDP resolution rule in Manager (#1076) 2016-08-31 08:32:32 +00:00
Xavier Guimard
047b3ad2db Spelling error 2016-07-14 09:44:06 +00:00
Clément Oudot
b4cd5eecd1 Update MANIFEST 2016-07-08 14:34:12 +00:00
Clément Oudot
3a6978dad8 Add option to decode UTF8 SAML attributes (#1045) 2016-07-08 14:14:37 +00:00
Xavier Guimard
4b8b5b7606 Clean comments (#1048) 2016-06-24 10:06:49 +00:00
Clément Oudot
aa6279420f Manage multilines values in LDAP configuration backend (#966) 2016-06-24 06:51:25 +00:00
Clément Oudot
12ea5aabf2 Manage old LDAP sessions (#1049) 2016-06-23 10:13:07 +00:00
Clément Oudot
35eb674b33 Manage values for samlIDPMetaDataOptionsSLOBinding (#1046) 2016-06-21 12:40:43 +00:00
Clément Oudot
574057be22 Replace cn by ldapAttributeId (#1041) 2016-06-13 16:13:44 +00:00
Xavier Guimard
1cf2d8fd5c Backport #1040 2016-06-10 11:08:09 +00:00
Xavier Guimard
bf1fd28aff Backport #1036 2016-06-09 11:45:10 +00:00
Xavier Guimard
b18e3b8803 Backport #1035) 2016-06-09 11:45:08 +00:00
Xavier Guimard
e370416bc1 Add issuerDBGet parameters (#1025) 2016-06-03 11:34:14 +00:00
Xavier Guimard
354b841da8 Update notifications (#595) 2016-06-03 04:41:49 +00:00
Xavier Guimard
c1fb44a2b7 Many changes in notifications (#595) 2016-06-02 21:20:36 +00:00
Xavier Guimard
437fef99b6 Base64 must not have \n 2016-05-31 20:41:33 +00:00
Xavier Guimard
181461e2f7 Working on notifications (#595) 2016-05-30 20:20:53 +00:00
Xavier Guimard
724ba71fd7 Store SSL_* parameters in request object (#595) 2016-05-27 05:00:47 +00:00
Xavier Guimard
fd5a1230a6 Import all HTTP headers (#595) 2016-05-25 19:30:41 +00:00
Xavier Guimard
fa45062be5 Display errors in HTML (#595) 2016-05-24 20:50:22 +00:00
Xavier Guimard
3894139c94 Enable tplParams() (#595) 2016-05-24 05:05:49 +00:00
Xavier Guimard
4cde65c825 Set default values for BrowserID parameters (#595) 2016-05-23 21:52:26 +00:00
Xavier Guimard
47de9275fa Working on logout and XSS (#595) 2016-05-23 16:55:23 +00:00
Xavier Guimard
7856ee0d90 Set default value to data (#1010) 2016-05-18 11:43:48 +00:00
Clément Oudot
085ac82587 Add ldapAllowResetExpiredPassword parameter in trunk Manager (#1011) 2016-05-11 13:12:17 +00:00
Clément Oudot
e6f0bfa98d Fix example values of LDAP conf backend (#1014) 2016-05-11 09:39:58 +00:00
Xavier Guimard
ac6b3c45b1 Fix comment in lemonldap-ng.ini (closes: #1008) 2016-05-07 11:27:10 +00:00
Xavier Guimard
00214387c9 LDAP in progress (#595) 2016-05-02 10:30:23 +00:00
Clément Oudot
e54381178e Call disconnect in sub _LDAPGKFAS (#991) 2016-04-19 17:02:18 +00:00
Xavier Guimard
d32d9646f8 Menu seems to work (#595) 2016-04-14 18:42:59 +00:00
Xavier Guimard
132de79b58 Merge 1.9.1 changes 2016-04-10 21:29:59 +00:00
Xavier Guimard
6bd696aabd Trying to display menu (#595) 2016-04-10 11:33:27 +00:00
Xavier Guimard
72a076d980 Adapt Display.pm 2016-04-07 21:31:56 +00:00
Xavier Guimard
371aa0c003 Split sendHtml() to be able to change HTML template params (#595) 2016-04-06 20:09:58 +00:00
Xavier Guimard
099e7e9ff4 Log users even on error (#595) 2016-04-06 12:01:53 +00:00
Xavier Guimard
923587c4aa Set also default values if no local cache (+ ^) 2016-04-06 05:27:03 +00:00
Xavier Guimard
2fb42670f8 Start templates (#595) 2016-04-06 05:16:47 +00:00
Xavier Guimard
da1d5d8c37 Avoid die in case of JSON error (Closes: #987) 2016-04-05 11:17:21 +00:00
Xavier Guimard
4fe318a5ea Authentication succeeds (#595) 2016-04-04 20:39:22 +00:00
Xavier Guimard
8d1c669a3b #595 in progress... 2016-04-04 05:08:26 +00:00
Xavier Guimard
eb4b72168b #595 in progress 2016-04-02 20:17:39 +00:00
Xavier Guimard
ce0f0d09c4 s/CAS_/CAS/ 2016-03-31 20:08:40 +00:00
Xavier Guimard
a13e8870cd New portal in progress (#595) 2016-03-30 19:51:12 +00:00
Clément Oudot
b5ad3b917d Define more parameters for MongoDB configuration backend (#984) 2016-03-30 13:17:16 +00:00
Xavier Guimard
9be52a6216 Portal PSGI in progress 2016-03-27 18:10:36 +00:00
Clément Oudot
dd4725e56c Add replica_set_name in MongoDB conf backend options (#984) 2016-03-24 16:42:35 +00:00
Xavier Guimard
fa0ae39f8a Add special handler to be used by PSGI portal (#595) 2016-03-23 21:55:47 +00:00
Xavier Guimard
5a04d1ff61 Import encrypt in header functions (closes: #983) 2016-03-23 12:55:09 +00:00
Xavier Guimard
2d2edb61ac Merge experimental branch (#960)
Also update version to 2.0
2016-03-17 22:19:44 +00:00
Clément Oudot
335ea349db Add JSON in prerequisites (#978) 2016-03-15 16:58:14 +00:00
Clément Oudot
d7ca34a2f2 Update version in META.yml (#978) 2016-03-15 16:58:13 +00:00
Xavier Guimard
1480fcfd75 Avoid encode_base64 to insert \n (closes: #968) 2016-03-09 19:46:33 +00:00
Xavier Guimard
2194b8beef Little cleanup 2016-03-09 05:31:19 +00:00
Xavier Guimard
ef48301771 Spelling errors 2016-03-05 08:42:06 +00:00
Xavier Guimard
7ac07074ae Update versions 2016-03-03 20:25:16 +00:00
Clément Oudot
221e91fa62 make cpan 2016-03-01 16:57:38 +00:00
Clément Oudot
4359716171 Adapt AuthBasic Handler code (#630) 2016-02-26 17:39:06 +00:00
Xavier Guimard
6eed020081 Try to change gid/uid when possible (#921) 2016-02-26 06:41:38 +00:00
Clément Oudot
891a6521a5 Fix encoding of notifications in DBI backend (#928) 2016-02-25 16:44:23 +00:00
Xavier Guimard
cd649b19a7 Repair "update-cache" (#921) 2016-02-25 12:56:06 +00:00
Xavier Guimard
d12a82f8f1 Repair lemonldap-ng-cli (closes: #921) 2016-02-25 08:40:25 +00:00
Clément Oudot
c713469cb6 Use a getIdentifier method to be able to purge a notification (#947) 2016-02-24 17:26:52 +00:00
Clément Oudot
d08b0285c0 Register valid UTF-8 data in DBI notification backend (#928) 2016-02-23 18:59:06 +00:00
Clément Oudot
3ff53e521e Better error reporting (#925) 2016-02-23 14:57:42 +00:00
Clément Oudot
8f16b04b93 Set help as default action for CLI (#921) 2016-02-22 14:52:16 +00:00
Xavier Guimard
f338000e97 Change Ajax redirections (#820)
- redirections back to llApp.js
- portal is now a template param
- portal is now more downloaded at startup

Tests successful
2016-02-19 06:31:09 +00:00
Xavier Guimard
ab1e3c6db3 Typo (closes: #942) 2016-02-18 14:56:06 +00:00
Xavier Guimard
aab84b0d6f make tidy 2016-02-17 10:12:19 +00:00
Xavier Guimard
08408218fa Avoid launching 2 status (closes: #934) 2016-02-17 09:07:01 +00:00
Xavier Guimard
63337070ec Avoid some little warnings 2016-02-17 09:06:54 +00:00
Xavier Guimard
8c1bd8efeb Avoid using each(): it tries to delete key 2016-02-13 10:06:48 +00:00
Xavier Guimard
b86a321aac Bad usage of userInfo() (#820) 2016-02-12 17:57:50 +00:00
Xavier Guimard
92bc738640 Bug: no startSyslog 2016-02-12 06:00:02 +00:00
Xavier Guimard
0f8fe7894f Rename router() to handler() in PSGI (#820) 2016-02-11 06:00:35 +00:00
Xavier Guimard
f82afc0084 Avoid our serialization for browseable, mongodb,... 2016-02-10 14:49:04 +00:00
Xavier Guimard
f654aa6a23 Do not use cached configuration for manager 2016-02-09 22:17:46 +00:00
Xavier Guimard
5d6d5b9ca3 Bug: missing unserialization in RDBI 2016-02-08 05:53:18 +00:00
Xavier Guimard
99500b401f Use our serializer (closes: #800) 2016-02-08 05:53:16 +00:00
Xavier Guimard
f6ff2e6174 Some little things to avoid some lintian warnings 2016-02-07 08:32:43 +00:00
Xavier Guimard
88dbe13050 Install scripts manpage 2016-02-06 18:41:29 +00:00
Xavier Guimard
e553470046 More POD (#930) 2016-02-06 18:41:26 +00:00
Xavier Guimard
c964cec646 Finish cli (Closes: #921) 2016-02-06 12:22:10 +00:00
Xavier Guimard
2523d81621 Apply URL now in manager 2016-02-06 12:22:01 +00:00
Xavier Guimard
f276d26a0f Update manifests 2016-02-06 09:00:58 +00:00
Xavier Guimard
2de9bca842 Prepare new lemonldap-ng-cli 2016-02-06 09:00:54 +00:00
Xavier Guimard
189e560900 Nginx in progress... (#583) 2016-02-01 19:05:14 +00:00
Clément Oudot
607641dcfd Possibility to use certificate in SAML response (#836) 2016-02-01 16:42:15 +00:00
Xavier Guimard
b7a8cc63f4 Create Common::PSGI::Lib (#583) 2016-02-01 10:18:35 +00:00
Xavier Guimard
346111f2e5 Nginx in progress: now handler provides uid in logs (#583) 2016-01-31 22:53:23 +00:00
Xavier Guimard
aa34a28bd3 Rearrange Nginx files 2016-01-30 12:26:14 +00:00
Xavier Guimard
4f3a42ba48 Manage Ajax requests redirection with 401 (new parameter noAjaxHook) 2016-01-28 06:43:46 +00:00
Xavier Guimard
02f3515acd Remove unused var 2016-01-26 11:48:43 +00:00
Xavier Guimard
28d1450760 Chain init() instead of using 'around' 2016-01-25 05:54:55 +00:00
Xavier Guimard
7c676d8d99 make tidy 2016-01-22 16:53:41 +00:00
Xavier Guimard
d555dc7d84 Sessions may be readable even in old format (#877) 2016-01-22 11:26:43 +00:00
Xavier Guimard
5bef7284b3 Update copyright years 2016-01-21 21:15:19 +00:00
Xavier Guimard
4da8177672 Restore base conf at the end of manager tests for next tests 2016-01-21 20:10:38 +00:00
Xavier Guimard
427e4d0a85 $! is not reset so must not be asked (Closes: #889) 2016-01-21 20:02:11 +00:00
Xavier Guimard
70d845fc72 Replace default encoding by JSON for sessions (#877) 2016-01-21 18:06:55 +00:00
Clément Oudot
3d1a70ad0e Add default attributes for an RP (#892) 2016-01-21 17:17:44 +00:00
Clément Oudot
ee105c4ead Add default attributes for an OP (#892) 2016-01-21 17:17:43 +00:00
Clément Oudot
ac722bdbbf Do not set default value for prompt (#820) 2016-01-21 14:19:31 +00:00
Xavier Guimard
88eb9d47e5 Avoid relaunching conf with dropdown + group some buttons 2016-01-19 18:25:00 +00:00
Xavier Guimard
7c20f98f74 Use to_json instead of JSON->encode() (#LEMONLDAP_877) 2016-01-19 13:47:44 +00:00
Xavier Guimard
9aa23b4dd3 Zeroconf + Serializer (#877, #LEMONLDAP-903)
I really don't understand how it has worked before...
2016-01-18 18:40:47 +00:00
Xavier Guimard
094519e81b Replace own minifier by yui-compressor (Closes: #908) 2016-01-18 11:10:26 +00:00
Xavier Guimard
1c93769e1b Fix #893 2016-01-14 21:35:45 +00:00
Xavier Guimard
d2fcb5083a Back from JSON::MaybeXS to JSON (#877) 2016-01-13 19:47:56 +00:00
Xavier Guimard
d36ed32290 Some little things 2016-01-13 17:54:39 +00:00
Xavier Guimard
6ac420ee7d 2 bugs; avoid "each" and complete hash list 2016-01-12 22:04:07 +00:00
Xavier Guimard
773ccfe718 Avoid some warnings 2016-01-12 21:00:09 +00:00
Xavier Guimard
d877623f6d Default value must not be a scalar for hash containers (#882) 2016-01-12 09:34:02 +00:00
Xavier Guimard
6eaea5081a Avoid double utf8 management (#827) 2016-01-11 20:32:44 +00:00
Clément Oudot
1dc99ce818 Improve OpenID Connect configuration (#820) 2016-01-11 16:59:44 +00:00
Clément Oudot
94612f1eb3 Modify oidcServiceMetadataIssuer attribute (#820) 2016-01-11 15:12:49 +00:00
Xavier Guimard
f10885c580 Finish #877 2016-01-11 13:41:46 +00:00
Xavier Guimard
ba844458cc Replace 'Storable' by JSON in serialization (#877) 2016-01-11 11:59:54 +00:00
Xavier Guimard
2e3479bca4 Few things 2016-01-11 06:27:22 +00:00
Xavier Guimard
99158605d7 Use new constant to manage hash keys 2016-01-11 06:27:20 +00:00
Xavier Guimard
6a958599c2 Remove test for very old file 2016-01-11 06:27:18 +00:00
Xavier Guimard
c65fd986f5 Manage Common/Constants.pm with jsongenerator and add $hashParameters constant 2016-01-11 06:27:16 +00:00
Xavier Guimard
64099c2ca3 Change CDBI storage to JSON (#877) 2016-01-11 06:27:14 +00:00