Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0036807 | Openbravo ERP | A. Platform | public | 2017-09-07 19:09 | 2017-09-12 10:56 |
|
Reporter | caristu | |
Assigned To | caristu | |
Priority | high | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0036807: API Change: remove AuthenticationManager.username field |
Description | As stated in issue 0035164 AuthenticationManager.username is thread unsafe.
This variable is used to keep the name of the user that fired the request in order to store this name as part of the DB session information.
To fix this issue that field will be removed and replaced with a ThreadLocal variable which will provide an independently initialized copy of the variable per thread.
As the AuthenticationManager.username is a protected field, its removal is an API change. |
Steps To Reproduce | In description |
Proposed Solution | |
Additional Information | |
Tags | Approved |
Relationships | blocks | defect | 0035164 | | closed | caristu | AuthenticationManager.username thread unsafe |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2017-09-07 19:09 | caristu | New Issue | |
2017-09-07 19:09 | caristu | Assigned To | => caristu |
2017-09-07 19:09 | caristu | Modules | => Core |
2017-09-07 19:09 | caristu | Triggers an Emergency Pack | => No |
2017-09-07 19:09 | caristu | Relationship added | blocks 0035164 |
2017-09-07 19:10 | caristu | Description Updated | bug_revision_view_page.php?rev_id=15845#r15845 |
2017-09-08 07:13 | alostale | Note Added: 0098892 | |
2017-09-08 07:14 | alostale | Tag Attached: Approved | |
2017-09-08 08:31 | caristu | Note Added: 0098896 | |
2017-09-08 13:12 | hgbot | Checkin | |
2017-09-08 13:12 | hgbot | Note Added: 0098910 | |
2017-09-08 13:12 | hgbot | Status | new => resolved |
2017-09-08 13:12 | hgbot | Resolution | open => fixed |
2017-09-08 13:12 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/api-checks/rev/00535db6ce2809dcd86dc1ee1a328dffe8701fd1 [^] |
2017-09-08 13:12 | hgbot | Checkin | |
2017-09-08 13:12 | hgbot | Note Added: 0098911 | |
2017-09-08 13:12 | caristu | Review Assigned To | => alostale |
2017-09-08 13:15 | caristu | Note Deleted: 0098911 | |
2017-09-08 13:55 | hgbot | Checkin | |
2017-09-08 13:55 | hgbot | Note Added: 0098914 | |
2017-09-11 08:41 | hgbot | Checkin | |
2017-09-11 08:41 | hgbot | Note Added: 0098924 | |
2017-09-11 11:58 | hgbot | Checkin | |
2017-09-11 11:58 | hgbot | Note Added: 0098934 | |
2017-09-12 09:30 | hgbot | Checkin | |
2017-09-12 09:30 | hgbot | Note Added: 0098964 | |
2017-09-12 09:31 | hgbot | Checkin | |
2017-09-12 09:31 | hgbot | Note Added: 0098965 | |
2017-09-12 10:56 | alostale | Status | resolved => closed |
Notes |
|
|
Is there any known module implementing an AuthenticationManager using this field? |
|
|
|
Looked for at the central repository and found just one. |
|
|
(0098910)
|
hgbot
|
2017-09-08 13:12
|
|
|
|
(0098914)
|
hgbot
|
2017-09-08 13:55
|
|
|
|
(0098924)
|
hgbot
|
2017-09-11 08:41
|
|
|
|
(0098934)
|
hgbot
|
2017-09-11 11:58
|
|
|
|
(0098964)
|
hgbot
|
2017-09-12 09:30
|
|
Repository: erp/devel/api-checks
Changeset: 68700241123347743152d9f2aac134dfdfe0f995
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Sep 12 09:26:44 2017 +0200
URL: http://code.openbravo.com/erp/devel/api-checks/rev/68700241123347743152d9f2aac134dfdfe0f995 [^]
related to issue 36807: api changes after code review
- Changed signature of AuthenticationManager.decodeBasicAuthenticationData method
- Removed AuthenticationManager.LOGIN_PASS and AuthenticationManager.LOGIN_USER which are no longer needed
---
M java/reference/java.japi.gz
---
|
|
|
(0098965)
|
hgbot
|
2017-09-12 09:31
|
|
Repository: retail/api-checks-retail
Changeset: 5655e698af447f2b1dbf0f81dac388211d870e82
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Sep 12 09:27:39 2017 +0200
URL: http://code.openbravo.com/retail/api-checks-retail/rev/5655e698af447f2b1dbf0f81dac388211d870e82 [^]
related to issue 36807: api changes after code review
- Changed signature of AuthenticationManager.decodeBasicAuthenticationData method
- Removed AuthenticationManager.LOGIN_PASS and AuthenticationManager.LOGIN_USER which are no longer needed
---
M java/reference/java.japi.gz
---
|
|