Commit Graph

1100 Commits

Author SHA1 Message Date
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
Xavier Guimard
3b44c4924f Normalize test names (#595) 2017-03-06 15:56:47 +00:00
Xavier Guimard
906f081b31 Verify REST backend config (#970) 2017-03-06 15:06:49 +00:00
Xavier Guimard
8497574a31 Add SOAP backend test (#595) 2017-03-06 12:18:09 +00:00
Xavier Guimard
4c878bc09e Bad test count (#595) 2017-03-06 12:18:07 +00:00
Xavier Guimard
e6e0571c6a Add handler test lib 2017-03-04 08:07:41 +00:00
Xavier Guimard
96263e0e65 Clean repo 2017-03-03 17:25:03 +00:00
Xavier Guimard
055893e701 More tests for SAML / utf8 (may close #1118) 2017-03-03 16:57:04 +00:00
Clément Oudot
996c858a23 Restore default log level in LDAP test 2017-03-03 07:41:59 +00:00
Xavier Guimard
0b25e306d6 Update LDAP tests (see r6129) + fix bad log (#595) 2017-03-02 21:25:03 +00:00
Xavier Guimard
26adc9ce87 Test for CAS IdP (#1118) 2017-03-02 21:05:59 +00:00
Xavier Guimard
b31afabc5d Fix UTF for OIDC (#1118) 2017-03-02 20:52:12 +00:00
Xavier Guimard
3492ec60f7 Add utf8 test is SAML (#1118) 2017-03-02 20:29:54 +00:00
Xavier Guimard
1f06d872be Add utf8 test is SAML (#1118) 2017-03-02 20:15:53 +00:00
Clément Oudot
fcd76f42a1 Fix LDAP password change code 2017-03-02 17:21:15 +00:00
Clément Oudot
02aa10bdc3 Some changes in LDAP tests to allow custom OpenLDAP installation 2017-03-02 16:50:13 +00:00
Xavier Guimard
7a67d7bb69 Typo 2017-03-02 15:56:24 +00:00
Xavier Guimard
cd3ce4c55c LDAP tests in progress (#1118) 2017-03-02 06:35:15 +00:00
Xavier Guimard
587277e621 Change password test (#595) 2017-03-02 06:13:52 +00:00
Xavier Guimard
656d631482 Prepare own slapd server (#1118)
Insert "export LLNGTESTLDAP=1" in your .bashrc to enable LDAP tests
2017-03-01 22:18:00 +00:00
Xavier Guimard
83ab7d59bc Remove ldapjs: unable to bind (#1118) 2017-03-01 22:17:58 +00:00
Xavier Guimard
63e2b66674 Prepare LDAP server for tests (#1118) 2017-03-01 18:14:50 +00:00
Xavier Guimard
d29fef91f6 UTF8 tests for DBI backend (#1118) 2017-03-01 17:35:15 +00:00
Xavier Guimard
cc18d7f050 First UTF-8 tests (#1118) 2017-03-01 17:35:12 +00:00
Xavier Guimard
bb67c25d75 Decrease user errors to "warn" in tests (#595) 2017-02-27 21:04:35 +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
be414bcfaf Update (c) + paths (#595) 2017-02-27 06:08:22 +00:00
Xavier Guimard
d7025a2251 Add REST Auth/UserDB/Password backend (closes: #1174) 2017-02-23 21:46:00 +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
407819fd24 Remove debug line (#1033) 2017-02-19 08:10:33 +00:00
Xavier Guimard
697ebfdf8e Move default mail subjects in JSON (may close #1033) 2017-02-19 08:07:21 +00:00
Xavier Guimard
2e680c2ff1 Enable history (#595) 2017-02-19 07:17:48 +00:00
Xavier Guimard
aecacbe6da Update test (#595) 2017-02-18 19:20:58 +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
97b8b40cc5 Add grantSession test (#595) 2017-02-17 07:40:15 +00:00
Xavier Guimard
deb28bc9cb Replace lmLog by logger-> (#857) 2017-02-15 06:41:50 +00:00
Xavier Guimard
820691df33 Start handler reorganization (#1160) 2017-02-08 22:18:52 +00:00
Xavier Guimard
a8cb294037 Update combModules key (#1151) 2017-02-06 12:36:27 +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
7d27259e64 Create a "Same" value for userDB and remove some other 2017-02-05 09:13:20 +00:00
Xavier Guimard
71b9b98cbb Notif/JSON tested (closes: #868) 2017-02-02 12:29:59 +00:00
Xavier Guimard
88366c0381 Type (#868) 2017-02-02 05:37:58 +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
2d95ac991a Rename tests (#868) 2017-01-31 22:15:38 +00:00
Xavier Guimard
61fd463f45 Split notifications (XML vs JSON) [#868] 2017-01-31 19:11:59 +00:00
Xavier Guimard
bf4773a033 More pwd-reset tests (#595) 2017-01-30 05:54:30 +00:00
Xavier Guimard
7db2fbfe07 Pwd reset by mail in progress (#595) 2017-01-29 18:08:33 +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
2582fc21f1 Issue #595 in progress 2017-01-29 09:11:20 +00:00
Xavier Guimard
0637c639e5 Change test order (#595) 2017-01-28 14:09:06 +00:00
Xavier Guimard
c52bbcb527 Skip captcha tests if missing modules (#595) 2017-01-27 11:14:50 +00:00
Xavier Guimard
c718eceb53 Captcha for registration (#595) 2017-01-27 05:51:19 +00:00
Xavier Guimard
0c80f00603 Token in register form (#1140) 2017-01-26 21:42:42 +00:00
Xavier Guimard
12ad708c4a Captcha in progress (#595) 2017-01-26 21:42:40 +00:00
Xavier Guimard
469e6feadd Verify captcha login (#595) 2017-01-25 22:08:15 +00:00
Xavier Guimard
c9fb136515 Improve token test (#1140) 2017-01-25 22:08:13 +00:00
Xavier Guimard
f59ec29f48 Login token is OK (#1140) 2017-01-25 21:22:43 +00:00
Xavier Guimard
22704130b2 Start token test (#1140) 2017-01-25 12:02:27 +00:00
Xavier Guimard
234551387f Captcha and token in progress (#1140) 2017-01-24 22:05:07 +00:00
Xavier Guimard
81b47b7988 Declare PE_BADURL (#1142) 2017-01-24 21:02:06 +00:00
Xavier Guimard
0191ec5873 Clean comments (#595) 2017-01-23 22:15:26 +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
13fde85acb Improve tests (#595) 2017-01-23 05:49:32 +00:00
Xavier Guimard
5369f46024 REST session/conf backends (#970) 2017-01-22 22:51:22 +00:00
Xavier Guimard
42a2d8cb86 Add test for session SOAP (#595) 2017-01-21 13:22:55 +00:00
Xavier Guimard
a09c5a3d69 Typo (#1138) 2017-01-21 09:50:59 +00:00
Xavier Guimard
93e02e1400 Error in CSP (#1138) 2017-01-21 09:17:24 +00:00
Xavier Guimard
1491ad4515 Disable CSP for frames (#1138) 2017-01-20 06:19:54 +00:00
Xavier Guimard
e6c457bf97 Repair test (#1138) 2017-01-19 22:23:14 +00:00
Xavier Guimard
4aa207adf2 Test if frame is authorizated (#1138) 2017-01-19 22:23:13 +00:00
Xavier Guimard
c4f5a0d13f Status test (#595) 2017-01-16 21:07:12 +00:00
Xavier Guimard
da0a26a73f Verify XML (#595) 2017-01-16 19:59:24 +00:00
Xavier Guimard
350587b569 Fix tests (#595) 2017-01-15 22:04:35 +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
Xavier Guimard
5d0e6007a0 Register/Demo in progress (#595) 2017-01-14 08:17:45 +00:00
Xavier Guimard
7234f907aa More tests for REST API (#970) 2017-01-10 21:43:34 +00:00
Xavier Guimard
4d8c25460f REST in progress (#970) 2017-01-10 16:09:28 +00:00
Xavier Guimard
10509e2a52 REST in progress (#970) 2017-01-09 06:11:30 +00:00
Xavier Guimard
d1646392a9 Split soap/rest server in config/sessions (#970) 2017-01-08 08:42:16 +00:00
Xavier Guimard
1983842f79 SOAP server (#970) 2017-01-07 20:37:07 +00:00
Xavier Guimard
cd17296dae Reorganize conf access (#595) 2017-01-06 12:40:56 +00:00
Xavier Guimard
99932aa08c OpenID-2 seems ready (#595) 2017-01-06 06:22:31 +00:00
Xavier Guimard
fc508745f8 OpenID-2 in progress (#595) 2017-01-06 06:02:54 +00:00
Xavier Guimard
61eddee9f7 OpenID 2 in progress (#595) 2017-01-06 06:02:52 +00:00
Xavier Guimard
7805387aff OpenID-2 in progress (#595) 2017-01-05 21:45:34 +00:00
Xavier Guimard
e4bf8ac619 OpenID2 in progress (#595) 2017-01-05 16:44:16 +00:00
Xavier Guimard
b3f1415626 Add UserDB/OpenID (#595) 2017-01-05 15:19:57 +00:00
Xavier Guimard
b94a337a05 Optimize checksession endpoint (#595) 2017-01-04 22:19:17 +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
90352f5193 More OIDC tests (#595) 2017-01-03 20:18:05 +00:00
Xavier Guimard
1d7d95941d OIDC tests (#595) 2017-01-03 19:00:35 +00:00
Xavier Guimard
f374a6c38d Rename OIDC test (#595) 2017-01-03 12:54:23 +00:00
Xavier Guimard
8787867c31 Test endSessionDone (#595) 2017-01-02 20:57:45 +00:00
Xavier Guimard
de04cfc4c3 Clean test output (#595) 2017-01-02 20:35:37 +00:00
Xavier Guimard
3e81f56a0f OIDC checksession (#595) 2017-01-02 20:20:42 +00:00
Xavier Guimard
31ac440377 OIDC in progress (#595) 2017-01-01 17:56:46 +00:00
Xavier Guimard
45e5f28808 Bug in confirm (#595) 2017-01-01 12:32:38 +00:00
Xavier Guimard
cdbe7d89e9 OIDC in progress (#595) 2017-01-01 09:43:48 +00:00
Xavier Guimard
5202cd6f7c OIDC in progress (#595) 2016-12-31 14:40:26 +00:00
Xavier Guimard
4fc1f6afa2 OIDC metadata (#595) 2016-12-31 13:08:39 +00:00
Xavier Guimard
294945917e OIDC test skeleton (#595) 2016-12-31 08:39:31 +00:00
Xavier Guimard
c14bd95d92 Import some 1.9.7 changes 2016-12-29 06:25:07 +00:00
Xavier Guimard
83052b5231 Add metadata test [SAML] {#595) 2016-12-29 06:25:02 +00:00
Xavier Guimard
40a604c985 Rename tests (#595) 2016-12-28 16:14:42 +00:00
Xavier Guimard
e20512d16c Clean tests 2016-12-28 14:03:20 +00:00
Xavier Guimard
f26922e74c Clean SAML tests (#595) 2016-12-27 20:00:20 +00:00
Xavier Guimard
10d4f39511 SAML OK with artifact + SOAP SLO (#595) 2016-12-27 11:17:25 +00:00
Xavier Guimard
e09eb9c237 SAML SLO in progress (#595) 2016-12-27 08:40:12 +00:00
Xavier Guimard
0da228ff35 make tidy 2016-12-26 09:23:35 +00:00
Xavier Guimard
5718f4bde1 Verify that Redirect and POST don't call SOAP [SAML] (#595) 2016-12-26 08:40:51 +00:00
Xavier Guimard
b4a60fdb5e Improve redirect tests [SAML] (#595) 2016-12-26 08:14:05 +00:00
Xavier Guimard
17a336ee7c Improve artifact test [SAML] (#595) 2016-12-26 07:34:13 +00:00
Xavier Guimard
aba27302f7 Split SLO from run [SAML] (#595) 2016-12-25 15:41:23 +00:00
Xavier Guimard
a2be61bbcd SAML in progress (#595) 2016-12-24 08:47:39 +00:00
Xavier Guimard
bfc525418f SAML in progress (#595) 2016-12-23 17:00:15 +00:00
Xavier Guimard
47f9865efb SAML in progress (#595) 2016-12-23 16:03:36 +00:00
Xavier Guimard
c141ae7b69 Finish cleaning tests (#595) 2016-12-23 10:02:21 +00:00
Xavier Guimard
09b4d1a559 Clean tests (not finished) (#595)' 2016-12-23 06:41:03 +00:00
Xavier Guimard
3d23dc272d CAS in progress (#595) 2016-12-22 22:06:13 +00:00
Xavier Guimard
7281481802 CAS in progress (#595) 2016-12-22 20:18:59 +00:00
Xavier Guimard
13514267e0 CAS in progress (#595)
NB: I know that test is broken for now
2016-12-22 18:41:11 +00:00
Xavier Guimard
5ac69452df CAS in progress (#595) 2016-12-22 08:40:50 +00:00
Xavier Guimard
de969f19c4 CAS in progress (#595) 2016-12-22 05:57:44 +00:00
Xavier Guimard
747cd86047 CAS in progress (#595) 2016-12-21 22:39:12 +00:00
Xavier Guimard
ffd9ca4387 CAS in progress (#595) 2016-12-21 18:06:23 +00:00
Xavier Guimard
b36d45cc55 CAS in progress (#595) 2016-12-21 06:19:41 +00:00
Xavier Guimard
036ef59256 CAS in progress (#595) 2016-12-21 05:32:38 +00:00
Xavier Guimard
31496271ba CAS in progress (#595) 2016-12-20 11:53:33 +00:00
Xavier Guimard
c0d8756192 Clean warnings (#595) 2016-12-20 11:53:31 +00:00
Xavier Guimard
7b36248c45 SAML tests (#595) 2016-12-19 05:31:51 +00:00
Xavier Guimard
439dc6dcfb SOAP SLO response OK for Auth/SAML (#595) 2016-12-18 08:07:48 +00:00
Xavier Guimard
ec83414576 SAML in progress (#595)
To do: authSAML SOAP server
2016-12-17 07:58:53 +00:00
Xavier Guimard
5a74c5283a Enable signature for SAML tests (#595) 2016-12-16 06:03:30 +00:00
Xavier Guimard
b57d76c0ce SAML in (big) progress (#595) 2016-12-15 21:22:15 +00:00
Xavier Guimard
a829958d3d SAML in progress (#595) 2016-12-15 20:34:56 +00:00
Xavier Guimard
67725808a3 SAML tests in progress (#595) 2016-12-14 12:09:55 +00:00
Xavier Guimard
ba1d1e9720 SAML idp logout (#595) 2016-12-14 08:49:30 +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
b07ec51e0c Test SAML SLO with Redirect (#595) 2016-12-11 16:45:56 +00:00
Xavier Guimard
a959d77e1c SAML SLO in progress (#595) 2016-12-09 10:25:05 +00:00
Xavier Guimard
26a4774240 SAML artifact is OK (#595) 2016-12-08 05:40:50 +00:00
Xavier Guimard
2a3001a97b SAML Artifact in progress (#595) 2016-12-07 22:30:00 +00:00
Xavier Guimard
287a47ddd8 Finish SAML Test (#595) 2016-12-06 19:04:39 +00:00
Xavier Guimard
06370793f5 Typo (#595) 2016-12-05 21:00:02 +00:00
Xavier Guimard
9b11c41b10 SAML Redirect test in progress (#595) 2016-12-05 20:53:38 +00:00
Xavier Guimard
5fcdf07659 Verify that SAML request is XML (#595) 2016-12-05 20:53:36 +00:00
Xavier Guimard
b7c66b9427 Test skeleton for SAML Redirect (#595) 2016-12-04 21:57:25 +00:00
Xavier Guimard
d097b4ec0a Enable setAuthSessionInfo (#595) 2016-12-01 22:25:05 +00:00
Xavier Guimard
0b1041088c Rename SAML test (#595) 2016-12-01 19:43:18 +00:00
Xavier Guimard
9b1fffa5b7 SAML test in progress (#595) 2016-12-01 19:39:35 +00:00
Xavier Guimard
a1eab6cc87 SAML in progress (#595) 2016-11-30 12:44:12 +00:00
Xavier Guimard
9a6521f447 Indent XML part of test (#595) 2016-11-30 12:20:03 +00:00
Xavier Guimard
dcaa312ba0 Little things (#595) 2016-11-29 21:58:28 +00:00
Xavier Guimard
ceae1dc7b8 SAML in progress (#595) 2016-11-29 21:44:33 +00:00
Xavier Guimard
c550606f50 SAML in progress (#595) 2016-11-29 21:10:00 +00:00
Xavier Guimard
e5fdcbc3fd SAML in progress (#595) 2016-11-28 21:15:57 +00:00
Xavier Guimard
17ef20008a SAML in progress (#595) 2016-11-25 11:11:39 +00:00
Xavier Guimard
fb741f9bea SAML in progress (#595) 2016-11-22 20:55:10 +00:00
Xavier Guimard
2ca207a60e SAML in progress (#595) 2016-11-22 08:05:43 +00:00
Xavier Guimard
13f1ef6aa1 Update SAML tests (#595) 2016-11-20 05:35:06 +00:00
Xavier Guimard
b3e18e2f35 SAML in progress (#595) 2016-11-16 15:27:01 +00:00
Xavier Guimard
4bb0b3936b Clean handler in SAML test before calling 2nd portal (#LEMONDAP-595) 2016-11-16 10:30:37 +00:00
Xavier Guimard
f1a23a0edd Load sp in SAML test (#595) 2016-11-15 21:00:30 +00:00
Xavier Guimard
a2f175aa07 Remove default values for SAML test (#595) 2016-11-15 21:00:25 +00:00
Xavier Guimard
46e7e36070 SAML test skeleton 2016-11-14 21:45:32 +00:00
Xavier Guimard
ea1b78b1e7 Prepare tests for SAML (#595) 2016-11-14 12:34:46 +00:00
Xavier Guimard
b2977eec95 Add Auth/SSL (#595) 2016-08-05 11:56:16 +00:00
Xavier Guimard
3af9ff4271 Reorganize tests 2016-07-21 04:52:00 +00:00
Xavier Guimard
095ffcab48 Password in progress (#595) 2016-07-20 20:47:43 +00:00
Xavier Guimard
03466042ae Typo (#595) 2016-07-11 21:05:26 +00:00
Xavier Guimard
bb3a2e37bd Add test for Password/Demo (#595) 2016-07-11 21:02:32 +00:00
Xavier Guimard
806da327f2 Password system skeleton (#595) 2016-07-07 21:55:23 +00:00
Xavier Guimard
37ad0047d8 Add Choice test (#595) 2016-07-07 20:55:27 +00:00
Xavier Guimard
5820e5bf36 Working on Choice (#595) 2016-06-29 19:34:36 +00:00
Xavier Guimard
997440e037 More tests for IssuerGet (#595) 2016-06-12 19:38:02 +00:00
Xavier Guimard
f483500222 IssuerGet login is working (#595) 2016-06-12 19:26:14 +00:00
Xavier Guimard
d7fca6d396 AuthProxy seems OK (#595) 2016-06-07 21:04:24 +00:00
Xavier Guimard
4a9a4f2778 Little test problem (#595) 2016-06-03 04:30:34 +00:00
Xavier Guimard
c1fb44a2b7 Many changes in notifications (#595) 2016-06-02 21:20:36 +00:00
Xavier Guimard
201913d603 Verify notification delete (#595) 2016-06-01 19:19:53 +00:00
Xavier Guimard
3414f923f4 Working on notifications (#595) 2016-05-31 21:52:18 +00:00
Xavier Guimard
00a0fe7241 Working on notifications (#595) 2016-05-31 20:41:35 +00:00
Xavier Guimard
bdace9151f Notification is displayed (#595) 2016-05-31 11:47:08 +00:00
Xavier Guimard
15e359249d Update tests (#595) 2016-05-30 20:20:50 +00:00
Xavier Guimard
14c2e3973b Set debug level to "error" in tests (#595) 2016-05-27 05:00:51 +00:00
Xavier Guimard
647ad67eeb Translate Remote in new format + add test (#595) 2016-05-26 21:26:49 +00:00
Xavier Guimard
4ee99bd0f9 Add slave auth (#595) 2016-05-25 19:30:43 +00:00
Xavier Guimard
c9e788b5bf Remove old tests (#595) 2016-05-25 19:30:39 +00:00
Xavier Guimard
25365061de In progress... (#595) 2016-05-23 21:52:32 +00:00
Xavier Guimard
4ec26d5f46 Add translations test (#595) 2016-05-23 19:28:39 +00:00
Xavier Guimard
5d382a50bb Remove old tests 2016-05-23 19:28:36 +00:00
Xavier Guimard
bb39433ad5 Avoid some warnings (#595) 2016-05-23 19:28:32 +00:00
Xavier Guimard
15146bd03b Verify that logout deletes cookie (#595) 2016-05-23 16:55:26 +00:00
Xavier Guimard
8b53a67b7c Reorganize tests 2016-05-23 16:55:25 +00:00
Xavier Guimard
47de9275fa Working on logout and XSS (#595) 2016-05-23 16:55:23 +00:00
Xavier Guimard
76fd9a5545 Hide debug messages in tests (#595) 2016-05-23 16:55:20 +00:00
Xavier Guimard
73a51bb4fb Working on XSS detection (#595) 2016-05-23 11:53:09 +00:00
Xavier Guimard
159eb4a6ce Enable logout (#LEMONDAP-595) 2016-05-22 17:06:55 +00:00
Xavier Guimard
37ec0b0f9c Apache auth (#595) 2016-05-22 11:27:37 +00:00
Xavier Guimard
1ed7473797 Null auth (#595) 2016-05-22 11:27:34 +00:00
Xavier Guimard
7eba684565 Update AD test (#595) 2016-05-20 04:55:07 +00:00
Xavier Guimard
a00d0d2546 Add AD [Not tested !] (#595) 2016-05-19 21:00:58 +00:00
Xavier Guimard
e7a712c082 DBI auth works (#595) 2016-05-19 20:07:46 +00:00
Xavier Guimard
2eafb60240 LDAP auth works (#595) 2016-05-12 19:02:48 +00:00
Xavier Guimard
d32d9646f8 Menu seems to work (#595) 2016-04-14 18:42:59 +00:00
Xavier Guimard
f0193ef167 Don't use local session cache for tests 2016-04-14 11:15:51 +00:00
Xavier Guimard
ba1c54554c #595 in progress 2016-04-14 05:25:39 +00:00
Xavier Guimard
ef25e1f2ca Use old path for now (#595) 2016-04-08 04:40:41 +00:00
Xavier Guimard
72a076d980 Adapt Display.pm 2016-04-07 21:31:56 +00:00
Xavier Guimard
f4548758f3 More tests (#595) 2016-04-06 20:10:03 +00:00
Xavier Guimard
2fb42670f8 Start templates (#595) 2016-04-06 05:16:47 +00:00
Xavier Guimard
4f8830fdf6 Macros are working now (#595) 2016-04-05 20:46:11 +00:00
Xavier Guimard
dc8ac8030c autoRedirect works (#595)
but macros() doesn't
2016-04-05 11:12:53 +00:00
Xavier Guimard
088664b9fd Improve tests (#595) 2016-04-05 05:23:42 +00:00
Xavier Guimard
4fe318a5ea Authentication succeeds (#595) 2016-04-04 20:39:22 +00:00
Xavier Guimard
a8c64033a6 More tests (not running for now, #595) 2016-04-04 18:05:22 +00:00
Xavier Guimard
8d1c669a3b #595 in progress... 2016-04-04 05:08:26 +00:00
Xavier Guimard
ca16584d8b #595 in progress... 2016-04-03 16:27:22 +00:00
Xavier Guimard
1a16c2dbc8 First running test (#595) 2016-04-03 16:27:13 +00:00
Clément Oudot
31efc3587d Remove CDA test, as CDA module was removed in r4885 2016-03-30 13:28:44 +00:00
Xavier Guimard
84ee77100b Avoid warnings 2016-01-29 11:10:00 +00:00
Xavier Guimard
f10885c580 Finish #877 2016-01-11 13:41:46 +00:00
Xavier Guimard
4afa620d6b Avoid little warning in tests 2015-12-27 12:29:27 +00:00
Xavier Guimard
5a3fc1bfed Adapt "multi" system to the new manager
IMPORTANT: auth and userDB stacks are now in distinct keys
2015-12-10 20:05:29 +00:00
Clément Oudot
2c4413bf01 Fix AuthOpenIDConnect unit test (#183) 2015-06-16 06:56:14 +00:00
Clément Oudot
159f71fd25 Verify Request JWT signature (#184) 2015-04-25 15:19:12 +00:00
Clément Oudot
2ff0b7277a Add hybrid flow support (#184) 2015-03-23 11:54:22 +00:00
Clément Oudot
539f241725 Generate at_hash in ID Token for implicit flow (#184) 2015-03-19 17:04:13 +00:00
Clément Oudot
c3cb985323 Manage access token hash in RP (#183) 2015-03-19 15:28:58 +00:00
Clément Oudot
7a7bb1fbda make tidy on all files 2015-03-10 15:07:33 +00:00
Xavier Guimard
6a415160bb Set auth modules in test 2015-03-09 15:56:13 +00:00
Clément Oudot
687f0ed094 Change configuration format to allow to define several OP (#183) 2014-11-20 14:03:32 +00:00
Clément Oudot
53aab6d3c0 Verify JWT signature for RS256/RS384/RS512 alg (#183) 2014-11-19 14:17:39 +00:00
Clément Oudot
ab1e318149 Add support for HS368 and HS512 JWT signature alg (#183)
Get OpenID configuration data from configuration URI (#183)
2014-11-19 11:09:37 +00:00
Clément Oudot
2a33f67155 Verify JWT signature for HS256 alg (#183) 2014-11-17 18:09:55 +00:00
Clément Oudot
2ff2d0e01a First version of OpenIDConnect RP module (#183) 2014-11-14 14:29:55 +00:00
Clément Oudot
5bb0f01de4 Manage vhost aliases in portal menu (#755) 2014-11-03 17:07:47 +00:00
Clément Oudot
9bc097dd21 Compatibility of SSL modules with SOAP getCookies (#719) 2014-07-15 13:41:27 +00:00
Clément Oudot
b72d79a30b Better connection management (#663, #LEMONLDAP-664):
- Create userDBFinish, passwordDBFinish and registerDBFinish methods
- Call finish methods for each backend in process
- Call LDAP unbind only when necessary
- Unbind if error in RegisterDBLDAP
2014-06-25 11:53:09 +00:00
Clément Oudot
1b6655a431 Delete captcha session when check is done, and add captcha backend in purgeCentralCache script (#703) 2014-06-11 10:22:34 +00:00
Clément Oudot
473cd6c9dc Use a session backend to manage captcha (#703) 2014-06-10 16:21:33 +00:00
Clément Oudot
9b10d96341 Fix unit tests after introducing RegisterDB (#26) 2014-05-29 07:38:50 +00:00
Clément Oudot
18b337723d Default values for Portal all managed in Common (#686) 2014-02-14 09:00:12 +00:00
Clément Oudot
2630d09d72 Work on default values for Portal (#686) 2014-02-14 08:26:25 +00:00
Xavier Guimard
5354fc3361 Add basic tests for Google 2013-10-06 19:14:28 +00:00
Xavier Guimard
6363a29b66 Add basic tests for Facebook 2013-10-06 19:08:06 +00:00
Clément Oudot
21b4747b30 Fix test to work with old version of File::Temp (#611) 2013-08-27 07:06:04 +00:00
Clément Oudot
e628c703f5 Fix loading of alternate config file (#608) 2013-08-23 12:59:03 +00:00
Clément Oudot
d3c53c2235 First implementation of BrowserID authentication module (#584) 2013-07-17 13:46:59 +00:00
Sandro Cazzaniga
11c55bd0a0 Add _Webform.pm into the test as there's some captcha methods in it 2013-05-30 19:00:22 +00:00
Sandro Cazzaniga
7462ff467d make tidy 2013-05-30 14:41:02 +00:00
François-Xavier Deltombe
17e6f7eeb2 Test that macros and groups are computed in alphabumeric order (#596) 2013-05-23 19:07:48 +00:00
Xavier Guimard
bb0dd0fc96 Remove old hook 2013-04-15 04:29:01 +00:00
Clément Oudot
c177cf702d Make captcha works for mail reset (#217) 2013-02-20 16:04:29 +00:00
Sandro Cazzaniga
ab662554b7 make tidy 2013-02-17 22:25:26 +00:00
Clément Oudot
c50170408f Backport fix for #412 2012-12-18 09:52:54 +00:00
Clément Oudot
59c8adde04 Allow to get display type in Multi backend (#529) 2012-09-09 21:37:49 +00:00
Clément Oudot
ef1b06603e Fix Multi backend unit test (#519) 2012-09-09 20:54:48 +00:00
Xavier Guimard
0d54c80fcc Make tidy 2012-07-26 02:47:27 +00:00
Sandro Cazzaniga
c7d7369215 * [LEMONLDAP-412] Make a pretty print for password expiration warning time 2012-07-16 13:06:16 +00:00
Sandro Cazzaniga
17d0f0a557 * [LEMONLDAP-412] Password policy expiration warning time is now friendly diplayed 2012-07-16 09:58:27 +00:00
Sandro Cazzaniga
4019055b70 add a test on checkCaptcha method 2012-07-05 07:33:15 +00:00
Sandro Cazzaniga
1c46ce953d add an unary test for captcha methods 2012-07-04 15:18:48 +00:00
François-Xavier Deltombe
cb06f50860 Changes in tests for requests checking (Lemonldap-467) 2012-05-24 15:12:45 +00:00
François-Xavier Deltombe
691636efdf Remove AuthLDAP dependency in AuthSSL (LEMONLDAP-376) 2012-03-14 11:18:58 +00:00
Clément Oudot
979d1abe62 Tidy all the code (make tidy) 2012-02-29 13:19:57 +00:00
Clément Oudot
56581a13fc Reorganize files - work in progress (#444) 2012-02-28 22:52:36 +00:00