Jeanfrancois Arcand wrote:
Hi Remy,I experimented with using an instanceof, as saving an object allocation seems like a good idea. Let me know if there's a problem, and I'll fix it tomorrow (going to bed now; yawn :) ).
the Administration Tool throw the following exception with your latest change in ApplicationFilterFactory
java.lang.ClassCastException
at org.apache.catalina.core.ApplicationFilterFactory.createFilterChain(ApplicationFilterFactory.java:150)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:713)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:464)
The problem is at line
+ if (securityManager == null) {
+ Request req = (Request) request;
The request is an instance of org.apache.catalina.core.ApplicationHttpRequest, who extends HttpServletRequestWrapper and who cannot be casted into a Request object (IMBW). I will investigate further....
Any ideas?
Remy
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>