]
Shane Bryzak reassigned JBSEAM-3882:
------------------------------------
Assignee: Shane Bryzak
PermissionResolvers can't use injections
----------------------------------------
Key: JBSEAM-3882
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3882
Project: Seam
Issue Type: Bug
Components: Security
Reporter: Clint Popetz
Assignee: Shane Bryzak
Fix For: 2.1.2.GA
PermissionResolvers are seam components, and the documentation doesn't mention any
restrictions on them. However, because PermissionMapper caches the resolver chain in the
application, and doesn't serialize access to the resolvers themselves,
PermissionResolvers must not only be stateless but also must not use injections, even of
stateless components, as bijection on each resolver might be interlaced from multiple
threads.
This should probably be documented, as it just exposed itself as on our production server
as nasty errors under load :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: