Commit Graph

38 Commits

Author SHA1 Message Date
Dominique FOURNIER
f6782c18dc Add not enabled namespace on each file 2021-05-06 14:00:03 +02:00
033b817627 Add license BSD on each file header
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@6096 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2020-09-07 14:13:56 +00:00
366e095e20 authentication : do not display the script for JWT remove if in JSON request
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5823 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 14:23:58 +00:00
6b64eb453e authentication : bad $auth usage
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5821 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 14:17:47 +00:00
552fa6ab12 authentication : JWT use now the authJWT library
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5815 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 13:14:22 +00:00
cc3293bb4d authentication : allow to store the password when the authentication is valid in REST.
authentication : JWT token management


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5785 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-04 14:49:02 +00:00
0a619ff71b authentication : the JWT is now defined only in property authServer, and not by adding new parameter
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5293 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-05-25 22:47:26 +00:00
569be5d418 domci for authentication
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5290 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-05-24 13:33:28 +00:00
18ba0f6b20 JSON Web Token is now in authentication process
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5288 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-05-24 13:30:22 +00:00
5829288988 Add authentication by JSON Web Token
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5287 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-05-24 11:58:25 +00:00
f423229f94 domci : commas should be followed by space
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5281 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-05-23 14:55:18 +00:00
17168aaaef Update gettext : add spaces
DomCi : remove line too longs on all the files


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5280 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-05-23 14:19:30 +00:00
a79b59685f authentication : allow to set a JSON Web Token if the authentication is valid. Remove it on logout.
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5279 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-05-22 19:42:02 +00:00
af90b69761 authentication : if logout url is null, do not crash and redirect to authentication page
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4946 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-02-05 09:26:08 +00:00
1ed5c8317f authentication : do not try to log an array like a string
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4812 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-12-28 08:34:30 +00:00
11f44e7c71 Do not add the root namsepace if not needed
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4644 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-26 08:59:25 +00:00
681863f187 Add NAMESPACE support (not activated, but just needed to add the namespace on top of file)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4630 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-24 14:36:00 +00:00
c3607d88e3 authentication : Add X-Frame-Options "SAMEORIGIN" to authentication page
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4284 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-13 14:45:48 +00:00
2c953b5428 authentication : manage the state of session based on session_id() instead of isset ($_SESSION)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4268 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-06 17:52:13 +00:00
cdf192183d authentication: manage the session only if the authentication page is required.
Do not set a session cookie if the user don't need to be authenticated


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4260 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-06 14:30:00 +00:00
43649cc25d authentication : use the ratelimit dir /tmp/ratelimit to not try to remove all the files in /tmp
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4157 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-09 20:26:38 +00:00
282788bd3e authentication : update code esthetics
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3391 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-03-08 15:00:26 +00:00
fef2cfddc6 authentication : allow logout to provide a url to be displayed after successful logout
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3390 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-03-08 14:58:58 +00:00
2e535af8d5 DomCi : update the parameters definitions
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3280 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-12-12 14:49:16 +00:00
821fc9ed84 authentication : if there is no lastname/firstname provided, don't generate a warning
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3035 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-09-12 09:44:44 +00:00
239d5b0290 authentication : when debugging, save the logs in file
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3016 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-09-01 10:19:31 +00:00
3873935e3a authentication : manage correctely the routes (no trailling slash)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3014 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-09-01 09:39:29 +00:00
0ffebcda0b authentication : manage correctely the routes (no not add a slash not needed)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3013 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-09-01 09:32:25 +00:00
a04d3a4f4a Cosmetics changes : remove ending lines spaces
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3012 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-08-31 07:20:24 +00:00
94099866f6 authentication : usage of routes methods is incorrect : the URL is missing an end slash
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3011 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-08-30 19:00:20 +00:00
1fc8635b71 Add more debug for authentication
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2996 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-08-03 13:09:17 +00:00
dbb20f8cd7 Authentication : change the gettext
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2987 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-08-03 11:37:48 +00:00
0c3a2ebc7a authentication : allow to define a special logging function instead of using the trigger_error
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2986 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-08-03 09:48:25 +00:00
01efb53dfa Check if all the translations are done by dgettext('domframework',
Update locales


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2541 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-23 10:27:18 +00:00
c283362d05 Rename all the datas to data
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2512 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-21 19:21:29 +00:00
907e92ced8 authentication : better error management in configuration (Exception in case of errors).
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2254 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-17 12:05:21 +00:00
e536e15009 auth : Add the application name in authentication panel
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2234 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-13 14:34:45 +00:00
e5d3f31100 authentication : add a REST/HTML authentication class to not reinvent the wheel each time
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2232 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-13 13:00:00 +00:00