Commit Graph

527 Commits

Author SHA1 Message Date
Xavier Guimard
ff6275f80f Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-06-25 22:45:15 +02:00
Xavier Guimard
abd9d876d5 Optimizations (#1461) 2018-06-25 22:45:00 +02:00
Clément OUDOT
caa709fc20 Unit test for CAS gateway mode (#1425) 2018-06-25 10:44:27 +02:00
Xavier Guimard
524cd2eb05 Catch also SLO urls (#1449) 2018-06-22 13:08:18 +02:00
Xavier Guimard
4ebcae3e15 Tidy 2018-06-21 21:35:16 +02:00
Xavier Guimard
8a0f7777dc Bad route declaration (#1431) 2018-06-21 13:52:18 +02:00
Xavier Guimard
4087038c64 Bad management of entry point in choice (#1342) 2018-06-20 22:29:48 +02:00
Clément OUDOT
9dfe054e64 Fix CAS proxy code (#1224) 2018-06-19 16:47:09 +02:00
Xavier Guimard
b0d9e1c9c7 Typo (#1342) 2018-06-18 23:29:07 +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
Clément OUDOT
f9766287fc Test skeleton for #1342 2018-06-18 12:16:00 +02:00
Christophe Maudoux
d2f8b7d6ae perltidy 2018-06-15 23:50:00 +02:00
Christophe Maudoux
c11ddb8862 Rename test files with History 2018-06-15 23:46:08 +02:00
Christophe Maudoux
f11989a50b Rename test files with History 2018-06-15 23:44:39 +02:00
Christophe Maudoux
9b7ea351ae Append U2F-TOTP-History test 2018-06-15 23:39:19 +02:00
Christophe Maudoux
434acc83aa Append U2F-History test 2018-06-15 23:18:29 +02:00
Xavier Guimard
a7329c1dcc Verify Mouse version with Apache (#1452) 2018-06-14 06:19:27 +02:00
Christophe Maudoux
1854ef3f0c Add test file 2018-06-13 23:06:22 +02:00
Christophe Maudoux
4cf9a53ce9 Fix error 2018-06-13 23:04:07 +02:00
Christophe Maudoux
8a824366f4 Fix typo 2018-06-13 21:51:01 +02:00
Christophe Maudoux
b7260993e1 Add TOTP redirected to logins history test 2018-06-13 21:48:33 +02:00
Xavier Guimard
81f079d930 Remove workaround in tests (#1247) (4349686c) 2018-06-12 22:40:27 +02:00
Xavier Guimard
4349686cf3 Workaround until Lasso ≥ 2.5.1 (#1247) 2018-06-12 21:32:37 +02:00
Xavier Guimard
492296c226 Fix CDA for already authenticated users (Closes: #1446) 2018-06-11 14:03:09 +02:00
Xavier Guimard
46f45642e8 Add CDA+REST test (closes: #1440) 2018-06-06 17:00:02 +02:00
Xavier Guimard
663be11a35 Add CDA+SOAP test (#1440) 2018-06-05 23:13:53 +02:00
Xavier Guimard
7f7d068646 Don't reload portal if conf is already loaded 2018-06-05 23:13:18 +02:00
Xavier Guimard
1669a6d482 Clean test (#1440) 2018-06-05 21:13:49 +02:00
Xavier Guimard
ea4b1f0f1f Add visual studio code config 2018-06-04 15:58:33 +02:00
Xavier Guimard
d7106f2c2d Full CDA test (fixes: #1440) 2018-06-04 15:41:24 +02:00
Xavier Guimard
4b1cad209b Add CDA test (portal part) (#1440) 2018-06-04 10:13:04 +02:00
Xavier Guimard
65a9a70f54 Avoid double LDAP entry 2018-05-29 22:53:14 +02:00
Xavier Guimard
5f31ce63c7 Fix last error (#1422) 2018-05-16 13:22:15 +02:00
Xavier Guimard
86283952b0 Fix partially #1422 2018-05-15 19:46:02 +02:00
Xavier Guimard
496916bc52 Remove diag* (#1422) 2018-05-14 21:53:33 +02:00
Xavier Guimard
b0d16d653d Fix renew problem with CAS (fixes: #1422) 2018-05-14 21:33:21 +02:00
Xavier Guimard
80ed8580f2 Update tests (#1416) 2018-05-07 18:01:52 +02:00
Xavier Guimard
273e84b342 Clean some Dumper usage (#1416) 2018-05-07 17:17:55 +02:00
Xavier Guimard
71e6fa7008 Add more UTF-8 tests (#1416) 2018-05-05 21:17:54 +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
904947b43b Propage @maudoux changes to UTOTP (#1391) 2018-04-17 23:01:34 +02:00
Christophe Maudoux
f7f0255a86 Merge branch 'master' into portal-multi-U2F-registration 2018-04-17 22:01:25 +02:00
Christophe Maudoux
9a96b38435 Apply U2F.patch 2018-04-17 18:09:18 +02:00
Xavier Guimard
50f8916398 Typo in UTOTP test (#1391) 2018-04-17 07:07:33 +02:00
Xavier Guimard
abd48c19ca Count error (#1391) 2018-04-16 20:16:53 +02:00
Xavier Guimard
ca2ea37223 Add complete UTOTP test (#1391) 2018-04-16 20:09:13 +02:00
Xavier Guimard
ff30034688 Reorganize tests 2018-04-16 20:06:32 +02:00
Xavier Guimard
7802a0d0f7 Update U2F test (#1148) 2018-04-12 18:38:57 +02:00
Xavier Guimard
3998054823 Catch JSON errors (#1386) 2018-04-11 09:54:40 +02:00
Xavier Guimard
6586b684dd Use inc::LWP::Protocol::PSGI in tests instead of redefining LWP::UserAgent methods (#595) 2018-04-10 06:54:08 +02:00
Xavier Guimard
89e818d407 Use inc::LWP::Protocol::PSGI in tests instead of redefining LWP::UserAgent methods (#595) 2018-04-09 22:56:14 +02:00
Xavier Guimard
e729676492 Fix U2F test (#1148) 2018-04-09 20:29:44 +02:00
Xavier Guimard
60fc9f523c Update manifest (#1148) 2018-04-09 13:58:50 +02:00
Xavier Guimard
c779d3c15e Add partial U2F test 2018-04-09 11:30:45 +02:00
Xavier Guimard
b6f085c7dc Typo 2018-04-09 11:11:50 +02:00
Xavier Guimard
3836391adc Fix history bugs (fixes: #1401) 2018-03-21 20:48:31 +01:00
Xavier Guimard
aaaf5cfed4 Restrict CSP form-action to URL scheme (#1384) 2018-03-21 14:52:22 +01:00
Xavier Guimard
b1f876f63e Verify CSP for POST forms (#1384) 2018-03-21 14:37:44 +01:00
Xavier Guimard
90b2df9b0d Add REST test (#1398) 2018-03-19 17:51:52 +01:00
Xavier Guimard
e069f7c378 Skip test if U2F lib not available (#1391) 2018-03-18 22:41:55 +01:00
Xavier Guimard
8e1d55aaa9 Add test (#1391) 2018-03-18 22:32:42 +01:00
Xavier Guimard
ab5f35bf8c Update TOTP test (#1359) 2018-03-15 07:14:47 +01:00
Xavier Guimard
3383a68a25 Tidy 2018-03-13 07:14:01 +01:00
Xavier Guimard
06cb8a6e11 2F engine works with 1 2F enabled (#1148) 2018-03-08 20:36:32 +01:00
Xavier Guimard
7a94f82102 Add test (#1359) 2018-02-25 09:49:54 +01:00
Xavier Guimard
584169d88c Set kerberos=0 in form when using Ajax (#1366) 2018-02-08 22:31:41 +01:00
Xavier Guimard
204d851792 Use "$maintests" everywhere 2018-02-08 21:55:21 +01:00
Xavier Guimard
252ac57692 Send dn when resetting LDAP password
Fixes: #1353
2018-01-25 15:53:52 +01:00
Xavier Guimard
057a8afcb2 #1353 in progress 2018-01-24 22:32:08 +01:00
Xavier Guimard
7e2c0cbcdc Remove debug 2018-01-23 14:59:37 +01:00
Xavier Guimard
e8475a7db8 Update Choice test (#1348) 2017-12-21 21:38:54 +01:00
Xavier Guimard
92113fb6e3 Clean sessions (#1338) 2017-12-20 06:42:27 +01:00
Clément OUDOT
ca61f22254 Adapt unit test for Register LDAP (#1338) 2017-12-18 18:50:10 +01:00
Xavier Guimard
3cca027a40 Add LDAP test for register (#1338) 2017-12-18 11:20:21 +01:00
Xavier Guimard
55aaed7a8d Fix UTF-8 problems in mail
Fixes: #1338
2017-12-15 16:47:58 +01:00
Xavier Guimard
e9d97ea010 Disable kerberos field test (#707) 2017-11-07 06:08:14 +00:00
David COUTADEUR
9c541b5acd perltidy for #1245 tests 2017-11-03 16:13:52 +00:00
David COUTADEUR
8786c6ba58 Adding more tests for #1245 (adding salt feature for database backend) 2017-11-03 16:11:27 +00:00
Xavier Guimard
9738b3dbb9 perltidy 2017-11-02 17:59:08 +00:00
David COUTADEUR
b726407532 adding tests for salt feature for database backend (#1245) 2017-11-02 16:42:01 +00:00
Xavier Guimard
3246aecacb Verify CAS + Choice (#1183) 2017-10-31 20:18:38 +00:00
Xavier Guimard
a09af34412 Missing $req in updatePersistentSession calls (fixes: #1319) 2017-10-31 12:04:05 +00:00
Xavier Guimard
42148200b7 Fix test (#1321) 2017-10-31 09:51:48 +00:00
Xavier Guimard
0225abd4ab Add SAML/Choice/renew test 2017-10-31 08:53:33 +00:00
Xavier Guimard
dd51dbd1ed Clean test conf #1323 2017-10-30 21:59:43 +00:00
Xavier Guimard
6da0f69b27 Fix #1323 2017-10-30 20:24:59 +00:00
Xavier Guimard
8e458c6a0d Add OIDC/Choice test (#595) 2017-10-30 19:06:57 +00:00
Xavier Guimard
4f6819e07a AutoSignin isn't a auth module (#1318) 2017-10-27 13:53:15 +00:00
Xavier Guimard
081699b29e AutoSignin works now (#1318)
TODO: doc
2017-10-27 13:11:30 +00:00
Clément Oudot
c5368caac2 Manage CAS logout service (#1298) 2017-09-11 15:26:44 +00:00
Xavier Guimard
7b7aa95d4f Adapt test (#970) 2017-09-05 15:12:07 +00:00
David COUTADEUR
80f5d06e82 perl tidy 2017-06-23 09:57:07 +00:00
Xavier Guimard
012cb3c23e May fix #1236 2017-06-12 19:10:37 +00:00
Clément Oudot
ecfb575e55 Add TESTBACKEND LDAP in Makefile (#1118) 2017-05-19 12:52:53 +00:00
Clément Oudot
318d43e07f Check logout redirect URI (#1233) 2017-05-18 14:52:38 +00:00
Xavier Guimard
00f8b29494 Disable UTF test in REST backend for now (#1118) 2017-05-18 11:20:48 +00:00
Xavier Guimard
3203c82ccf Verify CAS with multiple app (#1183) 2017-04-16 09:47:32 +00:00
Xavier Guimard
00423fc223 Fix proxied services in CAS (#1183) 2017-04-15 13:21:33 +00:00
Xavier Guimard
74f780733d Use App ExportedVars if defined (#1183) 2017-04-14 07:40:01 +00:00
Xavier Guimard
3fe9561571 Don't depend on Email::Sender for tests 2017-04-13 20:08:55 +00:00
Xavier Guimard
22d921698a Add UserDB::CAS (#1183) 2017-04-13 19:36:25 +00:00
Xavier Guimard
1b0d1dbb55 Auth::CAS works (#1183) 2017-04-13 07:28:15 +00:00
Xavier Guimard
7499d1198b Auth::CAS rebuild in progress (#1183) 2017-04-12 21:11:11 +00:00
Xavier Guimard
fafb134e65 Add Kerberos test (#707) 2017-04-06 21:25:41 +00:00
Xavier Guimard
c4c38160cb Add LDAP in session-backend perf test 2017-04-01 12:32:10 +00:00
Xavier Guimard
2580a21f7a Remove old UA exported var (#1044) 2017-03-31 16:15:38 +00:00
Xavier Guimard
52cdeb409d Verify SP logout (#1183) 2017-03-29 19:54:54 +00:00
Xavier Guimard
80a1583f0e Remove "skip" (#1183) 2017-03-29 19:50:43 +00:00
Xavier Guimard
9944115c8d Fix CAS test (#1183) 2017-03-29 19:02:38 +00:00
Xavier Guimard
22c7aeb6e8 More debug (#1044) 2017-03-29 10:05:34 +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
6cb301c531 Replace MIME::Lite by Email::Sender/MIME::Entity (#1206) 2017-03-27 05:22:08 +00:00
Xavier Guimard
20717fcce0 Verify SAML reauth (#595) 2017-03-26 05:26:25 +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
5cd25e3df5 More tests on errors (#595) 2017-03-22 18:11:45 +00:00
Xavier Guimard
d21b62b2aa Verify Combination with token (#1151) 2017-03-22 18:11:42 +00:00
Xavier Guimard
ca2e9be0e5 Rename _loginHistory (#1169) 2017-03-21 21:00:37 +00:00
Xavier Guimard
99ddfbfe25 Rename _startTime and _updateTime (#1169) 2017-03-21 20:52:40 +00:00
Xavier Guimard
1f24e2e6ac Validate SAML-SP-POST-to-OIDC-OP with POST (#1113) 2017-03-21 19:50:18 +00:00
Xavier Guimard
591669b79f Tidy 2017-03-21 19:50:17 +00:00
Xavier Guimard
51665b41f8 Validate OIDC-RP-to-SAML-IdP with POST (#1113) 2017-03-21 19:36:10 +00:00
Xavier Guimard
077713ed32 Typo 2017-03-21 16:06:50 +00:00
Xavier Guimard
919a706efa Restore OpenID-2 (#1113) 2017-03-21 16:06:44 +00:00
Xavier Guimard
997faab13a Finish logout SAML/OIDC (#1113) 2017-03-21 16:06:34 +00:00
Xavier Guimard
b90394dff1 OIDC-RP -> SAML-IdP SLO (#1113) 2017-03-21 13:09:33 +00:00
Xavier Guimard
941ee0d6e1 Try logout with OIDC-RP-to-SAML-IdP proxy (#1113) 2017-03-21 10:29:21 +00:00
Xavier Guimard
d6c4b49b2a OIDC-RP to SAML-IdP works !!! (fixes: #1113) 2017-03-21 07:09:31 +00:00
Xavier Guimard
6dba4fd1c2 Better request management in issuers (#595) 2017-03-21 06:23:58 +00:00
Xavier Guimard
d0467f0802 Restore relayState (#595) 2017-03-20 12:43:57 +00:00
Xavier Guimard
60796fa6a1 SAML in progress (#595) 2017-03-20 06:16:56 +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
6cab5c0990 Try SAML-SP to OIDC-OP (#1113) 2017-03-18 12:08:24 +00:00
Xavier Guimard
d6747ad356 Try logout ... failed (#1113) 2017-03-17 17:28:22 +00:00
Xavier Guimard
f6e5356178 Group SAML tests (#595) 2017-03-15 06:29:44 +00:00
Xavier Guimard
f7b130e956 Proves SAML-SP => OIDC-OP (#1113) 2017-03-14 21:55:47 +00:00
Xavier Guimard
2810d6b83c Require cache 2017-03-13 09:16:34 +00:00
Xavier Guimard
81d3729394 Use local cache by default for tokens (#1140) 2017-03-11 18:11:57 +00:00
Xavier Guimard
516830c32f Start front channel logout (#1032) 2017-03-09 21:56:53 +00:00
Xavier Guimard
4665c9d2ea Revert r6192 (#595) 2017-03-09 05:44:16 +00:00
Xavier Guimard
6028fb8670 Rename test (#1032) 2017-03-08 22:54:17 +00:00
Xavier Guimard
92637d7f0f Add OIDC->SAML cross logout (#1032) 2017-03-08 22:49:01 +00:00
Xavier Guimard
2e845b9a88 Update tests, see ^^ (#595) 2017-03-08 22:48:58 +00:00
Xavier Guimard
109e584004 Add StayConnected test (#1131) 2017-03-08 20:56:49 +00:00
Xavier Guimard
56337e602e Remove some dependencies (#595) 2017-03-07 06:30:57 +00:00
Xavier Guimard
82d39edc42 Verify "mysession" (#970) 2017-03-06 16:43:06 +00:00