We are attempting to add NTLM authentication to our webapp (running on Tomcat 5.0 inside JBoss 3.2.5). Our attempt is to add an extra authenticating valve, which perform NTLM authentication and thereafter registers the user to Tomcat.
However, we do not get as far as the NTLM, but get stuck earlier.
It seems like an authenticating valve cannot be added at <Host> level, but has to be defined on each <Context>. Is that correct?
We also tried to to add the valve to <DefaultContext>, but got an NoSuchMethodError for misssing "setValve", which we interpret that the DefaultContext is not a full-fledged context. Is that so?