Commit Graph

684 Commits

Author SHA1 Message Date
Xavier Guimard
2ec0f3ce6f Add OIDC logout parameters (#1032) 2017-03-09 21:56:45 +00:00
Xavier Guimard
9fb80061a0 Additional parameters for custom modules (#1188) 2017-03-08 17:41:42 +00:00
Xavier Guimard
f63e5eaca1 Add version in conf (to be used later with #797) 2017-03-07 17:49:46 +00:00
Xavier Guimard
2fb085b2a6 New "Custom" modules family (closes: #1188) 2017-03-07 17:28:09 +00:00
Xavier Guimard
21856ea330 Update dependecies (#595) 2017-03-07 10:03:23 +00:00
Xavier Guimard
56337e602e Remove some dependencies (#595) 2017-03-07 06:30:57 +00:00
Xavier Guimard
6344051c75 Update some versions 2017-03-07 06:05:08 +00:00
Xavier Guimard
906f081b31 Verify REST backend config (#970) 2017-03-06 15:06:49 +00:00
Xavier Guimard
96263e0e65 Clean repo 2017-03-03 17:25:03 +00:00
Xavier Guimard
64756142e1 Service token server (#971) 2017-03-01 06:41:42 +00:00
Xavier Guimard
e2f4de3f9d Missing versions (#595) 2017-02-28 20:53:19 +00:00
Clément Oudot
c18533d447 Use getSkin to choose portal skin (#1177) 2017-02-28 18:39:56 +00:00
Xavier Guimard
b132e83530 Better token for REST session creation (#970) 2017-02-28 05:30:47 +00:00
Xavier Guimard
c0c67fd0bd Minimize persistentSession tie/untie (#713, #LEMONLDAP-1173) 2017-02-27 20:48:00 +00:00
Xavier Guimard
babb7f9230 Little things (#595) 2017-02-27 19:30:43 +00:00
Xavier Guimard
270410224d Update in doc (#782) 2017-02-26 13:42:49 +00:00
Xavier Guimard
38365b94ee Add DBI in e2e-tests 2017-02-26 08:04:39 +00:00
Xavier Guimard
538c723b8c Improve PATH_INFO split (#1175) 2017-02-24 11:23:16 +00:00
Xavier Guimard
7be468841b Add conditional SSLVar (closes: #803) 2017-02-24 06:29:50 +00:00
Xavier Guimard
d7025a2251 Add REST Auth/UserDB/Password backend (closes: #1174) 2017-02-23 21:46:00 +00:00
Xavier Guimard
c08489a6bc Add Log4perl logger (closes: #1162) 2017-02-21 06:41:50 +00:00
Xavier Guimard
e315a447d7 Change JS access (#1137) 2017-02-21 05:38:59 +00:00
Xavier Guimard
7a71c9db37 Revert r6047 (#1148) 2017-02-20 21:59:31 +00:00
Xavier Guimard
8c3ff5fb0b Minimize Apache::Session tie/untie (closes: #1173) 2017-02-20 21:00:05 +00:00
Xavier Guimard
09f13b1b00 Notification server SOAP/REST (#595) 2017-02-19 17:04:49 +00:00
Xavier Guimard
ede8f56ef3 Tidy 2017-02-19 11:51:58 +00:00
Xavier Guimard
697ebfdf8e Move default mail subjects in JSON (may close #1033) 2017-02-19 08:07:21 +00:00
Xavier Guimard
ca2c453e71 Add "public pages" concept to 2.0 (#1120) 2017-02-18 06:49:06 +00:00
Xavier Guimard
1642a20d56 Display multiple forms (#830) 2017-02-16 17:22:08 +00:00
Xavier Guimard
aaa9e80472 Updates (#1067) 2017-02-16 11:08:18 +00:00
Xavier Guimard
e3dafad97d Add lwpOpts and lwpSslOpts to Apache/Session/REST (see #1065) 2017-02-15 18:21:00 +00:00
Xavier Guimard
1e7b2c4a39 Add LWP options (closes: #1065) 2017-02-15 15:08:23 +00:00
Xavier Guimard
b829b6c19b Replace userNotice/Error... by userLogger (#857) 2017-02-15 14:16:59 +00:00
Xavier Guimard
deb28bc9cb Replace lmLog by logger-> (#857) 2017-02-15 06:41:50 +00:00
Xavier Guimard
b31635c62b Force syslog when FastCGI in use (#1162) 2017-02-15 06:41:41 +00:00
Xavier Guimard
fc1527686c Remove loca-only parameters (#1160) 2017-02-15 06:39:54 +00:00
Xavier Guimard
88dd1201ef Remove local-only parameters (#1160) 2017-02-13 16:48:39 +00:00
Xavier Guimard
d25f7061ab Transform logger into objects (#1162) 2017-02-13 11:58:39 +00:00
Xavier Guimard
64027a901a Initialize with local conf (#1162) 2017-02-12 20:19:39 +00:00
Xavier Guimard
c5626c77b5 Create logger files (#1162) 2017-02-12 20:09:46 +00:00
Xavier Guimard
40b7535ff3 Reorganize handler (closes: #1160) 2017-02-11 07:47:22 +00:00
Xavier Guimard
1f2c5a0726 Remove unused file (#595) 2017-02-09 21:14:09 +00:00
Xavier Guimard
18a51d858a Replace %ENV by $req->env (#1156) 2017-02-09 08:05:55 +00:00
Xavier Guimard
820691df33 Start handler reorganization (#1160) 2017-02-08 22:18:52 +00:00
Xavier Guimard
e57abb7285 Typo 2017-02-08 13:01:04 +00:00
Xavier Guimard
35f506bd60 Start rewrite Register::U2F using Ajax (#1148)
NB: broken for now
2017-02-08 13:01:02 +00:00
Xavier Guimard
5c421f8b61 Spelling parser 2017-02-07 14:46:28 +00:00
Xavier Guimard
2f31b05c1f Keep combination keys (#1151) 2017-02-07 08:05:30 +00:00
Xavier Guimard
58ee26a128 Combination seems finished (except tests) (#1151) 2017-02-06 20:24:58 +00:00
Xavier Guimard
1780092b0c Combination in progress (#1151) 2017-02-06 06:42:22 +00:00
Xavier Guimard
8a3bb7b0f9 Combination override conf (#1151)
TODO: lot of job in the manager...
2017-02-05 23:04:28 +00:00
Xavier Guimard
b78022558d More combination tests (#1151) 2017-02-05 21:12:06 +00:00
Xavier Guimard
afcb39a355 Combination in progress (#1151) 2017-02-05 17:05:33 +00:00
Xavier Guimard
193ac7c260 Combination in progress (#1151) 2017-02-05 13:11:14 +00:00
Xavier Guimard
6cc7190df5 Tidy 2017-02-05 12:30:57 +00:00
Xavier Guimard
9e12c94234 Remove old CGI files (#595) 2017-02-05 12:30:50 +00:00
Xavier Guimard
6cccc434e1 Combination skeleton (#1151) 2017-02-05 12:24:26 +00:00
Xavier Guimard
29d90718eb More tests (#1151) 2017-02-05 11:13:32 +00:00
Xavier Guimard
7d27259e64 Create a "Same" value for userDB and remove some other 2017-02-05 09:13:20 +00:00
Xavier Guimard
9c3bdd51b8 Combination parser works (#1151) 2017-02-05 08:26:43 +00:00
Xavier Guimard
00ee360511 Rename pm (#1151) 2017-02-05 08:26:38 +00:00
Xavier Guimard
7a675d14ca Combination parser (#1151) 2017-02-04 19:46:34 +00:00
Xavier Guimard
41da50b8ca U2F registration works (#1148) 2017-02-03 17:14:13 +00:00
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