You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2005/11/07 14:47:46 UTC

DO NOT REPLY [Bug 36494] - [PATCH] AccessControlException

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36494>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36494


felix.roethenbacher@wyona.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |blocker
            Summary|AccessControlException      |[PATCH]
                   |                            |AccessControlException




------- Additional Comments From felix.roethenbacher@wyona.com  2005-11-07 14:47 -------
I increase the severity of this bug to blocker as the
DocumentPolicyManagerWrapper uses a stale Request object which leads eventually
to NullPointerExceptions.

DocumentPolicyManagerWrapper implements the Contextualize interface. Usually,
contextualize() is called when the component is retrieved. Because of the
caching behaviour of AbstractAccessControllerResolver this is never done,
leaving the DocumentPolicyManagerWrapper with a stale Request object. Either the
DocumentPolicyManagerWrapper should not be cached or the Request object has to
be retrieved in another way than through the Context object.

The patch ensures the correct retrieval of the Request object.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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