Commit Graph

859 Commits

Author SHA1 Message Date
Xavier Guimard
05977bca3b Fix replay list for Multi (may fix #992) 2016-04-14 10:51:06 +00:00
Xavier Guimard
ba1c54554c #595 in progress 2016-04-14 05:25:39 +00:00
Xavier Guimard
18d00d44b8 Reorganize templates (#595)
- mv *.tpl in site/templates
- manage external javascripts with bower
- mv the rest in site/static
2016-04-14 05:17:51 +00:00
Xavier Guimard
24d536b7d1 Menu in progress (#595) 2016-04-13 21:06:04 +00:00
Xavier Guimard
8cc77fc304 Menu in progress (#595) 2016-04-13 11:56:19 +00:00
Xavier Guimard
a1d177900f Start menu rewriting (#595) 2016-04-13 05:32:10 +00:00
Xavier Guimard
2f19ccb169 prepare display() for later Ajax usage (#595) 2016-04-11 05:12:39 +00:00
Xavier Guimard
a3866bc1cc Login template in progress (#595) 2016-04-11 05:00:34 +00:00
Xavier Guimard
132de79b58 Merge 1.9.1 changes 2016-04-10 21:29:59 +00:00
Xavier Guimard
6bd696aabd Trying to display menu (#595) 2016-04-10 11:33:27 +00:00
Xavier Guimard
479a3fac28 Login form is displayed (#595) 2016-04-10 07:20:54 +00:00
Xavier Guimard
6fad31a608 Update languages (#595) 2016-04-10 06:29:06 +00:00
Xavier Guimard
d6c9d20f2d Adapt templates to new translation (#595) 2016-04-10 06:29:04 +00:00
Xavier Guimard
4c800961cc Adapt templates to new translation (#595) 2016-04-10 06:29:00 +00:00
Xavier Guimard
51d3741123 Adapt templates to new translation (#595) 2016-04-10 06:28:56 +00:00
Xavier Guimard
0abcee5663 Import <lang> fields in json (#595) 2016-04-09 08:52:10 +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
e25d286b9a login.tpl (#595) 2016-04-07 05:21:55 +00:00
Xavier Guimard
8b444b497f Add bootstrap js (#595) 2016-04-07 05:21:53 +00:00
Xavier Guimard
ad43bd592f Update JQuery (#595) 2016-04-07 05:21:51 +00:00
Xavier Guimard
f4548758f3 More tests (#595) 2016-04-06 20:10:03 +00:00
Xavier Guimard
12fbce8ac2 Get ini parameters before conf reload (#595) 2016-04-06 20:10:01 +00:00
Xavier Guimard
7e34e4a47b Move templates in bootstrap dir (#595) 2016-04-06 20:10:00 +00:00
Xavier Guimard
9fc5edfe79 Login template skeleton 2016-04-06 12:01:55 +00:00
Xavier Guimard
099e7e9ff4 Log users even on error (#595) 2016-04-06 12:01:53 +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
b6f2946c22 Finish "onReload" call (#595) 2016-04-04 21:22:27 +00:00
Xavier Guimard
ca84a928db "onReload" system: handler reload calls portal reload (#595) 2016-04-04 21:22:25 +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
33569f8c8c Little bugs (#595) 2016-04-04 08:39:26 +00:00
Xavier Guimard
8d1c669a3b #595 in progress... 2016-04-04 05:08:26 +00:00
Xavier Guimard
a16d452a62 AuthDemo asks for auth (#595) 2016-04-03 16:51:23 +00:00
Xavier Guimard
ca16584d8b #595 in progress... 2016-04-03 16:27:22 +00:00
Xavier Guimard
80f17a91ea Compile macros and groups (#595) 2016-04-03 16:27:19 +00:00
Xavier Guimard
41d487ee1f Share sessionInfo with underlying handler (#595) 2016-04-03 16:27:17 +00:00
Xavier Guimard
1a16c2dbc8 First running test (#595) 2016-04-03 16:27:13 +00:00
Xavier Guimard
13051ce0af #595 in progress 2016-04-03 08:44:58 +00:00
Xavier Guimard
d3d6410646 #595 in progress 2016-04-03 06:33:50 +00:00
Xavier Guimard
eb4b72168b #595 in progress 2016-04-02 20:17:39 +00:00
Xavier Guimard
8af86353d7 #595 in progress 2016-04-01 10:46:12 +00:00
Xavier Guimard
78f074bd3d #595 in progress... 2016-04-01 10:10:42 +00:00
Xavier Guimard
b1d6dcd041 Typo 2016-04-01 05:31:55 +00:00
Xavier Guimard
acb6071206 New portal in progress... (#595) 2016-04-01 05:24:27 +00:00
Xavier Guimard
055e4a7f0e New process skeleton 2016-03-31 20:08:43 +00:00
Xavier Guimard
ce0f0d09c4 s/CAS_/CAS/ 2016-03-31 20:08:40 +00:00
Xavier Guimard
928c669dc4 New portal in progress... (#595) 2016-03-31 05:27:59 +00:00
Xavier Guimard
50f28ca6b9 Typo 2016-03-30 20:59:24 +00:00
Xavier Guimard
7529b9cc1d Portal js skeleton (#595) 2016-03-30 20:57:48 +00:00
Xavier Guimard
786f1c4252 Missing file (#595) 2016-03-30 20:34:17 +00:00
Xavier Guimard
898960b5b4 Manage javascripts by bower (#595) 2016-03-30 20:34:13 +00:00
Xavier Guimard
165eed1234 New portal in progress... (#595) 2016-03-30 20:01:24 +00:00
Xavier Guimard
d58795456c New portal in progress... (#595) 2016-03-30 19:51:15 +00:00
Xavier Guimard
a13e8870cd New portal in progress (#595) 2016-03-30 19:51:12 +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
fca652b75d New portal in progress (#595) 2016-03-30 05:47:38 +00:00
Xavier Guimard
d6cd2512d8 New portal in progress (#595) 2016-03-29 21:09:55 +00:00
Xavier Guimard
a11a5565ca Remove old unused module 2016-03-29 21:09:53 +00:00
Xavier Guimard
2244a8c208 Split PSGI 2016-03-28 07:46:05 +00:00
Xavier Guimard
6452347384 Portal PSGI in progress 2016-03-28 07:46:02 +00:00
Xavier Guimard
43cf53b2a2 Portal PSGI in progress (#595) 2016-03-27 18:17:01 +00:00
Xavier Guimard
9be52a6216 Portal PSGI in progress 2016-03-27 18:10:36 +00:00
Xavier Guimard
73f3fc0576 #595 in progress 2016-03-24 22:16:13 +00:00
Xavier Guimard
474abee86a Update manifest 2016-03-24 06:24:42 +00:00
Xavier Guimard
bd03549d88 PSGI portal skeleton (#595) 2016-03-24 06:23:40 +00:00
Xavier Guimard
2d2edb61ac Merge experimental branch (#960)
Also update version to 2.0
2016-03-17 22:19:44 +00:00
Clément Oudot
175367f96c Do not check pwdLastSet if user not found in AD (#980) 2016-03-16 12:48:08 +00:00
Xavier Guimard
a96f1efb5c Update manifest 2016-03-15 22:11:25 +00:00
Clément Oudot
d7ca34a2f2 Update version in META.yml (#978) 2016-03-15 16:58:13 +00:00
Xavier Guimard
49743e06fc Keep _session_id in SOAP requests (#977) 2016-03-14 06:22:00 +00:00
Xavier Guimard
afc48e45e5 Typo 2016-03-10 20:47:55 +00:00
Xavier Guimard
f82a230fc7 Update REST API 2016-03-08 06:16:36 +00:00
Xavier Guimard
640f6f3e86 Update REST API 2016-03-07 21:19:31 +00:00
Xavier Guimard
b700a73592 Update REST API 2016-03-07 21:12:15 +00:00
David COUTADEUR
04d1bf0eab first draft for portal REST API (references LEMONLDAP #970) 2016-03-07 17:52:14 +00:00
Xavier Guimard
ef48301771 Spelling errors 2016-03-05 08:42:06 +00:00
Xavier Guimard
7ac07074ae Update versions 2016-03-03 20:25:16 +00:00
Clément Oudot
221e91fa62 make cpan 2016-03-01 16:57:38 +00:00
Xavier Guimard
9d779015c0 Set pivotal variables (needed for status) 2016-03-01 14:26:37 +00:00
Clément Oudot
e6965c1c3c Better display of from URL message (#958) 2016-03-01 10:44:53 +00:00
Clément Oudot
fff8ba5baa Block redirection when error must be displayed (#958) 2016-03-01 10:40:45 +00:00
Xavier Guimard
067fdf1cab Replace french characters by HTML codes (#583) 2016-03-01 09:53:21 +00:00
Xavier Guimard
8134295c05 Clean strange hook (probably added for experimental Perl Nginx (#583) 2016-02-29 21:10:47 +00:00
Xavier Guimard
8c1bd8efeb Avoid using each(): it tries to delete key 2016-02-13 10:06:48 +00:00
Xavier Guimard
584de6373b Update portal to use modified status (#897) 2016-02-12 17:08:09 +00:00
Xavier Guimard
975063ba7f typo 2016-02-11 21:02:44 +00:00
Clément Oudot
59a262aa00 Force decoding of LDAP Manager password (#827) 2016-02-10 15:38:40 +00:00
Clément Oudot
e19bb1e192 Do not import encode_base64url and decode_base64url from MIME::Base64 (#932) 2016-02-09 11:13:25 +00:00
Xavier Guimard
9097135ecd Spelling errors 2016-02-06 18:41:21 +00:00
Clément Oudot
e4f66952b3 Put input inside label for notifications checkbox (#LEMONDAP-925) 2016-02-04 12:58:23 +00:00
Clément Oudot
1843fe7434 Create stop method for AD backend (#914) 2016-02-02 14:57:49 +00:00
Clément Oudot
cd56a89b9e Create a stop method to know if the Multi process should stop (#914) 2016-02-02 13:58:54 +00:00
Clément Oudot
333403dfd0 Possibility to override Portal standard messages (#915) 2016-02-02 11:24:44 +00:00
Clément Oudot
607641dcfd Possibility to use certificate in SAML response (#836) 2016-02-01 16:42:15 +00:00
Clément Oudot
7d7e5a6717 Decode internal perl encoding for SAML attribute (#864) 2016-01-29 17:21:23 +00:00
Xavier Guimard
84ee77100b Avoid warnings 2016-01-29 11:10:00 +00:00
Xavier Guimard
b6f7b2a96a Move Ajax hook from handler to portal (Closes: #790) 2016-01-28 22:25:46 +00:00
Xavier Guimard
ecac364eae Add USEEXTERNALLIBS option 2016-01-23 08:14:39 +00:00
Xavier Guimard
7c676d8d99 make tidy 2016-01-22 16:53:41 +00:00
Clément Oudot
ce188e628e Manage logo customization in Choice (#911) 2016-01-22 13:09:05 +00:00
Xavier Guimard
5bef7284b3 Update copyright years 2016-01-21 21:15:19 +00:00
Clément Oudot
d95c72904d Do not add trailing slash to issuer, but adapt path instead (#184) 2016-01-21 13:21:04 +00:00
Clément Oudot
fd11f7f814 Import forgotten sha functions (#184) 2016-01-21 13:10:08 +00:00
Xavier Guimard
2b2d133e97 Prepare Debian libs usage for Debian official release 2016-01-21 13:00:19 +00:00
Xavier Guimard
12f5db02bb make tidy-js 2016-01-21 11:36:23 +00:00
Xavier Guimard
2110b9d402 Update manifest 2016-01-20 16:48:03 +00:00
Clément Oudot
94292fbaa3 Manage trailing slash in OpenID Connect issuer for configuration data (#184) 2016-01-20 13:29:16 +00:00
Clément Oudot
119126a28c Be sure not to expire persistent sessions (#495) 2016-01-20 09:33:28 +00:00
Clément Oudot
6165ac1e59 Add _utime in persistent session (#495) 2016-01-20 09:33:27 +00:00
Clément Oudot
1036dae8c6 Add minified files for portal 2016-01-19 14:51:44 +00:00
Xavier Guimard
195f7e6cb2 Propage minifier to portal (#908) 2016-01-18 12:13:16 +00:00
Clément Oudot
412420267d Remove back to SP link (#891) 2016-01-14 15:55:34 +00:00
Xavier Guimard
d2fcb5083a Back from JSON::MaybeXS to JSON (#877) 2016-01-13 19:47:56 +00:00
Clément Oudot
79ac54e300 Make active more visible in bootstrap theme 2016-01-13 09:58:58 +00:00
Xavier Guimard
6eaea5081a Avoid double utf8 management (#827) 2016-01-11 20:32:44 +00:00
Xavier Guimard
f10885c580 Finish #877 2016-01-11 13:41:46 +00:00
Clément Oudot
c90e91b9d5 Set main identifier in persistent session (#495) 2016-01-07 13:46:15 +00:00
Xavier Guimard
c0e5e0010e utf8 anywhere in conf 2016-01-07 12:34:34 +00:00
Xavier Guimard
eb6bfa7107 Insert 'remoteCookieName' as known exception 2016-01-06 06:02:51 +00:00
Clément Oudot
196c59c027 Update session activity when receiving IssuerDB request (#870) 2016-01-05 16:44:59 +00:00
Xavier Guimard
ace5da1302 Update portal kinematic 2016-01-03 16:57:24 +00:00
Xavier Guimard
507c050f5f Update manifest files 2016-01-03 16:57:20 +00:00
Xavier Guimard
103e3da144 make tidy 2016-01-02 09:35:40 +00:00
Xavier Guimard
e8dac0fe6b Replace 'splice' by copy (Closes: #534) 2016-01-02 09:29:05 +00:00
Xavier Guimard
c303fba294 Typo 2015-12-30 10:24:45 +00:00
Xavier Guimard
fd1153506a Update portal kinematic 2015-12-30 10:17:07 +00:00
Xavier Guimard
75d3829089 Add little analysis 2015-12-28 22:09:24 +00:00
Xavier Guimard
0b52c97cfe Use JSON::MaybeXS instead of JSON
JSON::Any used before as been deprecated
2015-12-28 16:35:32 +00:00
Xavier Guimard
ae675692c4 +Attribute to change LDAP alias dereference (Closes: #787) 2015-12-28 11:58:53 +00:00
Xavier Guimard
10323d6b76 Check conditions in AuthSlave and UserDBSlave
Closes: #865
2015-12-27 12:29:32 +00:00
Xavier Guimard
4afa620d6b Avoid little warning in tests 2015-12-27 12:29:27 +00:00
Xavier Guimard
fb025c2ab8 Fix timer to 30 s 2015-12-23 08:26:52 +00:00
Xavier Guimard
03c2969c60 Double symlinks are not supported by Perl-5.22.1 2015-12-23 08:13:21 +00:00
Xavier Guimard
8f78863dcf Change OIDC(JSON|JWKS) key storage
Due to old manager behavior, they were stored as key->partner->key. Now
it's simply key->partner
2015-12-20 07:04:38 +00:00
Xavier Guimard
355b298a3a Better regexp 2015-12-19 06:56:59 +00:00
Clément Oudot
c257baddd9 Fix session management (bug introduced in r4024) 2015-12-18 18:01:15 +00:00
Clément Oudot
4a1f957fdd Set trunk version to 1.9.0 2015-12-18 09:31:36 +00:00
Xavier Guimard
2df6075dfa Persistent sessions explorer in progress 2015-12-18 06:17:30 +00:00
Xavier Guimard
6daa0bc77b Strange bug
It happends when serveur is restarted and the first call to portal uses
"?logout=1" with a valid session
2015-12-16 20:44:27 +00:00
Xavier Guimard
3372341fec Start authChoice management 2015-12-12 13:18:48 +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
8c109061a9 Return error if no OpenID Provider configured (#183) 2015-10-22 13:40:11 +00:00
Clément Oudot
a6821a7fca Fix trailing slash in post logout URL (#183) 2015-10-22 09:24:18 +00:00
Clément Oudot
df59540d22 make tidy 2015-10-22 08:40:12 +00:00
David COUTADEUR
7fd8390c85 correcting typo for #822 feature (checking pwdLastSet in AD is not sufficient) 2015-10-08 12:49:32 +00:00
Clément Oudot
d1540c280f Move AD specific code in AuthAD and check userAccountControl before displaying expiration warning (#822) 2015-10-06 09:39:23 +00:00
Clément Oudot
ad0c56cb84 Manage password expiration for AD authentication backend (#822) 2015-10-05 14:07:24 +00:00
Clément Oudot
b05fab6eac Dump variables stored in session in debug mode (#792) 2015-09-25 15:29:57 +00:00
Clément Oudot
b8d8b01ea4 Create hGroups to store groups as an HashRef:
* Allows to store multivaluated attributes of groups (#792)
* Remove duplicate groups when using recursive groups (#823)
2015-09-25 09:43:04 +00:00
Clément Oudot
f8d9274a2c Store multi full module name in another session variable (#715) 2015-09-24 06:58:21 +00:00
Clément Oudot
62a8fb17ac Fix SOAP data formatting (#850) 2015-09-23 09:02:47 +00:00
Clément Oudot
99953c14eb Add _lastSeen to default exported attributes with SOAP (#845) 2015-09-23 08:31:46 +00:00
Xavier Guimard
9298c07510 Typo 2015-09-22 05:38:23 +00:00
Clément Oudot
fa95ab2ee7 Possibility to define extra claims (#184) 2015-06-19 09:06:13 +00:00
Clément Oudot
c5a6d3f31c Force Base64 URL for JWT signature (#184) 2015-06-18 12:47:35 +00:00
Xavier Guimard
87fd52a0ab Update copyrights 2015-06-18 11:00:24 +00:00
Clément Oudot
13dc6d5755 Fix 'exp' field in ID Token (#184) 2015-06-18 10:20:15 +00:00
Clément Oudot
96207ab19d Support URL for application logo (#183) 2015-06-16 15:43:07 +00:00
Clément Oudot
15cfb0ed43 Support URL for application logo (#184) 2015-06-16 15:34:11 +00:00
Clément Oudot
2c4413bf01 Fix AuthOpenIDConnect unit test (#183) 2015-06-16 06:56:14 +00:00
Clément Oudot
614bb23834 Update logo (#820) 2015-06-15 12:45:23 +00:00
Clément Oudot
0b955a40d1 Update favicon.ico with a multi-layer icon (#820) 2015-06-15 12:32:38 +00:00
Clément Oudot
ef43679ce1 Manage session not found in portal (#825) 2015-06-12 10:56:38 +00:00
Clément Oudot
12890c4512 Fix oidcStorageOptions initialization (#184) 2015-06-12 07:51:37 +00:00
Clément Oudot
7b996f1cb1 Update favicon 2015-06-11 14:03:54 +00:00
Clément Oudot
e3af829e5a Remove portalAutocomplete configuration (#824) 2015-06-11 12:59:20 +00:00
Clément Oudot
b81aea14b4 Define an ID for public key (#184) 2015-06-05 12:55:06 +00:00
Clément Oudot
f4119999d0 Call check session iframe in oauth test page (#184) 2015-06-01 18:27:05 +00:00
Clément Oudot
fe77ab4dbb CHeck session iframe with CORS for session management (#184) 2015-06-01 18:22:36 +00:00
Clément Oudot
05ecd34598 Parameter to define allowed flows (#184) 2015-05-29 16:49:32 +00:00
Clément Oudot
121e578b7e Parameter to allow dynamic client registration (#184) 2015-05-29 10:07:54 +00:00
Clément Oudot
b66a90e197 Register dynamic client in configuration (#184) 2015-05-29 08:50:51 +00:00
Clément Oudot
ab0b6e7190 Display correct skin in register page (#818) 2015-05-11 14:06:20 +00:00
Clément Oudot
f82a7319be Display correct skin in mail reset page (#818) 2015-05-11 13:50:55 +00:00
Clément Oudot
fe2ad66a29 Add attributes in CAS serviceValidate response (#773) 2015-05-09 17:49:56 +00:00
Clément Oudot
ef1da93be9 Test script for SOAP error method (#817) 2015-05-08 20:22:58 +00:00
Clément Oudot
27b469d28d Fix WSDL for error (#817) 2015-05-05 12:36:50 +00:00
Clément Oudot
b71e06b246 Fix WSDL for getAttributes (#816) 2015-05-05 12:11:00 +00:00
Clément Oudot
1caa11c724 Update OIDC test page (#184) 2015-04-30 06:14:41 +00:00
Clément Oudot
ad2c67c2ba Support Request URI (#184) 2015-04-30 06:09:51 +00:00
Clément Oudot
159f71fd25 Verify Request JWT signature (#184) 2015-04-25 15:19:12 +00:00
Clément Oudot
94f1065e5d Accept 'request' parameter in authorization requests (#184) 2015-04-22 17:16:32 +00:00
Clément Oudot
0b3f9a78ff Parse UserInfo response as JWT (#183) 2015-04-18 08:36:42 +00:00
Clément Oudot
1c0df34268 Replace version 2.00 by 2.0.0 2015-04-15 14:18:38 +00:00
Clément Oudot
9520bef489 Manager UserInfo signature (JWT response) (#184) 2015-04-14 18:42:02 +00:00
Clément Oudot
572636ead1 Use Base64 URL to decode JWT (#184) 2015-04-11 11:15:01 +00:00
Clément Oudot
a63918d28f Return session state for session management (#184) 2015-04-07 09:04:17 +00:00
Clément Oudot
ac5f76f898 Option to deactivate nonce (#183) 2015-04-03 13:45:38 +00:00
Clément Oudot
a17159f105 Don't send max_age if value is 0 (#183) 2015-04-03 13:23:52 +00:00
Clément Oudot
3ad495f824 Call endsession point in authLogout (#183) 2015-04-03 13:00:30 +00:00
Clément Oudot
328a280601 Work on implementation of OIDC logout (#184) 2015-04-03 09:05:36 +00:00
Clément Oudot
841f057c25 Work on implementation of OIDC logout (#184) 2015-04-02 16:54:00 +00:00
Clément Oudot
85650ae3be Start implementation of OIDC logout (#184) 2015-04-02 07:02:21 +00:00
Clément Oudot
3f741d53c3 Declaration of Authentication Class Ref in openid-configuration (#184) 2015-04-02 06:41:15 +00:00
Clément Oudot
72aecd6cf1 Configuration of Authentication Class Ref (#184) 2015-04-01 15:45:08 +00:00
Clément Oudot
b9494d1b0a Check iat (#183) 2015-04-01 15:10:08 +00:00