Setting a Company-ID per Webservice-User

Use this forum to suggest new features, language support, documentation, etc. for OpenEMM's roadmap

Moderator: moderator

Setting a Company-ID per Webservice-User

Postby Shuro » Mon Jul 05, 2010 9:11 am

Set a company-id per webservice-user in mysql table "ws_admin_tbl", not permanent company-id = 1

For example:
"OpenEMM-6.1-src/src/java/org/agnitas/webservice/WebServiceBase.java"
Change function "authenticateUser":
- change to integer function
- return company_id instead of "true"
- return 0 instead of "false"


and change also functions in "OpenEMM-6.1-src/src/java/org/agnitas/webservice/EmmWebservice.java"
Shuro
 
Posts: 20
Joined: Mon Oct 26, 2009 1:26 pm
Location: Germany, Pr. Oldendorf

Return to Suggestions

Who is online

Users browsing this forum: No registered users and 2 guests