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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014011
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2010-07-20 16:322010-08-17 00:00
ReportershuehnerView Statuspublic 
Assigned Toshuehner 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisiond4d56d9ce62b
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0014011: org.openbravo.service.web.authentication module does not support AuthenticationManagers which directly set a role

DescriptionIn changeset a2a2c3bd075e in pi, the HttpSecureAppServlet was enhanced to allow an AuthenticationManager to not only return the userId, but also to directly specify a role which should be used (instaed of the default role of the user).

This web.authentication servlet (which adds AuthenticationManager usage to the REST-webservices) needs to be enhanced with the same change.

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0013813 closedmtaal Check if REST webservices should be integrated with the configurable AuthManagers 
related to feature request 0014079 newTriage Platform Base Check if obcontext-caching is needed/useful when using the REST-service, or provide other way to achieve some perf gain 

-  Notes
(0029650)
hgbot (developer)
2010-07-28 17:56

Repository: erp/mods/org.openbravo.service.web.authentication
Changeset: d4d56d9ce62b666db4a3ed3fe8368f3d073aba27
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Wed Jul 28 17:56:11 2010 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.service.web.authentication/rev/d4d56d9ce62b666db4a3ed3fe8368f3d073aba27 [^]

Fixed 14011: Create context with correct role Id
- Disable OBContext-caching as cache key is only userID
- create new OBContext using userId,roleId as provided by AuthenticationManager
- Avoid deprecated dal admin mode api (update core dep to >=MP18 for that)
- update module version number

---
M src-db/database/sourcedata/AD_MODULE.xml
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
M src/org/openbravo/service/web/authentication/WSServlet.java
---
(0029999)
mtaal (manager)
2010-08-16 11:17

Tested

- Issue History
Date Modified Username Field Change
2010-07-20 16:32 shuehner New Issue
2010-07-20 16:32 shuehner Assigned To => shuehner
2010-07-21 11:59 shuehner Relationship added related to 0013813
2010-07-26 08:33 alostale Status new => scheduled
2010-07-26 08:33 alostale fix_in_branch => pi
2010-07-28 17:02 shuehner Relationship added related to 0014079
2010-07-28 17:56 hgbot Checkin
2010-07-28 17:56 hgbot Note Added: 0029650
2010-07-28 17:56 hgbot Status scheduled => resolved
2010-07-28 17:56 hgbot Resolution open => fixed
2010-07-28 17:56 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.service.web.authentication/rev/d4d56d9ce62b666db4a3ed3fe8368f3d073aba27 [^]
2010-08-16 11:17 mtaal Note Added: 0029999
2010-08-16 11:17 mtaal Status resolved => closed
2010-08-17 00:00 anonymous sf_bug_id 0 => 3046645


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker