Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019703Openbravo ERPA. Platformpublic2012-02-09 11:302012-03-02 15:35
adrianromero 
adrianromero 
normaltrivialalways
closedfixed 
5
 
3.0MP9 
Core
No
0019703: Allow not logged webservices not to display the authentication dialog in the browser side
Not authenticated web services should optionally allow not to send the "WWW-Authenticate" header that makes the browser to display an authentication dialog.

This is required for client side web application that needs to determine whether the application is authenticated or not to take the proper action without any browser interaction
.
To add the parameter "auth=false" to allow the webservice to send the status code 401 Unauthorized. This status code can be captured in the client side to take the proper action.
No tags attached.
Issue History
2012-02-09 11:30adrianromeroNew Issue
2012-02-09 11:30adrianromeroAssigned To => adrianromero
2012-02-09 11:30adrianromeroModules => Core
2012-02-09 11:38hgbotCheckin
2012-02-09 11:38hgbotNote Added: 0044952
2012-02-09 11:38hgbotStatusnew => resolved
2012-02-09 11:38hgbotResolutionopen => fixed
2012-02-09 11:38hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/fd8744a6c38511e1135e2249b7013a5145c85498 [^]
2012-02-09 11:45adrianromeroNote Added: 0044953
2012-02-10 07:25mtaalNote Added: 0044984
2012-02-10 07:25mtaalStatusresolved => closed
2012-02-10 07:25mtaalFixed in Version => 3.0MP9
2012-03-02 15:35hudsonbotCheckin
2012-03-02 15:35hudsonbotNote Added: 0045783

Notes
(0044952)
hgbot   
2012-02-09 11:38   
Repository: erp/devel/pi
Changeset: fd8744a6c38511e1135e2249b7013a5145c85498
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Feb 09 11:36:33 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/fd8744a6c38511e1135e2249b7013a5145c85498 [^]

Fixes issue 0019703: Allow not logged webservices not to display the authentication dialog in the browser side
It has been added the auth=false parameter to prevent to display the authentication dialog in the browser.

---
M src/org/openbravo/service/web/BaseWebServiceServlet.java
---
(0044953)
adrianromero   
2012-02-09 11:45   
Updated documentation: http://wiki.openbravo.com/wiki/XML_REST_Web_Services#Login_and_Security [^]
(0044984)
mtaal   
2012-02-10 07:25   
Reviewed and tested
(0045783)
hudsonbot   
2012-03-02 15:35   
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/544d64e0c159 [^]

Maturity status: Test