[jboss-jira] [JBoss JIRA] Closed: (JBAS-7311) Valve to cache Catalina Request object in a threadlocal at the engine level

Anil Saldhana (JIRA) jira-events at lists.jboss.org
Tue Oct 6 07:39:49 EDT 2009


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

Anil Saldhana closed JBAS-7311.
-------------------------------

    Resolution: Done


========================================
ant -Dtest=org.jboss.test.web.test.ActiveRequestResponseCacheValveUnitTestCase one-test
Buildfile: build.xml                                                                   

one-test:
    [mkdir] Created dir: /home/anil/jboss-6.0/jboss-head/testsuite/output/log
    [junit] Running org.jboss.test.web.test.ActiveRequestResponseCacheValveUnitTestCase
    [junit] Running org.jboss.test.web.test.ActiveRequestResponseCacheValveUnitTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.147 sec              

BUILD SUCCESSFUL
Total time: 7 seconds
===================================================


A valve at the engine level called "ActiveRequestResponseCacheValve" caches the active request/response.

> Valve to cache Catalina Request object in a threadlocal at the engine level
> ---------------------------------------------------------------------------
>
>                 Key: JBAS-7311
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7311
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: Web (Tomcat) service
>    Affects Versions: JBossAS-5.1.0.GA
>            Reporter: Anil Saldhana
>            Assignee: Anil Saldhana
>             Fix For: JBossAS-5.2.0.Beta1, JBossAS-6.0.0.Alpha1
>
>
> During security processing in the realms, there is no easy way to get to the catalina request object.
> We need to remove the thread locals from the SecurityASsociationValve for request caching and introduce a valve at the engine level.

-- 
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 jboss-jira mailing list