Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0036861 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Retail Modules] Web POS | major | have not tried | 2017-09-14 19:09 | 2017-09-25 14:55 | |||
Reporter | mtaal | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 4bb7dbe495f9 | ||||
Projection | none | ETA | none | Target Version | RR17Q4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | AugustoMauch | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0036861: Support authentication token also in case of single server environments | |||||||
Description | The mobile key authenticator [1] supports automatic relogin from webpos to the server in case the session gets lost on the server. This is a feature which should also work in case multi server is not enabled, so in case of single server. [1] http://wiki.openbravo.com/wiki/Retail:Configuration_Guide#Mobile_Server_Authentication [^] | |||||||
Steps To Reproduce | Set the authenticator class in Openbravo properties to use the MobileKeyAuthenticator: authentication.class=org.openbravo.mobile.core.authenticate.MobileKeyAuthenticationManager Start the server as single server Login to webpos stop the server wait a while start the server --> webpos will ask to relogin | |||||||
Proposed Solution | Also send authentication tokens to the client so that it supports mobile key authentication == automatic login | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0099168) hgbot (developer) 2017-09-20 09:52 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 4bb7dbe495f97dc94a70688c63421b4f08dc9e8e Author: Martin Taal <martin.taal <at> openbravo.com> Date: Wed Sep 20 09:33:24 2017 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4bb7dbe495f97dc94a70688c63421b4f08dc9e8e [^] Fixes issue 36861: Support authentication token also in case of single server environments Use the token authentication also if the multi-server preference is not set OBMOBCUtils: move the session check code after the login MobileCoreLoginHandler: instead of checking for preference check if the mobile key authenticator is installed to decide if a token should be sent to the client MobileKeyAuthenticationManager: add utility method, do not set session id so that the code which creates the dbsession can create it --- M src/org/openbravo/mobile/core/authenticate/MobileKeyAuthenticationManager.java M src/org/openbravo/mobile/core/login/MobileCoreLoginHandler.java M src/org/openbravo/mobile/core/utils/OBMOBCUtils.java --- |
(0099560) AugustoMauch (administrator) 2017-09-25 14:53 |
Code reviewed and verified |
(0099561) hgbot (developer) 2017-09-25 14:55 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: d91377edd0ec336c17930bdfcf1f8d5d6140fe4c Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Mon Sep 25 14:36:20 2017 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d91377edd0ec336c17930bdfcf1f8d5d6140fe4c [^] Related with issue 36861: Removes commented out code --- M src/org/openbravo/mobile/core/authenticate/MobileKeyAuthenticationManager.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2017-09-14 19:09 | mtaal | New Issue | |
2017-09-14 19:09 | mtaal | Assigned To | => mtaal |
2017-09-14 19:09 | mtaal | OBNetwork customer | => No |
2017-09-14 19:09 | mtaal | Triggers an Emergency Pack | => No |
2017-09-14 19:10 | mtaal | Steps to Reproduce Updated | View Revisions |
2017-09-20 09:52 | hgbot | Checkin | |
2017-09-20 09:52 | hgbot | Note Added: 0099168 | |
2017-09-20 09:52 | hgbot | Status | new => resolved |
2017-09-20 09:52 | hgbot | Resolution | open => fixed |
2017-09-20 09:52 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4bb7dbe495f97dc94a70688c63421b4f08dc9e8e [^] |
2017-09-20 09:54 | mtaal | Review Assigned To | => AugustoMauch |
2017-09-20 18:55 | rafademiguel | Issue Monitored: rafademiguel | |
2017-09-25 14:53 | AugustoMauch | Note Added: 0099560 | |
2017-09-25 14:53 | AugustoMauch | Status | resolved => closed |
2017-09-25 14:55 | hgbot | Checkin | |
2017-09-25 14:55 | hgbot | Note Added: 0099561 |
Copyright © 2000 - 2009 MantisBT Group |