Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0035326Openbravo ERPA. Platformpublic2017-02-21 13:242017-03-15 20:20
mtaal 
mtaal 
normalminorhave not tried
closedfixed 
5
 
3.0PR17Q23.0PR17Q2 
alostale
Core
No
0035326: Support basic authentication
See also the related issue for more information.

To support basic authentication through specific java code and tools like SoapUI we need to a 401 in case of an authentication failure.
See related issue and the testcases here:
https://code.openbravo.com/tools/automation/pi-mobile/file/c6e956d16bee/src-test/org/openbravo/test/mobile/retail/extmodules/unittest/tests/statelesswebservice [^]
return basic authentication header in case of 401
No tags attached.
related to feature request 0035325RR17Q3 closed mtaal Retail Modules Support basic authentication in mobile service calls 
Issue History
2017-02-21 13:24mtaalNew Issue
2017-02-21 13:24mtaalAssigned To => mtaal
2017-02-21 13:24mtaalModules => Core
2017-02-21 13:24mtaalTriggers an Emergency Pack => No
2017-02-21 13:24mtaalRelationship addedrelated to 0035325
2017-02-21 13:24mtaalReview Assigned To => alostale
2017-02-21 13:48mtaalDescription Updatedbug_revision_view_page.php?rev_id=14654#r14654
2017-02-21 13:49hgbotCheckin
2017-02-21 13:49hgbotNote Added: 0094509
2017-02-21 13:49hgbotStatusnew => resolved
2017-02-21 13:49hgbotResolutionopen => fixed
2017-02-21 13:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d4ce87bb216baacfec04a7e92aee1f0ac9259629 [^]
2017-02-21 13:53hgbotCheckin
2017-02-21 13:53hgbotNote Added: 0094512
2017-02-24 09:01alostaleNote Added: 0094590
2017-02-24 09:01alostaleStatusresolved => closed
2017-02-24 09:01alostaleFixed in Version => 3.0PR17Q2
2017-02-24 09:48hgbotCheckin
2017-02-24 09:48hgbotNote Added: 0094594
2017-02-24 09:49hgbotCheckin
2017-02-24 09:49hgbotNote Added: 0094596
2017-03-15 20:19hudsonbotCheckin
2017-03-15 20:19hudsonbotNote Added: 0095201
2017-03-15 20:20hudsonbotCheckin
2017-03-15 20:20hudsonbotNote Added: 0095230

Notes
(0094509)
hgbot   
2017-02-21 13:49   
Repository: erp/devel/pi
Changeset: d4ce87bb216baacfec04a7e92aee1f0ac9259629
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Feb 21 13:48:41 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d4ce87bb216baacfec04a7e92aee1f0ac9259629 [^]

Fixes issue 35326: Support basic authentication
Return 401 status code when authentication fails

---
M src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
---
(0094512)
hgbot   
2017-02-21 13:53   
Repository: tools/automation/pi-mobile
Changeset: 1e44a524fa1fbfe6529e3392c919b309d99c728c
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Feb 21 13:53:08 2017 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/1e44a524fa1fbfe6529e3392c919b309d99c728c [^]

Related to issue 35325, related to issue 35326
Comment out the headers which pass directly basic auth information. Are not needed anymore.
Keep commented code for later usage/reference

---
M src-test/org/openbravo/test/mobile/retail/mobilecore/webservice/WebServicesHelper.java
---
(0094590)
alostale   
2017-02-24 09:01   
reviewed
(0094594)
hgbot   
2017-02-24 09:48   
Repository: erp/devel/pi
Changeset: 56448231f7f226c38ee20bffea151b60a1ac2c14
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Feb 24 09:48:24 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/56448231f7f226c38ee20bffea151b60a1ac2c14 [^]

Related to issue 35326: Support basic authentication
back out of changeset as it causes several retail offline tests to fail

---
M src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
---
(0094596)
hgbot   
2017-02-24 09:49   
Repository: tools/automation/pi-mobile
Changeset: e346994c7452dcb03ce1b3667be01809f26a3633
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Feb 24 09:49:36 2017 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/e346994c7452dcb03ce1b3667be01809f26a3633 [^]

Related to issue 35325, related to issue 35326
Backout of changeset as it causes several offline tests to fail

---
M src-test/org/openbravo/test/mobile/retail/mobilecore/webservice/WebServicesHelper.java
---
(0095201)
hudsonbot   
2017-03-15 20:19   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/54e102bef53e [^]
Maturity status: Test
(0095230)
hudsonbot   
2017-03-15 20:20   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/54e102bef53e [^]
Maturity status: Test