Re: AW: Executing Valve before Basic Authentication takes place

2006-07-04 Thread David Delbecq
From tomcat docs: You can nest one or more Context elements inside this Host element, each representing a different web application associated with this virtual host. In addition, you can nest a single DefaultContext element that defines default values for *subsequently* deployed web applicatio

AW: Executing Valve before Basic Authentication takes place

2006-07-04 Thread Böhringer Jochen
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

Re: AW: Executing Valve before Basic Authentication takes place

2006-07-04 Thread David Delbecq
As it states, the authenticator valve must be attached to the context, not the host. Just put your valve at host level and it should be called before the authentification valve which is automatically added to the context.xml at deployement. Also, take a look at single sign-on valve which doe a

AW: Executing Valve before Basic Authentication takes place

2006-07-04 Thread Böhringer Jochen
Hi Mark, thanks for your hint. I configured the the BasicAuthentication valve an my own one in the following order in the server.xml document: But unfortunately I get this exception starting the app server: java.lang.reflect.Invoc