Commit Graph

345 Commits

Author SHA1 Message Date
Clément OUDOT
3168f7eb41 Workaround for server error (#1342) 2018-06-21 12:01:30 +02:00
Xavier Guimard
4087038c64 Bad management of entry point in choice (#1342) 2018-06-20 22:29:48 +02:00
Xavier Guimard
ff0c8029db Change oidc content key for removal (#1431) 2018-06-20 21:38:26 +02:00
Clément OUDOT
9dfe054e64 Fix CAS proxy code (#1224) 2018-06-19 16:47:09 +02:00
Xavier Guimard
21f588153e Fix #1342 2018-06-18 23:19:33 +02:00
Xavier Guimard
cea0f32801 #1342 in progress 2018-06-18 22:37:28 +02:00
Xavier Guimard
784304702b Useless arg (#1162) 2018-06-13 21:34:27 +02:00
Xavier Guimard
f5b3617ad9 Typo errors (#1162) 2018-06-13 21:18:15 +02:00
Clément OUDOT
28c4429b75 Configuration for SAML signature method (#1247) 2018-06-12 18:22:21 +02:00
Clément OUDOT
3898db68a7 Provide kid in JWT only for RS signatures (#1426) 2018-05-19 16:29:05 +02:00
Xavier Guimard
dfcd8486d2 Optimize URL escape calls (#595) 2018-05-18 16:34:59 +02:00
Xavier Guimard
0849df9da0 Avoid little warning (#595) 2018-05-14 21:52:52 +02:00
Clément OUDOT
bd33897a52 Fix multi values separator (#1420) 2018-05-14 12:21:17 +02:00
Clément OUDOT
0669303baf Display CAS responses in debug logs (#1420) 2018-05-11 21:58:59 +02:00
Xavier Guimard
c673be7cf2 Set some default values in Attributes.pm (#595) 2018-04-30 18:06:15 +02:00
Xavier Guimard
57715c8b69 Fix #1413 2018-04-28 09:09:34 +02:00
Xavier Guimard
564b34176b Fix rule if 0 (#1413) 2018-04-27 20:10:31 +02:00
Clément OUDOT
90dc78932e Fix error on undefined object method (#1413) 2018-04-27 15:57:07 +02:00
Xavier Guimard
baf0b90b68 Fix name error in rule (#1413) 2018-04-27 13:54:06 +02:00
Xavier Guimard
0283231dd9 Typo 2018-04-26 12:05:11 +02:00
Xavier Guimard
6557b2105a Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-04-26 12:01:54 +02:00
Xavier Guimard
6f87ae5078 Debug hook (#1413) 2018-04-26 12:01:40 +02:00
Clément OUDOT
d3db202488 forcedSAML is no more a Choice (#1256) 2018-04-26 11:44:03 +02:00
Xavier Guimard
023be4c4eb Bad object (#1413) 2018-04-26 07:46:49 +02:00
Xavier Guimard
6605ea1857 Eval() in init() (#1413) 2018-04-26 07:38:17 +02:00
Clément OUDOT
2d388c174a Condition on Choice tab (#1413) 2018-04-25 15:40:19 +02:00
Xavier Guimard
797fa5b5c3 Security: avoid challenge replay (#1148) 2018-04-17 17:27:49 +02:00
Xavier Guimard
492ae116f8 Missing debug (#1148) 2018-04-17 12:06:09 +02:00
Xavier Guimard
8e81d31bc1 Add Yubico debug (#1148)
Available with Crypt::U2F::Server >= 0.43
2018-04-09 14:31:15 +02:00
Xavier Guimard
c833a18939 Destroy LDAP object (#595) 2018-03-13 14:43:12 +01:00
Xavier Guimard
3383a68a25 Tidy 2018-03-13 07:14:01 +01:00
Xavier Guimard
3356afdaa8 Little security (#1385) 2018-03-10 09:42:29 +01:00
Xavier Guimard
33c764855d Don't encode + (may fix: #1385) 2018-03-10 09:33:14 +01:00
Xavier Guimard
8a434cc3f9 Type (#1390) 2018-03-09 16:50:44 +01:00
Xavier Guimard
6b9584989f Fix #1390 XSS for 2.0 2018-03-09 16:27:33 +01:00
Xavier Guimard
a944faba47 Use new crypt object for each crypter operation (#1148) 2018-03-06 07:03:42 +01:00
Xavier Guimard
09a47d72ba TOTP self registration skeleton (#1359) 2018-02-20 13:19:52 +01:00
Xavier Guimard
6a752a1a4b Move Auth::Base to Main::Auth 2018-02-19 22:11:43 +01:00
Xavier Guimard
057a8afcb2 #1353 in progress 2018-01-24 22:32:08 +01:00
Xavier Guimard
dfc28adcc3 Skeleton for "useMail" feature in getUser (#1353) 2018-01-22 21:57:48 +01:00
Clément OUDOT
f202a7fdf6 Correct test on expiration time in processLogoutRequestMsg (#1357) 2018-01-15 15:08:44 +01:00
Clément OUDOT
2eb91fc0ea Prevent duplicate group search (#1356) 2018-01-15 12:27:10 +01:00
Xavier Guimard
d3f65bbd7f Fix missing $_auth/_user in Choice (#1348) 2017-12-21 21:44:13 +01:00
Xavier Guimard
1015e4467e Fix some little errors (#1338) 2017-12-19 09:29:35 +01:00
Xavier Guimard
fab1eaf815 Error in warn msg (#595) 2017-12-18 11:17:52 +01:00
Xavier Guimard
6106f37fac Fix "refresh" feature for Choice
Fixes: #1339
2017-12-18 10:40:07 +01:00
Xavier Guimard
46a417fb83 More debug (#1333) 2017-12-11 19:36:55 +01:00
Clément OUDOT
341bbb22ee eval Lasso constants (#1312) 2017-11-17 07:26:44 +01:00
Xavier Guimard
b03558c504 Finish #1330 2017-11-11 21:16:52 +01:00
Xavier Guimard
7f0ff6d0d8 Replace Jira by GitLab 2017-11-11 14:06:23 +01:00
Xavier Guimard
0d491e96f4 Use same name for SP rules (#1330) 2017-11-11 13:51:48 +01:00
Clément Oudot
cddb4fc849 Change message log level from warn to debug (#1329) 2017-11-07 10:29:06 +00:00
Xavier Guimard
a09af34412 Missing $req in updatePersistentSession calls (fixes: #1319) 2017-10-31 12:04:05 +00:00
Xavier Guimard
17a3b5e976 Raise an error if notification connector fails (#595) 2017-10-19 14:59:19 +00:00
Xavier Guimard
1fb4c21af3 Move OI2-SREG HTML fragments to tpl (closes: #1302) 2017-10-11 12:21:40 +00:00
Xavier Guimard
91af1f63ff Move SAML HTML fragments to tpl (#1302) 2017-10-11 11:35:56 +00:00
Xavier Guimard
46364da414 Move some HTML fragments to templates (#1302) 2017-10-10 11:04:40 +00:00
Xavier Guimard
76769f8166 Move HTML::Template calls into Main::Plugin (prepare #1302) 2017-10-10 09:24:08 +00:00
Clément Oudot
a7401b72f6 Fix from_json methods (#1303) 2017-09-28 12:52:14 +00:00
Xavier Guimard
fc582377ff Clean SAML storage code (#1305) 2017-09-27 05:00:00 +00:00
Xavier Guimard
10177b4bfd Default storage values (may fix #1305) 2017-09-26 20:15:50 +00:00
Clément Oudot
04acb221d3 Fix JSON parsing for Debian 9 in OpenIDConnect code (#1303) 2017-09-21 13:35:26 +00:00
Xavier Guimard
facf676a4c Remove code duplication (#595) 2017-09-19 20:06:33 +00:00
Clément Oudot
54972a9bc7 Define default SAML session storage (#1251) 2017-08-29 16:51:50 +00:00
Clément Oudot
40af38f928 Define default CAS session storage (#1251) 2017-08-29 16:51:49 +00:00
Clément Oudot
ae4ef2e3e5 Set SAML server signature method (#1247) 2017-08-29 16:43:43 +00:00
Xavier Guimard
a06f8c2480 Typo (fixes: #1273) 2017-07-17 19:19:39 +00:00
David COUTADEUR
06691b85a2 fix remaining lmLog (references #1245) 2017-06-23 16:37:16 +00:00
David COUTADEUR
d8d296873f fix manager: ERROR, complex node inside. Don't use simpleInputContainer for dbiPassword (references #1245) 2017-06-23 14:54:35 +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
Xavier Guimard
5e4ef360e0 Use globalStorage unless oidcStorage is defined (may fix #1251) 2017-06-22 09:12:28 +00:00
Xavier Guimard
00423fc223 Fix proxied services in CAS (#1183) 2017-04-15 13:21:33 +00:00
Xavier Guimard
b83374b274 New Issuer::CAS (#1183) 2017-04-13 19:17:29 +00:00
Xavier Guimard
d1d57fae22 Adapt CAS "proxy" to new arch (#1183) 2017-04-13 18:54:06 +00:00
Xavier Guimard
7499d1198b Auth::CAS rebuild in progress (#1183) 2017-04-12 21:11:11 +00:00
Xavier Guimard
68707a0b36 Don't store request datas in $self (#1183) 2017-04-11 20:28:01 +00:00
Xavier Guimard
eed489a557 Store CAS attributes for UserDB::CAS (#1183)
@coudot: can you validate this ?
2017-04-11 17:05:02 +00:00
Clément Oudot
b175218d1d Fix parsing CAS XML (#1183) 2017-03-29 19:43:10 +00:00
Xavier Guimard
9944115c8d Fix CAS test (#1183) 2017-03-29 19:02:38 +00:00
Clément Oudot
75ffa010e7 Fix typo in CAS code (#1183) 2017-03-29 07:51:18 +00:00
Xavier Guimard
2e59ea441a Replace request management in handler (#1044)
Note: this is a big change, more tests needed
2017-03-28 21:07:49 +00:00
Clément Oudot
552c432fef Remove use of AuthCAS module (#1183) 2017-03-28 18:23:50 +00:00
Xavier Guimard
c761cc5781 Mark some properties "lazy" to be sure conf is intialized (#595) 2017-03-27 16:51:18 +00:00
Xavier Guimard
6efec8525f Install new SMTP options (#1206) 2017-03-27 07:02:19 +00:00
Xavier Guimard
6cb301c531 Replace MIME::Lite by Email::Sender/MIME::Entity (#1206) 2017-03-27 05:22:08 +00:00
Xavier Guimard
bd9e6f50bf Start replacing MIME::Lite (#1206) 2017-03-26 05:26:28 +00:00
Xavier Guimard
86d7a3a8c0 Add SecondFactor superclass (#1015) 2017-03-23 11:17:01 +00:00
Xavier Guimard
7e81e1b1e0 Add OIDC-RP rule (#1161) 2017-03-22 20:47:07 +00:00
Xavier Guimard
62528e8b6a Add SAML-SP rule (#1161) 2017-03-22 20:20:30 +00:00
Xavier Guimard
830f15f71d Bad safe usage (#595) 2017-03-22 19:03:49 +00:00
Xavier Guimard
077455e015 Update TODO list 2017-03-22 14:10:21 +00:00
Xavier Guimard
6dba4fd1c2 Better request management in issuers (#595) 2017-03-21 06:23:58 +00:00
Xavier Guimard
f1ac524c24 Use OTT for state token (#(595) 2017-03-18 19:51:00 +00:00
Xavier Guimard
1a65e9a0fe Use OTT for nonce token (#(595) 2017-03-18 19:50:56 +00:00
Xavier Guimard
0845237efe Import CSP in manager code (#1137) 2017-03-15 22:27:58 +00:00
Xavier Guimard
9b9ecee8bb Replace inline script in history (#1137) 2017-03-15 21:20:10 +00:00
Xavier Guimard
2d7902421a Reinitialize token when login fails (#1140) 2017-03-14 16:52:11 +00:00
Xavier Guimard
73b71e5587 Set timeout in local cache (#1140) 2017-03-12 07:11:52 +00:00
Xavier Guimard
81d3729394 Use local cache by default for tokens (#1140) 2017-03-11 18:11:57 +00:00
Clément Oudot
6b775be965 Apply patch in loadSP (#1193) 2017-03-11 10:02:50 +00:00
Xavier Guimard
f54dfe6276 More clean patch (#1193) 2017-03-11 07:27:52 +00:00
Xavier Guimard
8f4b4588c7 Fix LEMONLDAP-1193 2017-03-11 07:16:24 +00:00
Xavier Guimard
7f460429e1 OIDC OP2RP logout in progress (#1194) 2017-03-10 11:39:19 +00:00
Xavier Guimard
9183935b26 Typo (#595) 2017-03-08 20:56:41 +00:00
Xavier Guimard
96263e0e65 Clean repo 2017-03-03 17:25:03 +00:00
Xavier Guimard
5d0a4bd96b UTF-8 for Artifacts (#1118) 2017-03-03 16:57:02 +00:00
Xavier Guimard
0b25e306d6 Update LDAP tests (see r6129) + fix bad log (#595) 2017-03-02 21:25:03 +00:00
Xavier Guimard
b31afabc5d Fix UTF for OIDC (#1118) 2017-03-02 20:52:12 +00:00
Xavier Guimard
e2f4de3f9d Missing versions (#595) 2017-02-28 20:53:19 +00:00
Xavier Guimard
d7025a2251 Add REST Auth/UserDB/Password backend (closes: #1174) 2017-02-23 21:46:00 +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
e71d96a2e8 Clean checkLogin usage (#595) 2017-02-19 11:56:20 +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
3dd8684829 Translation for mails (#595) 2017-02-17 20:47:01 +00:00
Xavier Guimard
87bb55cb00 Other session plugins (#595) 2017-02-17 07:40:18 +00:00
Xavier Guimard
8758f074c7 Add log (#595) 2017-02-15 19:03:55 +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
d1091a2c99 Little updates 2017-02-11 20:07:12 +00:00
Xavier Guimard
18a51d858a Replace %ENV by $req->env (#1156) 2017-02-09 08:05:55 +00:00
Xavier Guimard
8768b563fa Full ajax registration (#1148) 2017-02-08 18:10:06 +00:00
Clément Oudot
c54ac7f96b Decode body and subject to avoid double encoding (#1141) 2017-02-08 16:53:13 +00:00
Xavier Guimard
a04f5acd1d U2F is ready for skin bootstrap (#1148) 2017-02-07 22:04:49 +00:00
Xavier Guimard
8936677deb Avoid info() wrapper (#595) 2017-02-07 17:57:19 +00:00
Xavier Guimard
ebf077f7f5 U2F in progress (#1148) 2017-02-04 07:55:47 +00:00
Xavier Guimard
71b9b98cbb Notif/JSON tested (closes: #868) 2017-02-02 12:29:59 +00:00
Xavier Guimard
5b96200ed6 Rearrange JSON file (#868) 2017-02-02 06:33:34 +00:00
Xavier Guimard
4178455d95 Notif in progress (#868) 2017-02-02 06:08:40 +00:00
Xavier Guimard
dc2080716d Notification JSON/File (#868) 2017-02-01 05:30:44 +00:00
Xavier Guimard
be55c43316 First JSON notif test (#868) 2017-01-31 22:31:25 +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
de67ee9230 Pwd reset in progress (#595) 2017-01-29 13:06:28 +00:00
Xavier Guimard
7a3725db9d Pwd reset in progress (#595) 2017-01-29 09:11:27 +00:00
Xavier Guimard
0c80f00603 Token in register form (#1140) 2017-01-26 21:42:42 +00:00
Xavier Guimard
469e6feadd Verify captcha login (#595) 2017-01-25 22:08:15 +00:00
Xavier Guimard
5fb44d05a2 Captcha in progress (#595) 2017-01-25 11:11:48 +00:00
Xavier Guimard
08a02e93b9 Transform messsage into new form (#595) 2017-01-25 06:05:12 +00:00
Xavier Guimard
bbb4bd6df1 Captcha in progress (#595) 2017-01-24 21:02:02 +00:00
Xavier Guimard
e414ee5151 Prepare captcha (#595) 2017-01-24 17:55:20 +00:00
Xavier Guimard
a865cea016 Little change (#595) 2017-01-24 05:10:57 +00:00
Xavier Guimard
22d9ae8296 Split token functions (#595) 2017-01-23 11:28:13 +00:00
Xavier Guimard
64a6cb6dbc Remove inline CSS in perl (#1137) 2017-01-19 13:20:02 +00:00
Xavier Guimard
ceb767e20d Rearrange LDAP (#595) 2017-01-15 13:18:01 +00:00
Xavier Guimard
069d76051a Repair LDAP + add register (#595) 2017-01-15 08:10:16 +00:00
Xavier Guimard
095c0cc8d7 Register/Demo (#595) 2017-01-14 19:31:48 +00:00