You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Diego Manilla Suárez <di...@xeridia.com> on 2008/02/11 13:09:06 UTC

Make two authentication schemes coexist on the same app

Hi. I have a web app with standard form authentication and a custom 
JDBCRealm. Now, I need to enable client certificate authentication, and 
be able to use both authentication mechanisms (certificates when the 
user sends them, and standard login form when he doesn't).

I don't know if this is even possible. I think I can validate the user's 
certificates when he tries to access a secure area using a Filter, but I 
have no way to set the Principal on the CoyoteRequestFacade (since the 
facade prevents me from using the setUserPrincipal present on 
CoyoteRequest).

Any idea?

Thanks in advance.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org