This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Authenticating Valve (NTLM)" Watch "Authenticating Valve (NTLM)" New topic

Authenticating Valve (NTLM)

Dan Johnsson

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:
subject: Authenticating Valve (NTLM)
Similar Threads
Eclipse Tomcat Plugin Issue
How to Define web context in JBoss other then using war file??
filter for j_security_check
Tomcat Help!
Adding Valve to Tomcat+JBoss