Christophe Maudoux
5985e6d258
Fix REST service ( #1870 )
2019-08-17 17:11:28 +02:00
Christophe Maudoux
b1c637cfca
Revert "Append a custom param to be logged ( #1885 )"
...
This reverts commit 1e838f0487
2019-08-16 15:28:47 +02:00
Christophe Maudoux
1e838f0487
Append a custom param to be logged ( #1885 )
2019-08-16 15:25:21 +02:00
Christophe Maudoux
78a82dbee9
Override OTT conf. for Upgrade tokens ( #1884 )
2019-08-15 22:01:44 +02:00
Christophe Maudoux
09158f0084
Return whatToTrace instead of uid & Fix + Append unit test ( #1664 )
2019-08-10 12:38:25 +02:00
Christophe Maudoux
13378c3150
Fix unit test ( #1870 )
2019-08-09 23:28:43 +02:00
Christophe Maudoux
869dbb9e42
Fix unit test ( #1870 )
2019-08-09 23:15:34 +02:00
Maxime Besson
daa03a9a9c
OIDC: tie client_id to authorization code ( #1881 )
2019-08-09 13:54:53 +02:00
Christophe Maudoux
d565dc66c3
Improve unit test ( #1878 )
2019-08-07 23:03:49 +02:00
Christophe Maudoux
9dac92064c
Better fix & update unit tests ( #1861 )
2019-08-07 22:29:12 +02:00
Christophe Maudoux
7aad470586
Delete pdata cookie after XML notif validation & Improve unit test ( #1861 )
2019-08-06 22:29:48 +02:00
Christophe Maudoux
c630a90064
Delete pdata cookie after notif validation & Improve unit test ( #1861 )
2019-08-06 22:25:09 +02:00
Christophe Maudoux
742e7417d4
Better fix ( #1867 )
2019-08-06 21:04:52 +02:00
Christophe Maudoux
bf20db03b9
Improve unit test & fix ( #1867 )
2019-08-04 22:39:14 +02:00
Christophe Maudoux
ede8e28761
Typo
2019-08-04 22:39:14 +02:00
Maxime Besson
af602f91d6
Unit test for #1873
2019-08-04 19:31:48 +02:00
Christophe Maudoux
1422c28c0b
Improve fix & unit test ( #1874 )
2019-08-03 23:49:02 +02:00
Christophe Maudoux
6cf1c83151
Fix & Improve unit test ( #1874 )
2019-08-03 22:48:07 +02:00
Christophe Maudoux
c827418fef
Improve unit test ( #1874 )
2019-08-03 22:33:30 +02:00
Christophe Maudoux
44a6f2c960
Typo
2019-08-03 22:33:02 +02:00
Christophe Maudoux
5cb5406246
Typo ( #1862 )
2019-08-02 23:23:07 +02:00
Christophe Maudoux
3821e9e7d2
Append unit test ( #1867 )
2019-08-02 23:10:40 +02:00
Christophe Maudoux
6658204c7f
Improve unit test ( #1862 )
2019-08-02 23:09:51 +02:00
Christophe Maudoux
6c408ff0fb
Typo
2019-08-02 22:57:54 +02:00
Christophe Maudoux
46208d74fe
Improve unit test ( #1870 )
2019-08-02 21:58:08 +02:00
Maxime Besson
0febdda551
Fix unit tests
2019-08-02 18:03:10 +02:00
Christophe Maudoux
529c17042c
Improve unit test ( #1870 )
2019-08-01 20:26:50 +02:00
Maxime Besson
c1afdbefac
Add labels and logos to all 2F providers ( #1873 )
2019-08-01 17:27:14 +02:00
Christophe Maudoux
6a625c265c
Improve unit test ( #1862 )
2019-07-26 17:49:35 +02:00
Christophe Maudoux
ec199c9100
Improve unit test ( #1851 )
2019-07-26 17:49:35 +02:00
Christophe Maudoux
65a5a1d41b
Improve unit test ( #1851 )
2019-07-25 12:00:51 +02:00
Christophe Maudoux
11f2d0f34a
Improve notifications REST API & unit test ( #1851 )
2019-07-23 15:54:53 +02:00
Maxime Besson
d82f776df8
Allow multi instanciation of 2F modules ( #1860 )
...
This commit adds a manager interface to declare multiple instances of a
single 2F module, in a manner similar to Combination.
An additional portal code reads the `sfExtra` variable to load the
declared modules.
An empty rules means the module will be always active.
2019-07-22 19:30:37 +02:00
Christophe Maudoux
6d0967f16f
Improve unit test ( #1851 )
2019-07-22 15:40:16 +02:00
Christophe Maudoux
05cb1e1c91
Revert test-lib ( #1851 )
2019-07-22 15:39:04 +02:00
Christophe Maudoux
81aa2fb37b
Improve test-lib & unit test ( #1851 )
2019-07-21 23:23:20 +02:00
Christophe Maudoux
3972861ba4
WIP - Improve unit test & need to fix list notifications feature!!! ( #1851 )
2019-07-21 22:47:48 +02:00
Christophe Maudoux
3e50fbca20
Improve unit test ( #1851 )
2019-07-21 22:35:23 +02:00
Christophe Maudoux
34039ef7ef
Improve test-lib & unit test ( #1851 )
2019-07-21 21:56:09 +02:00
Christophe Maudoux
27116ca1af
Improve unit tests & update version ( #1853 )
2019-07-19 10:09:07 +02:00
Christophe Maudoux
b9aa198188
Improve unit test ( #1856 )
2019-07-18 13:38:10 +02:00
Christophe Maudoux
36a547cba5
Typo ( #1857 )
2019-07-18 13:12:12 +02:00
Christophe Maudoux
b6be20f988
Improve unit test ( #1857 )
2019-07-18 13:05:16 +02:00
Christophe Maudoux
304e511b66
Improve unit test ( #1857 )
2019-07-17 12:06:21 +02:00
Christophe Maudoux
24a1fdcdb9
Improve unit test ( #1857 )
2019-07-17 11:58:49 +02:00
Christophe Maudoux
b56331c649
Typo
2019-07-17 11:58:22 +02:00
Xavier Guimard
0b5fc64b0e
Keep original PATH_INFO during notification process ( Fixes : #1852 )
2019-07-12 10:34:38 +02:00
Xavier Guimard
a1df1157f4
Render CDA compatible with Try ( Fixes : #1849 )
2019-07-10 10:40:32 +02:00
Clément OUDOT
9b98893c44
Manage claims in ID token if no access token requested ( #1846 )
2019-07-08 15:15:13 +02:00
Clément OUDOT
ac618f551e
Prepare unit test for #1838
2019-07-08 14:26:13 +02:00
Christophe Maudoux
240617d8d8
Fix unit tests
2019-07-06 23:27:45 +02:00
Christophe Maudoux
619ea8258f
Improve unit test & fix warning - Expired sessions ( #1783 )
2019-07-06 23:00:24 +02:00
Christophe Maudoux
2d6c46920e
Fix & improve unit test ( #1844 )
2019-07-05 22:53:48 +02:00
Christophe Maudoux
2016abd2ee
Send pdata cookie to cross domain ( #1829 )
2019-07-04 21:49:28 +02:00
Xavier
ff6a3369a7
Fix warning
2019-07-03 22:34:48 +02:00
Xavier
2354a52e5f
Fix warning
2019-07-03 22:32:36 +02:00
Xavier Guimard
c1137edba8
make tidy with perltidy-20181120
2019-07-02 20:03:40 +02:00
Clément OUDOT
26c107cddb
Add unit test ( #1835 )
2019-07-02 17:47:27 +02:00
Clément OUDOT
7c7dad9ab6
Enforce ID token signature verification in unit test ( #1835 )
2019-07-02 17:27:17 +02:00
Xavier Guimard
f370255c3a
Fix Perl dependencies (see RT#129960)
2019-07-02 08:56:12 +02:00
Christophe Maudoux
b94cbe0144
Fix default value ( #1825 )
2019-07-01 13:28:01 +02:00
Christophe Maudoux
a1f5791e06
Merge branch '1783' into v2.0
2019-06-30 19:00:41 +02:00
Christophe Maudoux
5054f5ac95
Append unit test ( #1825 )
2019-06-29 21:13:08 +02:00
Christophe Maudoux
acd6e5513c
Improve unit test ( #1783 )
2019-06-29 00:16:37 +02:00
Christophe Maudoux
897d04ac93
Merge branch 'v2.0' into 1783
2019-06-28 22:05:48 +02:00
Xavier Guimard
44a6e25851
Improve cryptographic functions ( #1823 )
2019-06-28 10:30:37 +02:00
Christophe Maudoux
6519695797
Tidy ( #1783 )
2019-06-27 22:02:11 +02:00
Christophe Maudoux
bb39dca317
Append & update unit tests ( #1783 )
2019-06-27 21:54:14 +02:00
Christophe Maudoux
6510f854c8
Append unit test ( #1783 )
2019-06-27 21:13:10 +02:00
Maxime Besson
e1f927a195
Check service= parameter on CAS logout ( #1795 )
...
service= redirect URL is not checked when logging out from CAS, to avoid
insecure redirect attacks. The verification is only made if CAS access
control is enabled.
In order for this to work in common cases (applications redirects to an
unprotected page after logout), we add CAS App domains to the list of
globally trusted domains.
If your application wants to redirect to a third-party domain, it needs
to be added to LLNG's trustedDomains
2019-06-27 12:40:40 +02:00
Maxime Besson
5f9c4c231d
Add authenticated routes to 2FA for session upgrade ( #1822 )
2019-06-26 23:33:00 +02:00
Maxime Besson
98650cd9f0
Add unit test for #1821
2019-06-26 22:13:12 +02:00
Xavier Guimard
a42c5f9f71
Clean tests ( #1819 )
2019-06-26 13:17:26 +02:00
Xavier Guimard
e91f6df254
Fix test count ( #1813 )
2019-06-25 10:00:46 +02:00
Xavier Guimard
390ccb4f5b
Fix Apache::Session::REST::get_key_from_all_sessions when using CODE ( #1813 )
2019-06-25 09:48:15 +02:00
Xavier Guimard
ddde26fa1c
Add searchOn() in Apache::Session::REST ( #1813 )
2019-06-25 09:18:58 +02:00
Xavier
c5d6bc42b6
Add get_key_from_all_sessions in Apache::Session::REST ( #1813 )
2019-06-24 23:07:34 +02:00
Xavier
750eaafe65
Fix test rule to hide some warnings
2019-06-20 21:48:13 +02:00
Xavier
38bb0cedf6
Typo
2019-06-20 21:27:49 +02:00
Xavier
8bd2a6c244
Prove that sessionInfo() is launched by each UserDB in combination ( #1809 )
2019-06-20 21:17:29 +02:00
Xavier
2d5b38fb95
Fix LDAP schema path for Debian. This permits to enable LDAP tests during build
2019-06-19 09:22:44 +02:00
Xavier
05f2dc6993
Fix t/28-AuthChoice-and-password.t
2019-06-19 09:14:03 +02:00
Christophe Maudoux
9fa11709e6
Append options to use Notifications plugin & set notification reference ( #1796 )
2019-06-17 22:31:44 +02:00
Antoine ROSIER
dab5a9c3df
Improve displaying checkuser template and rewrite tests #1806
2019-06-17 14:56:31 +02:00
Christophe Maudoux
862116245d
Fix unit tests ( #1796 )
2019-06-16 23:01:13 +02:00
Christophe Maudoux
c3b3c281ad
Hide _2fDevices with REST services
2019-06-16 20:33:34 +02:00
Christophe Maudoux
d6f3dd459a
Display message ( #1796 )
2019-06-16 16:02:48 +02:00
Xavier
8cc2beb976
Fix #1799 test
2019-06-15 08:42:21 +02:00
Xavier
e30cf69053
Add #1799 test
2019-06-15 08:29:36 +02:00
Christophe Maudoux
5218944bf2
Improve unit tests ( #1796 )
2019-06-14 23:11:10 +02:00
Christophe Maudoux
fde6ff2cc8
WIP ( #1796 )
2019-06-14 23:09:32 +02:00
Xavier Guimard
65eaefa75f
Tidy
2019-06-14 17:23:26 +02:00
Xavier
bb0784b843
Typo
2019-06-13 22:15:46 +02:00
Xavier
8d642da8cb
Improve #1782
2019-06-13 22:10:30 +02:00
Xavier
c8696262ee
Test that proves that Choice can be embedded in Combination ( #1801 )
...
TODO: display fails
2019-06-13 19:58:34 +02:00
Xavier Guimard
2a021e37ea
Don't require getDisplayType in Choice ( #1800 )
2019-06-13 17:51:36 +02:00
Xavier Guimard
288fe5159c
Merge remote-tracking branch 'maxbes/issue1764-langsession' into v2.0
2019-06-13 09:59:33 +02:00
Maxime Besson
0cd12999dd
Make impersonation tests insensitive to ordering
2019-06-13 09:26:19 +02:00
Maxime Besson
1a66da30f9
Store portal language in _language user session key ( #1764 )
2019-06-13 09:26:19 +02:00
Christophe Maudoux
53daa6cee6
Improve unit tests ( #1782 )
2019-06-12 22:33:18 +02:00
Xavier
eef82808a2
Improve #1795 test
2019-06-11 21:49:27 +02:00
Xavier
a6aaf8a507
Add XSS test ( #1795 )
2019-06-11 21:30:15 +02:00
Maxime Besson
97d0bbf0aa
Fix CASv2 logout ( #1753 )
2019-06-11 16:18:15 +02:00
Xavier Guimard
9e932b525c
Merge branch 'issue1794-accentregister' into 'v2.0'
...
Register: better handling of special chars (#1794 )
See merge request lemonldap-ng/lemonldap-ng!78
2019-06-10 22:57:34 +02:00
Maxime Besson
f195db2a5a
Register: better handling of special chars ( #1794 )
2019-06-10 22:45:15 +02:00
Christophe Maudoux
e638f5ff58
Improve & rename unit test ( #1782 )
2019-06-10 20:56:22 +02:00
Christophe Maudoux
0fd070cbad
Append unit test ( #1791 )
2019-06-08 22:22:08 +02:00
Christophe Maudoux
e57de60ac2
Improve unit tests ( #1791 )
2019-06-08 22:09:32 +02:00
Christophe Maudoux
ee7af4aec0
Improve unit tests ( #1782 )
2019-06-07 19:51:51 +02:00
Xavier
f4bca7430a
Add addAuthRouteWithRedirect() method to Try ( #1787 )
2019-06-06 22:59:02 +02:00
Christophe Maudoux
59637200fd
Improve unit test ( #1774 )
2019-06-04 23:18:35 +02:00
Christophe Maudoux
2b21762a9a
Update unit tests ( #1774 )
2019-06-04 18:18:53 +02:00
Christophe Maudoux
02b7126d16
Append unit test ( #1780 )
2019-06-02 22:40:19 +02:00
Christophe Maudoux
0546af93e0
Append diag msg
2019-06-02 22:38:34 +02:00
Christophe Maudoux
5ce1220d76
Rename test file
2019-06-02 22:37:54 +02:00
Christophe Maudoux
9123cb0c35
Append unit test ( #1781 )
2019-06-01 23:22:48 +02:00
Christophe Maudoux
58c1a58129
Append unit test - Captcha ( #1769 )
2019-06-01 20:54:39 +02:00
Christophe Maudoux
9dfb0cffa3
Typo
2019-06-01 20:53:34 +02:00
Christophe Maudoux
fca77bbc7a
Append unit test ( #1769 )
2019-06-01 11:48:29 +02:00
Christophe Maudoux
dc4ca65d1b
Typo
2019-06-01 11:48:07 +02:00
Christophe Maudoux
a584fd1251
Improve unit test ( #1765 )
2019-05-31 21:26:09 +02:00
Christophe Maudoux
beecf460f9
Improve unit tests
2019-05-31 17:50:59 +02:00
Christophe Maudoux
35f1677747
Append unit test and fix CORS headers ( #1765 )
2019-05-31 17:50:44 +02:00
Christophe Maudoux
666aeeebbc
Improve unit test ( #1774 )
2019-05-31 00:06:26 +02:00
Christophe Maudoux
6b7748ca40
Improve unit test ( #1774 )
2019-05-30 23:59:47 +02:00
Christophe Maudoux
2be32cfb40
Improve & append unit test ( #1774 )
2019-05-30 12:29:51 +02:00
Christophe Maudoux
3e2a6aeb34
Append unit test ( #1774 )
2019-05-30 12:26:50 +02:00
Christophe Maudoux
8e19bc2279
Diag msg ;-)
2019-05-29 00:09:23 +02:00
Christophe Maudoux
a89f83294b
Retrieve session from DB if exists & Improve unit test ( #1774 )
2019-05-28 23:55:54 +02:00
Xavier
e4174be166
Increase timeout ( #1777 )
2019-05-28 21:51:11 +02:00
Xavier
ead61416e0
Add test for #1777
2019-05-28 21:50:07 +02:00
Christophe Maudoux
b8d242464d
Improve unit tests ( #1775 )
2019-05-27 22:42:02 +02:00
Christophe Maudoux
621603d312
Improve unit test ( #1771 )
2019-05-26 17:28:16 +02:00
Christophe Maudoux
0b9695e5b9
Rename unit tests (69 already used by FavApps plugin)
2019-05-26 12:57:39 +02:00
Christophe Maudoux
ab0bab22c6
Improve Impersonation unit tests
2019-05-26 12:56:33 +02:00
Maxime Besson
c65e22dcf8
Add missing Finnish flag
...
And some unit tests to make all language have a matching flag icon
2019-05-24 15:18:49 +02:00
Christophe Maudoux
1bcf4e09af
Append double cookies and refresh request unit tests ( #1747 )
2019-05-20 23:05:47 +02:00
Christophe Maudoux
a03301fabd
Tidy ( #1749 )
2019-05-20 23:03:10 +02:00
Christophe Maudoux
dbb2aa093e
Append double cookies unit tests ( #1749 )
2019-05-19 21:52:46 +02:00
Christophe Maudoux
2b49ce5bd0
Append DoubleCookies unit test & Update manifest ( #1749 )
2019-05-19 14:06:43 +02:00
Xavier
b91d1d4b87
Tidy
2019-05-16 20:45:14 +02:00
Christophe Maudoux
c20c14ac95
Append unit test ( #1755 )
2019-05-15 23:50:28 +02:00
Christophe Maudoux
e46fac82b2
CheckUser with tokenGlobalStorage & Warn if SSO groups are merged
2019-05-15 23:45:06 +02:00
Clément OUDOT
05cd4d4a58
Fix update token with global storage ( #1742 )
2019-05-12 20:39:25 +02:00
Xavier
9a71709f44
Tidy
2019-05-11 23:03:48 +02:00
Christophe Maudoux
a93caace4b
Improve unit test ( #1746 )
2019-05-11 23:01:52 +02:00
Christophe Maudoux
8737fc0808
Impersonation with doubleCookie & Append unit test ( #1746 )
2019-05-11 22:57:52 +02:00
Xavier
f3c4ea0afb
Tydy
2019-05-11 20:18:43 +02:00
Xavier
fe4fe6a7d3
Add security test ( #1742 )
2019-05-11 15:56:17 +02:00
Xavier
6235b303b3
#1742 in progress...
2019-05-11 09:31:17 +02:00
Xavier
22acb06555
Test to prove that #1743 is fixed
2019-05-10 18:50:20 +02:00
Christophe Maudoux
c40857f747
Improve unit test ( #1664 )
2019-05-04 12:32:38 +02:00
Christophe Maudoux
99e80a1c4b
Improve unit test ( #1730 )
2019-05-03 21:43:49 +02:00
Christophe Maudoux
789cbbb340
Fix unit test
2019-05-01 23:39:22 +02:00
Christophe Maudoux
409f845dd2
Improve unit test ( #1664 )
2019-04-30 14:57:45 +02:00
Christophe Maudoux
04aae64a9f
Improve unit test
2019-04-29 22:33:11 +02:00
Christophe Maudoux
4f430ca4be
Improve unit test
2019-04-29 22:33:11 +02:00
Clément OUDOT
8e6f678be7
Create a configuration option to allow a Relying Party to be a public client
...
Allow unauthenticated requests on OAuth2 token endoint
#1725
2019-04-29 10:02:16 +02:00
Maxime Besson
2f9e6aa623
Allow override of username attribute for CAS apps
...
Global CAS options allows the admistrator to set the session attribute
that gets exported to all CAS application as the main identifier
(cas:user)
This commit adds the ability to override this configuration for a
particular CAS application.
OIDC already allows this
Fixes #1713
2019-04-28 21:06:34 +02:00
Maxime Besson
62f16721ff
Send username when calling CAS1.0 validation
...
Fixes #1724
2019-04-28 19:29:54 +02:00
Christophe Maudoux
69444b701b
Improve unit test ( #1712 )
2019-04-16 21:13:02 +02:00
Christophe Maudoux
d9af0529db
Improve unit test ( #1712 )
2019-04-15 23:03:56 +02:00
maudoux
214dc44232
Improve unit test ( #1704 )
2019-04-13 21:02:47 +02:00
Xavier
bc6f321b60
Don't fail when DBI isn't available. Fixes: RT#129128
2019-04-11 22:29:34 +02:00
Clément OUDOT
c2a4454f93
Add possibility to manually skip GPG test
2019-04-11 12:43:58 +02:00
Clément OUDOT
4db9839850
Fix some warnings in tests
2019-04-11 11:58:21 +02:00
Clément OUDOT
6b2920522d
Backport code to run test on CentOS 7
2019-04-11 11:18:22 +02:00
maudoux
41c40cec02
Improve unit test ( #1704 )
2019-04-10 23:03:17 +02:00
maudoux
74a3b4a242
Improve unit test ( #1704 )
2019-04-10 22:50:34 +02:00
Xavier
046585020f
Allow hashes in Combination module overload ( Closes : #1707 )
2019-04-09 21:01:55 +02:00
Christophe Maudoux
f1cb8d236e
Checkuser case unsensitive for URL only & Improve unit test (1667)
2019-04-09 16:56:00 +02:00
Xavier
0385422d69
Improve #1700 test
2019-04-09 07:16:05 +02:00
Xavier
577d4d0469
Improve #1700 test
2019-04-08 22:30:35 +02:00
Xavier
0ea69bb87d
Improve #1700 test
2019-04-08 21:56:35 +02:00
Xavier
ce00317db8
Add AuthBasic test ( #1700 )
2019-04-08 21:52:59 +02:00
maudoux
046d740109
Fix regex unit tests ( #1664 )
2019-04-06 21:45:07 +02:00
maudoux
2fabde045b
Fix RexExp in unit test ( #1694 )
2019-04-06 14:09:58 +02:00
Maxime Besson
666e59ad6e
Fix #1698 by clearing saml request token on unauth issuer flow
...
Add some unit tests to make sure relevant pdata is cleared after authentication
2019-04-05 23:27:21 +02:00
Christophe Maudoux
64952d670e
Improve unit test ( #1664 )
2019-04-05 20:02:24 +02:00
maudoux
72bee11c2a
Improve unit test ( #1694 )
2019-04-03 23:27:45 +02:00
Xavier Guimard
ece9b21219
Remove trailing whitespaces
2019-04-03 14:15:16 +02:00
Maxime Besson
4b0994af35
Add unit test for #1668 with multiple SP
2019-04-03 11:20:24 +02:00
Maxime Besson
730da67c44
Add HTTP-Redirect unit test for #1671
2019-04-03 11:20:24 +02:00
maudoux
e4bc7c55d6
Improve unit test ( #1664 )
2019-04-02 22:08:15 +02:00
Clément OUDOT
a805a5a00b
Manage SLO responses ( #1671 )
2019-04-02 17:27:47 +02:00
Clément OUDOT
502a32e257
Add unit test and fix code for ppolicy grace ( #1691 )
2019-04-01 09:58:56 +02:00
Maxime Besson
3575e0ef23
Clear url pdata on CDA redirection
...
Fixes #1650
2019-03-19 19:15:47 +01:00
Clément OUDOT
8a9a5b0b3a
New method to override messages with JSON files ( #1595 )
2019-03-19 17:39:13 +01:00
Clément OUDOT
447c09c0a2
Remove old translation file ( #1595 )
2019-03-19 15:38:36 +01:00
Clément OUDOT
9798c78068
Remove userData if authentication fails ( #1666 )
2019-03-18 21:29:15 +01:00
Clément OUDOT
4366488fb6
Adapt GrantSession plugin to display authentication error on login form ( #1666 )
2019-03-18 11:53:30 +01:00
Clément OUDOT
d620ae2e8b
Merge branch 'maxbes/lemonldap-ng-saml-issuer-entityid-override' into v2.0
2019-03-13 10:30:16 +01:00
Clément OUDOT
dee4818f0c
Merge branch 'issue1543' into 'v2.0'
...
Save Urldc when using SAML Discovery
See merge request lemonldap-ng/lemonldap-ng!62
2019-03-13 10:19:14 +01:00
Maxime Besson
8f5fbb077e
When logout-initiating SP has no known SLO endpoint, fallback to portal
...
In some federations, SLO endpoints are not published, yet SP are still
able to initiate logouts.
This used to cause an error on the portal, this commit changes the error
into a warning in logs. The user remains on the portal and sees a normal
logout message.
2019-03-12 17:58:41 +01:00
Christophe Maudoux
83603ebee9
Typo
2019-03-12 16:29:38 +01:00
Christophe Maudoux
27d3d165ec
Improve unit test ( #1658 )
2019-03-12 10:24:31 +01:00
Christophe Maudoux
772b82cd94
Improve unit test ( #1664 )
2019-03-11 22:53:58 +01:00
Maxime Besson
257d329151
Fix display of ok/nok image during multi-sp saml logout
2019-03-11 18:13:06 +01:00
Christophe Maudoux
58ec712481
Fix debug mode ( #1658 )
2019-03-10 22:58:23 +01:00
Christophe Maudoux
4ae85e2c97
Tidy
2019-03-10 22:55:21 +01:00
Christophe Maudoux
bb79385a84
Improve unit test ( #1664 )
2019-03-10 22:53:41 +01:00
Christophe Maudoux
19c26e2cd0
Improve unit test ( #1658 )
2019-03-10 22:53:26 +01:00
Christophe Maudoux
c48fbf8beb
Improve unit tests ( #1669 )
2019-03-10 22:23:12 +01:00
Christophe Maudoux
6dd9105d0a
Improve unit tests ( #1658 )
2019-03-10 22:02:19 +01:00
Christophe Maudoux
30081e9971
Fix unit test ( #1658 )
2019-03-09 23:52:25 +01:00
Xavier Guimard
bc2bef4ff4
Please use our .perltidyrc
2019-03-07 18:22:58 +01:00
Christophe Maudoux
09996f9894
Improve unit test ( #1667 )
2019-03-07 15:23:57 +01:00
Christophe Maudoux
6e50f41687
Fix session update ( #1664 )
2019-03-06 21:29:03 +01:00
Christophe Maudoux
e32e5adf59
Append unit test ( #1664 )
2019-03-06 21:28:45 +01:00
Christophe Maudoux
e506c5cc58
Using current session if exists ( #1664 )
2019-03-06 19:26:32 +01:00
Christophe Maudoux
13fdc5eda8
Append unit test ( #1664 )
2019-03-06 17:58:09 +01:00
Xavier Guimard
26b80873be
Modify Try.pm to handle authorizations ( #1658 )
2019-03-05 21:11:07 +01:00
Christophe Maudoux
6ba5c4b530
Update unit test ( #1658 )
2019-03-05 19:42:29 +01:00
Christophe Maudoux
556cfcf355
Fix unit test ( #1664 )
2019-03-04 22:00:07 +01:00
Christophe Maudoux
419489fa08
Improve unit test ( #1664 )
2019-03-04 21:28:21 +01:00
Maxime Besson
58a823c222
Add unit tests for metadata generation
2019-03-04 09:33:12 +01:00
Christophe Maudoux
f8160f2130
Append unit test ( #1658 )
2019-03-02 13:11:56 +01:00
Christophe Maudoux
f3617ef947
Append unit test ( #1658 )
2019-03-01 21:46:35 +01:00
Maxime Besson
756cf38159
Add unit tests
2019-03-01 10:18:57 +01:00
dcoutadeur
ba9dc8863f
add test to fix 'id_token validity not correctly evaluated' #1662
2019-02-28 10:37:51 +01:00
Christophe Maudoux
9fafa1d8d5
Override msg with local json files ( #1595 )
2019-02-20 23:22:56 +01:00
Christophe Maudoux
53eb78c53d
Update unit test ( #1595 )
2019-02-19 23:03:40 +01:00
Christophe Maudoux
a28310956e
Append unit test ( #1632 )
2019-02-16 22:00:25 +01:00
Christophe Maudoux
46f685f9b2
Improve unit test ( #1632 )
2019-02-14 22:09:59 +01:00
Xavier Guimard
77ccc9bbc3
Skip GPG test if gpg install fails. Fixes debci
...
See https://bugs.debian.org/922265
2019-02-14 16:39:27 +01:00
Xavier Guimard
095f9c67fd
Fix LDAP policy test ( Closes : #1639 )
2019-02-12 12:00:49 +01:00
Clément OUDOT
0686a0844c
Use a DSA account to test ppolicy ( #1639 )
2019-02-12 09:23:09 +01:00
Xavier Guimard
b3969ba84c
Try PE_PP_PASSWORD_TOO_SHORT => fail ( #1639 )
2019-02-12 09:00:21 +01:00
Clément OUDOT
e7dbc48623
Add password min length policy in slapd test server ( #1639 )
2019-02-11 21:16:54 +01:00
Xavier Guimard
e728e0f415
Fix test count when TESTLDAP is not set ( #1639 )
2019-02-11 16:19:35 +01:00
Xavier Guimard
eb9500023e
Add test for "lock" ( #1639 )
2019-02-11 16:12:49 +01:00
Xavier Guimard
e001cc4069
Enable test for "expire" too
2019-02-11 16:03:37 +01:00
Xavier Guimard
3069887a52
Call PasswordDB::LDAP if unauth user requests changing password ( #1639 )
2019-02-11 15:40:27 +01:00
Xavier Guimard
562526dd89
Improve LDAP reset test ( #1639 )
2019-02-11 14:26:41 +01:00
Clément OUDOT
6cb587596c
Add LDAP password ppolicies in slapd test server ( #1639 )
2019-02-11 10:34:00 +01:00
Christophe Maudoux
060190758f
Improve unit test ( #1625 )
2019-02-10 22:32:47 +01:00
Christophe Maudoux
d804ce2ba5
Improve unit test ( #1625 )
2019-02-10 22:29:50 +01:00
Christophe Maudoux
1f11f31532
Improve unit test ( #1625 )
2019-02-10 11:35:15 +01:00
Christophe Maudoux
e457685e63
Improve unit test ( #1625 )
2019-02-10 11:17:23 +01:00
Christophe Maudoux
2fcc91f72d
Merge branch 'v2.0' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng into v2.0
2019-02-09 23:06:02 +01:00
Christophe Maudoux
64e6c20f9f
Improve unit test ( #1595 )
2019-02-09 23:05:51 +01:00
Xavier Guimard
1293643a76
Materialize failure #1639
2019-02-09 20:59:03 +01:00
Xavier Guimard
759c93b595
Full test for #1639
2019-02-09 20:53:24 +01:00
Xavier Guimard
9208beba38
Test skeleton for #1639
2019-02-09 09:49:21 +01:00
Christophe Maudoux
2ce4e982c9
Error level
2019-02-07 17:21:56 +01:00
Christophe Maudoux
8b995f55bf
Restore OpenID activation global rule & Improve unit test ( #1625 )
2019-02-07 17:21:14 +01:00
Christophe Maudoux
b1048043e9
Restore GET activation global rule & Improve unit test ( #1625 )
2019-02-07 17:16:29 +01:00
Xavier Guimard
c7b4eb5051
tidy with new conf
2019-02-07 09:27:56 +01:00
Christophe Maudoux
5055b18087
Restore OIDC activation global rule ( #1625 ) & Improve unit test
2019-02-06 23:10:10 +01:00
Christophe Maudoux
f3bbc0e44e
Improve unit test ( #1625 )
2019-02-06 22:54:41 +01:00
Christophe Maudoux
007a5432f9
Restore CAS activation global rule ( #1625 )
2019-02-06 22:16:34 +01:00
Christophe Maudoux
d0ba478b6e
Improve unit test ( #1637 )
2019-02-06 13:13:24 +01:00
Christophe Maudoux
70994bd7db
Merge branch 'v2.0' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng into v2.0
2019-02-05 23:37:46 +01:00
Christophe Maudoux
24e58fafc9
Improve unit test ( #1637 )
2019-02-05 23:32:55 +01:00
Xavier Guimard
5886cbe2a0
Tidy
2019-02-05 23:12:17 +01:00
Xavier Guimard
d4ce3950ad
Improve test skips
2019-02-05 10:35:42 +01:00
Christophe Maudoux
29b293395a
Improve unit test ( #1628 )
2019-02-04 19:20:28 +01:00
Christophe Maudoux
8c409fc51d
Fix error msg & Improve unit test ( #1628 )
2019-02-04 17:40:18 +01:00
Christophe Maudoux
7ce7db37af
Rename unit test ( #1629 )
2019-02-04 12:17:10 +01:00
Christophe Maudoux
d14f0ff384
Improve RexEp ( #1629 )
2019-02-04 12:14:31 +01:00
Xavier Guimard
2a7171381b
Accept old gpg syntax ( Closes : #1569 )
2019-02-03 23:10:12 +01:00
Christophe Maudoux
e41be10a23
Improve RegExp ( #1629 )
2019-02-03 21:48:49 +01:00
Christophe Maudoux
fcac69fe7a
Merge branch 'v2.0' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng into v2.0
2019-02-03 20:05:40 +01:00
Christophe Maudoux
153084118f
Fix SSL/Kerberos Auth with Choice & Improve unit tests ( #1636 )
2019-02-03 20:05:28 +01:00
Maxime Besson
f35a7c305a
Add Mail second factor plugin
2019-02-03 14:46:40 +01:00
Christophe Maudoux
a084ba3c84
Improve unit tests ( #1605 )
2019-02-02 22:23:56 +01:00
Christophe Maudoux
9987d28ac3
Fix SSL/Kerberos Auth with Choice & Improve unit tests ( #1636 )
2019-02-02 21:31:37 +01:00
Christophe Maudoux
dba550b6a9
Fix SSL/Kerberos Auth with Choice ( #1636 )
2019-02-02 19:06:18 +01:00
Christophe Maudoux
08647bb96a
Improve unit test ( #1636 )
2019-02-02 15:34:24 +01:00
Christophe Maudoux
832d7d87c8
Fix AuthSSL with Choice ( #1636 )
2019-02-01 23:54:20 +01:00
Christophe Maudoux
96b93a56c1
Partial revert rename parameters ( #1605 )
2019-01-24 19:45:43 +01:00
Christophe Maudoux
e555e2409b
Disable autocompletion in 2FA forms ( #1609 )
2019-01-09 19:01:49 +01:00
Xavier Guimard
1e3ab69be3
Add minimal Auth::GPG
2018-12-21 16:07:28 +01:00
Christophe Maudoux
f42fbdac16
Improve unit test ( #1587 )
2018-12-18 11:16:34 +01:00
Christophe Maudoux
3d08f13da4
Improve unit test ( #1585 )
2018-12-15 16:37:04 +01:00
Christophe Maudoux
e08d0a78e6
Fix unit tests ( #1506 )
2018-12-13 00:12:49 +01:00
Christophe Maudoux
aa45cf148a
Append bruteForce Protection number of allowed failed Login parameter ( #1506 )
2018-12-12 23:51:33 +01:00
Clément OUDOT
5a0bf72dfd
Fix warnings in RPM build ( #1559 )
2018-11-29 21:36:54 +01:00
Xavier Guimard
74fb013e73
Fix some warnings
2018-11-29 21:19:39 +01:00
Xavier Guimard
02f8c41030
Fix little warnings ( #1559 )
2018-11-29 17:00:28 +01:00
Christophe Maudoux
7c1162dd1f
Improve unit test
2018-11-26 21:59:40 +01:00
Christophe Maudoux
545a6485ae
Improve unit test
2018-11-26 21:38:59 +01:00
Xavier Guimard
6aee861c4d
spelling errors
2018-11-26 14:41:48 +01:00
Xavier Guimard
11857d9f8a
make tidy
2018-11-26 14:40:21 +01:00
Christophe Maudoux
61399a5a5e
Improve unit test ( #1550 )
2018-11-23 23:04:47 +01:00
Christophe Maudoux
38b37600c8
Improve unit test ( #1550 )
2018-11-21 21:35:43 +01:00
Christophe Maudoux
2d1e56467e
Improve unit test ( #1550 )
2018-11-21 21:32:03 +01:00
Christophe Maudoux
b1fe73be96
Fix unit test
2018-11-20 22:49:51 +01:00
Christophe Maudoux
0f29f458bf
Improve unit test
2018-11-20 22:35:44 +01:00
Christophe Maudoux
dd4bf53ed8
Improve unit test ( #1508 )
2018-11-16 22:02:43 +01:00
Xavier Guimard
642e98e180
Fix some missing "lazy" ( #1545 )
2018-11-16 17:30:57 +01:00
Xavier Guimard
69cdd66444
Password::Choice wasn't called ( #1508 #1517 )
2018-11-16 15:08:27 +01:00
Christophe Maudoux
870ef88284
Set tempo
2018-11-15 22:55:53 +01:00
Christophe Maudoux
7416dc7e65
Typo
2018-11-15 21:16:58 +01:00
Christophe Maudoux
3980070aa3
Unit test -> debug
2018-11-15 19:38:23 +01:00
Christophe Maudoux
b1747a95df
Display form again when an error occures ( #1508 )
2018-11-15 19:26:16 +01:00
Christophe Maudoux
f98734adba
Unit test -> debug
2018-11-14 23:02:13 +01:00
Christophe Maudoux
b1d2d061c6
Improve unit test ( #1508 )
2018-11-14 22:52:52 +01:00
Christophe Maudoux
91ffd2955a
Improve unit test ( #1508 )
2018-11-13 23:45:57 +01:00
Xavier Guimard
e317d180b9
Fix MailReset for DBI ( #1508 )
...
Same todo with other Password::* backends
2018-11-13 11:30:45 +01:00
Xavier Guimard
61eb91b7aa
Store pdata in mailToken ( #1508 )
2018-11-13 06:53:21 +01:00
Xavier Guimard
107805d03b
Add MailReset+Choice test ( #1508 )
2018-11-10 09:37:33 +01:00
Christophe Maudoux
63fc2dbf27
Improve unit tests ( #1509 )
2018-11-09 21:36:55 +01:00
Christophe Maudoux
ce7629e86e
Improve unit tests ( #1539 )
2018-11-07 22:27:58 +01:00
Christophe Maudoux
723ea51979
Improve unit test ( #1532 )
2018-11-03 23:30:45 +01:00
Christophe Maudoux
6c02e92d8b
Improve unit test ( #1532 )
2018-11-03 23:19:25 +01:00
Christophe Maudoux
4b3d110ec2
Improve unit test ( #1515 )
2018-11-03 23:01:29 +01:00
Christophe Maudoux
de55085a47
Improve unit test ( #1534 )
2018-11-03 22:55:20 +01:00
Christophe Maudoux
bf51bd868b
Improve unit tests (store & bypass oidcConsent ( #1533 )
2018-10-30 23:22:20 +01:00
Clément OUDOT
badc7a0cad
Add AD password module ( #1530 )
2018-10-29 18:35:25 +01:00
Clément OUDOT
f31b60cf98
No more pdata in CAS gateway mode test ( #1528 )
2018-10-29 08:09:03 +01:00
Christophe Maudoux
d28991ec6b
Append unit tests ( #1509 )
2018-10-23 23:39:28 +02:00
Christophe Maudoux
52ac044205
Improve unit tests ( #1515 )
2018-10-21 22:51:41 +02:00
Christophe Maudoux
799e6cfa3c
Fix unit test ( #1515 )
2018-10-21 22:15:26 +02:00
Christophe Maudoux
2e658fd557
Append old LLNG logo & Fix unit tests ( #1515 )
2018-10-21 22:12:56 +02:00
Christophe Maudoux
ef53a04549
Improve unit test to pass auto-dpkg tests ?
2018-10-19 20:57:53 +02:00
Clément OUDOT
30b7ce6396
Use main logo in mails ( #1515 )
2018-10-17 10:43:41 +02:00
Christophe Maudoux
300b68cba0
Improve unit tests ( #1515 & #1522 )
2018-10-16 22:09:14 +02:00
Christophe Maudoux
a0b71fe08a
Improve unit tests ( #1515 )
2018-10-16 21:49:07 +02:00
Christophe Maudoux
f0e230d8e0
Improve notification unit tests to avoid issue ( #1522 )
2018-10-15 22:07:41 +02:00
Christophe Maudoux
25ca799302
Improve unit test ( #1515 )
...
test main logo link
2018-10-13 23:09:59 +02:00
Christophe Maudoux
2e63096719
Improve history unit test - custom values ( #1501 )
2018-10-12 22:50:01 +02:00
Clément OUDOT
c5f9a7f95b
make tidy
2018-10-12 10:04:03 +02:00
Xavier Guimard
22c1b5532f
Improve test ( #1517 )
2018-10-09 22:45:40 +02:00
Xavier Guimard
7a2420370b
Add password change in Choice ( #1517 )
2018-10-09 22:42:43 +02:00
Christophe Maudoux
e0521cd470
perltidy
2018-10-07 15:40:45 +02:00
Christophe Maudoux
96e84e3ebb
Improve unit test - Custom msg with session data ( #1510 )
2018-10-07 15:38:02 +02:00
Christophe Maudoux
b075aa47a6
perltidy
2018-10-07 11:40:26 +02:00
Christophe Maudoux
44b5726ece
Append 2F unit tests & update manifest
2018-10-06 23:10:48 +02:00
Christophe Maudoux
5a832b57a7
Remove unuseful Perl version directive
2018-10-05 21:36:13 +02:00
Christophe Maudoux
65296a4bdf
perltidy ( #1507 )
2018-10-04 19:09:11 +02:00
Christophe Maudoux
db77f9bf3e
Append unit test ( #1507 )
2018-10-04 19:08:29 +02:00
Xavier Guimard
b82ae3f259
Missings unlink
2018-10-03 22:01:32 +02:00
Christophe Maudoux
6ad4b886b6
Improve unit test ( #1510 )
2018-10-02 20:40:55 +02:00
Christophe Maudoux
bcdd461f0b
Improve unit test ( #1510 )
2018-10-02 20:29:43 +02:00
Christophe Maudoux
8890aa05f7
Fix conf parameter name ( #1510 )
2018-10-01 15:20:41 +02:00
Christophe Maudoux
9387ed9778
Append unit test ( #1506 )
2018-09-28 23:04:03 +02:00
Xavier Guimard
6d96cd5531
Fix tests ( #1504 )
2018-09-26 19:59:23 +02:00
Xavier Guimard
999569c170
Provide WSDL in 2.0 ( #8 )
...
To use it, set "wsdlServer=1" in lemonldap-ng.ini
2018-09-26 07:28:29 +02:00
Christophe Maudoux
dff17f9dfe
WIP - Disable unit test ( #1506 )
2018-09-23 12:57:24 +02:00
Christophe Maudoux
31a689340d
Rename BruteForceProtection plugin ( #1506 )
2018-09-23 11:09:04 +02:00
Christophe Maudoux
d4d41d124c
Rename unit test & Update manifest
2018-09-22 22:39:15 +02:00
Christophe Maudoux
587fdfe708
Append BrutForceProtection unit test ( #1506 )
2018-09-22 22:34:14 +02:00
Christophe Maudoux
fd6bb12aa5
Improve unit test
2018-09-22 22:25:30 +02:00
Christophe Maudoux
5ce3559ed2
Update unit test
2018-09-22 20:37:51 +02:00
Christophe Maudoux
5494fd07fb
Improve unit test to check 'failedLogin' history ( #1501 )
2018-09-22 11:21:37 +02:00
Christophe Maudoux
5cc64d285f
Update unit tests with history
2018-09-09 23:37:40 +02:00
Christophe Maudoux
30697c8cd5
Modify tests to check login history
2018-09-09 23:18:49 +02:00
Xavier Guimard
c72c14b230
Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng
2018-09-06 11:31:01 +02:00
Xavier Guimard
739082083f
Add test framework doc
2018-09-06 11:23:49 +02:00
Christophe Maudoux
6e5f10be35
Improve 76-2F-Ext.t
2018-09-06 10:17:59 +02:00
Xavier Guimard
4c1434dfeb
Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng
2018-09-05 22:25:41 +02:00
Xavier Guimard
841c5ba504
Improve Debian autopkgtest tests
2018-09-05 22:24:23 +02:00
Christophe Maudoux
b23f96e268
Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng
2018-09-05 21:20:38 +02:00
Christophe Maudoux
766343062f
Append EXT2F unit test
2018-09-05 21:13:39 +02:00
Xavier Guimard
10ed38bd3a
Optimize notifications ( #1497 )
2018-09-05 13:35:50 +02:00
Xavier Guimard
6278398060
Move "afterData" entry point before "buildCookie" and add "endAuth" entrypoint ( #1497 )
...
TODO: optimize notifications
2018-09-05 09:22:20 +02:00
Xavier Guimard
62d5c7836c
make tidy
2018-09-02 17:31:58 +02:00
Christophe Maudoux
e173fec67d
Revert "Disable U2F"
...
This reverts commit cdda055c7b
2018-08-30 20:58:05 +02:00
Christophe Maudoux
cdda055c7b
Disable U2F
2018-08-30 20:54:20 +02:00
Christophe Maudoux
c0d6b25022
Append dependencies test
2018-08-30 19:53:45 +02:00
Christophe Maudoux
2672fa006b
Perltidy
2018-08-30 19:45:01 +02:00
Christophe Maudoux
9adb875c86
Append 2fregisters unit test
2018-08-30 19:11:57 +02:00
Christophe Maudoux
eeaa63283c
Append 2fregisters unit test
2018-08-30 00:24:03 +02:00
Christophe Maudoux
a40f9a39bc
Modify unit test to generate TOTP with an external app and validate LLNG TOTP formula. Require Authen::OATH module.
2018-08-21 20:58:24 +02:00
Christophe Maudoux
d65ea36f77
Modify log level
2018-08-21 17:52:05 +02:00
Christophe Maudoux
3e65711658
Append TOTP with 8 digits unit test & update MANIFEST
2018-08-21 17:51:28 +02:00
Xavier Guimard
9b39f2e44c
Add sfRequired test ( #1487 )
2018-08-15 22:28:09 +02:00
Xavier Guimard
f7144908e9
Fix CDC ( #1477 )
2018-08-02 22:00:41 +02:00
Christophe Maudoux
eae8326331
Disable unit test 95 to pass test ( #1464 )
2018-07-19 23:39:58 +02:00
Xavier Guimard
d1ee05540e
#1477 in progress
2018-07-19 08:38:51 +02:00
Xavier Guimard
22e5eb6986
Remove SAML redirection screen ( #1465 )
2018-07-18 08:02:48 +02:00
Xavier Guimard
16dfbed636
Tidy
2018-07-12 09:04:05 +02:00
Xavier Guimard
c118a60c1e
Fix "cancel" feature ( #1461 )
2018-07-10 11:43:36 +02:00
Xavier Guimard
aa1e9b44d5
Delete pdata on logout ( #1461 )
2018-07-06 12:15:14 +02:00
Xavier Guimard
0f7b3ca71d
make tidy
2018-07-05 23:00:40 +02:00
Xavier Guimard
b2620c2679
s/datas/data
...
datas => des données
data => les données
2018-07-05 22:56:16 +02:00
Xavier Guimard
1a6f717dfc
Use pdata in Choice ( #1461 )
2018-07-05 22:05:24 +02:00
Xavier Guimard
7b1fd1eae7
Escape pdata cookie value ( #1461 )
...
This fixes CI failure with Debian/stable
2018-07-05 21:22:47 +02:00
Xavier Guimard
d49cfb5f69
Remove hook ( #1461 )
2018-07-05 18:54:55 +02:00
Xavier Guimard
b790270794
Fix issuers use of pdata ( #1461 )
2018-07-05 18:45:29 +02:00
Xavier Guimard
d0bd437191
Fix some test problems with pdata ( #1461 )
2018-07-05 17:39:44 +02:00
Xavier Guimard
890ea8aa27
Remember path in issuer requests ( #1461 )
2018-07-05 15:54:41 +02:00
Xavier Guimard
e0b2797e70
In progress but federation proxy is broken ( #1461 )
2018-07-05 14:24:22 +02:00
Xavier Guimard
7ce1bd2d08
Trying to use pdata for issuers ( #1461 )
2018-07-04 22:54:09 +02:00
Xavier Guimard
4074b1b482
Add simple test for auth presistent data ( #1461 )
2018-07-04 17:42:37 +02:00
Clément OUDOT
60d05c48a5
Adpat test to bypass selection screen when only one SAML IDP ( #1465 )
2018-07-02 17:14:27 +02:00
Clément OUDOT
ece95d3da2
IDP choice template ( #1465 )
2018-06-29 17:51:39 +02:00
Xavier Guimard
33712dcf13
Set ignore system for issuers ( #1468 )
2018-06-29 14:31:43 +02:00
Xavier Guimard
e6ad687618
Change session key names between Auth and Issuer (SAML #1468 )
2018-06-29 06:50:31 +02:00
Christophe Maudoux
73f66df1e2
Modify test log level
2018-06-28 18:59:57 +02:00
Xavier Guimard
9ea5668232
#1468 in progress
2018-06-28 06:48:58 +02:00
Xavier Guimard
df1dd5aaa4
Trying to understand #1468
2018-06-27 22:41:15 +02:00
Xavier Guimard
a023c85bbc
More tests ( #1461 )
2018-06-26 23:27:00 +02:00
Xavier Guimard
1e2e056ad2
SAML->CAS ith Choice ( #1461 )
2018-06-26 22:26:56 +02:00
Xavier Guimard
9a56584830
SAML->CAS without Choice works now ( #1461 )
2018-06-26 22:07:16 +02:00
Xavier Guimard
28aedcd63c
Some errors in CAS ( #1461 )
2018-06-26 21:45:55 +02:00
Xavier Guimard
4246c5f278
Test skeleton for #1461
2018-06-26 13:33:33 +02:00
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
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