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 all. MessageBytes mb = o.a.c.connector.Request.getCoyoteRequest().getMimeHeaders().addValue("HeaderName"); mb.setString("HeaderValue"); Mark --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]