portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ate Douma (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Updated: (JS2-589) PermissionManagerImpl use of ThreadLocal for caching causes inconsistent results
Date Mon, 06 Apr 2009 23:50:13 GMT

     [ https://issues.apache.org/jira/browse/JS2-589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ate Douma updated JS2-589:
--------------------------

    Fix Version/s: 2.2.1

I think we should either should leverage transparent JPA caching (once that's replacing OJB)
or else add separate ehcache solution.
Targeting to 2.2.1 release

> PermissionManagerImpl use of ThreadLocal for caching causes inconsistent results
> --------------------------------------------------------------------------------
>
>                 Key: JS2-589
>                 URL: https://issues.apache.org/jira/browse/JS2-589
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 2.1-dev
>         Environment: java 1.5, oracle, any OS
>            Reporter: Ethan Adams
>            Priority: Critical
>             Fix For: 2.2.1
>
>
> PermissionManagerImpl uses ThreadLocal for permission caching.  This means that once
the permissions are loaded for one thread (ex. thread 1), they are there until someone changes
the permissions using the PermissionManager (on that thread).  If permissions are edited on
another thread (thread 2), thread 1 never gets updated.  So permissions are inconsistent until
the portal is restarted.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message