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
: 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).
If you explicitly define the Authenticator Valve as well as your own
Hi,
additional Info:
I moved the two valves in a DefaultContext tag at the end of the host
definition.
DefaultContext
Valve
className=de.tccproducts.valves.PenFrameworkAuthenticationValve /
Valve className=org.apache.catalina.authenticator.BasicAuthenticator /
/DefaultContext
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):
[...]
Valve className=de.tccproducts.valves.PenFrameworkAuthenticationValve /
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