[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-3882) PermissionResolvers can't use injections

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Wed Apr 15 18:27:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBSEAM-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shane Bryzak closed JBSEAM-3882.
--------------------------------

    Fix Version/s: 2.1.2.GA
       Resolution: Done
         Assignee:     (was: Shane Bryzak)


I've added a note to the security chapter of the docs.

> 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
>             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: 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