Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036861
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSmajorhave not tried2017-09-14 19:092017-09-25 14:55
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision4bb7dbe495f9
ProjectionnoneETAnoneTarget VersionRR17Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0036861: Support authentication token also in case of single server environments

DescriptionThe 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 ReproduceSet 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 SolutionAlso send authentication tokens to the client so that it supports mobile key authentication == automatic login
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 (manager)
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
---

- Issue History
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 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
Powered by Mantis Bugtracker