Is it possible to secure resources of an web-application with tomcat (v. >6) using different auth-methods:
I have a webapp, where some resources can be secured just using BASIC Auth. Example for Basic:
But for some resources which are exposed as services I want to use Client-Cert Authentication. Example for Client-Cert:
Until now I have only found possiblities to do this per web-app in the web.xml but not on resource level.
There is no way to configure Tomcat to do this out of the box. It might be possible with 3rd party authentication libraries.