Hello,
thanks for your help. I have now used this method call to manipulate the header
and it works:-))
request.getCoyoteRequest().getMimeHeaders().addValue("Authorization").setString("Basic
am9jaGVuYjpqb2NoZW5i");
Many thanks
Regards
Jochen
--
>Again, put your valve in host, not context if you want it to be called
>before authentification
Sorry I misunderstood your hint. Now I have this configuration (with Valve and
Host element on the same level):
[...]
[...]
Now my valve is called before the response the authenticati
Hi,
additional Info:
I moved the two valves in a DefaultContext tag at the end of the host
definition.
Now there are no exceptions any more. But my own valve is never called.
Regards
Jochen
-
To start a
: Dienstag, 4. Juli 2006 03:06
An: Tomcat Users List
Betreff: Re: Executing Valve before Basic Authentication takes place
Böhringer Jochen wrote:
> But the problem is, that this valve is called after the basic authentication
> took place (exactly as it happens if I try to use a servlet filter
Hello,
I try to get the following to work (Apache Tomcat/5.5.9 as ServletContainer
within JBoss 4.x):
I have a servlet inside a web application which is protected by Basic
Authentication. The problem is that I have some clients which cannot do the
challenge response basic authentication needs.