This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Authenticating Valve (NTLM)

 
Dan Johnsson
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic