tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Costin Manolache <cos...@costin.dnt.ro>
Subject Re: authorization providers (was More on JAAS)
Date Wed, 19 Apr 2000 23:54:00 GMT
> * State Management -- Both RequestInterceptors and Valves are
>   used in a multithreaded environment (thread per concurrent
>   request).  As a result, any state about this request that a
>   RequestInterceptor wants to save must be stored in the request
>   itself.  In a Valve, you can do that (important if some other
>   component needs access to this information) but you can also
>   use local variables inside the invoke() method for state information
>   that is purely local to this request.

BTW, how is that working ??? Assuming you have a valve A and
a valve B, A calling B.invoke() - how can B access the local variables
in A ?



Costin


Mime
View raw message