I've implemented a Valve which just converts the SpNegoHttpFilter into a
class that extends ValveBase instead. Then I did declare it on the same
level as the RequestDumper Valve (on server.xml), and now it works! I'm
seeing on the request dumps that the invocation of the web-service now has
authentication info in it.

Though, I wouldn't really recommend this due to two things:
- Tomcat is deprecating Valves in Tomcat 7, and people seem to want/advise
using Filters instead.
- It's literally authenticating every request (I'd just need to add a
configuration parameter).

I won't be able to upload the source as it was just about getting the spnego
source, reading the SpnegoHttpFilter and converting it into some class that
extends ValveBase instead. (It would take just about 5~10 minutes to do
that)



--
View this message in context: 
http://openejb.979440.n4.nabble.com/Tomcat-Servlet-Filters-or-Valves-and-OpenEJB-tp3680204p3686148.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to