[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3882) PermissionResolvers can't use injections
Clint Popetz (JIRA)
jira-events at lists.jboss.org
Tue Jan 6 21:11:03 EST 2009
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
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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list