Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031498Retail ModulesWeb POSpublic2015-09-18 10:032015-12-04 12:52
malsasua 
guilleaer 
highmajoralways
closedfixed 
20Community Appliance
RR15Q3 
RR15Q3.3RR15Q3.3 
marvintm
No
0031498: Terminal authentication is allowing to connect from two distinct devices
There is one way to link two devices to the same terminal
. configure to enable terminal authentication
 . in backoffice, as system administrator, change the preference "enable authention" to Y
. in backoffice, in POS Terminal -> VBS-1
    Terminal Key Identifier: 123

. in device1:
  . go to WEBPOS, to terminal VBS-1
  . popup with the next fields are displayed:
   Terminal Key Identifier: 123
   user: vallblanca
   pass: openbravo
  . login is done

. go to backoffice
 . check "is link to device" is checked
 . click button "unlink device"
 . check "is link to device" is unchecked

. in device2:
  . go to WEBPOS, to terminal VBS-1
  . popup with the next fields are displayed:
   Terminal Key Identifier: 123
   user: vallblanca
   pass: openbravo
  . login is done

. in device1:
  . go to webpos, with link: hosted/context/web/org.openbravo.retail.posterminal/#
  . login is done
No tags attached.
blocks defect 0030869 closed guilleaer Terminal authentication is allowing to connect from two distinct devices 
Issue History
2015-11-16 13:19marvintmTypedefect => backport
2015-11-16 13:19marvintmTarget Version => RR15Q3.3
2015-12-03 13:21hgbotCheckin
2015-12-03 13:21hgbotNote Added: 0082562
2015-12-03 13:21hgbotStatusscheduled => resolved
2015-12-03 13:21hgbotResolutionopen => fixed
2015-12-03 13:21hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c4c55341720182737a661e17ff09d70898ba07c8 [^] => http://code.openbravo.com/retail/backports/3.0RR15Q3.3/org.openbravo.retail.posterminal/rev/a5e655307b0a149f9dfaaea76a48e6bf2ebf4d9b [^]
2015-12-04 12:52marvintmStatusresolved => closed
2015-12-04 12:52marvintmFixed in Version => RR15Q3.3

Notes
(0082562)
hgbot   
2015-12-03 13:21   
Repository: retail/backports/3.0RR15Q3.3/org.openbravo.retail.posterminal
Changeset: a5e655307b0a149f9dfaaea76a48e6bf2ebf4d9b
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Wed Dec 02 21:55:40 2015 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q3.3/org.openbravo.retail.posterminal/rev/a5e655307b0a149f9dfaaea76a48e6bf2ebf4d9b [^]

Fixed issue 31498: Terminal authentication improvements have been added:

- Unique id for each cache session has been added
- When a terminal is linked cache session id is stores at terminal level
- Once a terminal try to link the cache session id is checked

---
M src-db/database/model/tables/OBPOS_APPLICATIONS.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/retail/posterminal/CheckTerminalAuth.java
M src/org/openbravo/retail/posterminal/LoginUtilsServlet.java
M src/org/openbravo/retail/posterminal/process/UnlinkDeviceActionHandler.java
M web/org.openbravo.retail.posterminal/js/components/modalselectterminal.js
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---