This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Tomcat and the fly likes Authenticating Valve (NTLM) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Authenticating Valve (NTLM)" Watch "Authenticating Valve (NTLM)" New topic
Author

Authenticating Valve (NTLM)

Dan Johnsson
Greenhorn

Joined: May 31, 2004
Posts: 24
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?

Anybody with insights they want to share?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Authenticating Valve (NTLM)