Re: Setting/changing authorization header in Tomcat 5.*

2007-01-16 Thread Mark Thomas
Eugeny N Dzhurinsky wrote: > Hello! > > Could somebody please advice what is a best way to implement a valve class, > which will just add custom authorization header if request matches some > conditions? If you want to add a header then something like this should work but I haven't tested it at a

Setting/changing authorization header in Tomcat 5.*

2007-01-16 Thread Eugeny N Dzhurinsky
Hello! Could somebody please advice what is a best way to implement a valve class, which will just add custom authorization header if request matches some conditions? I looked at org.apache.catalina.Request interface and found there is a method /** * Set the authorization credentials sent wit