You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by James Rome <ja...@gmail.com> on 2005/10/04 16:44:26 UTC

Certificate authentication

I have looked at the source code and it seems to me that presented
client certificates are only checked for their validity dates, and NOT
for whether they have been revoked. I am able to access my Tomcat site
with a revoked certificate.

It is easy to implement OCSP and/or CRL checking, so I implemented an
X509Realm that extends BasicRealm. I overrode all of the authenticate()
methods, but they are never called when I access my site. I put my realm
in the <Engine> and require CLIENT-CERTS in the site <Context>.

Why don't my methods get called? The start() method gets called, but
nothing else.

Jim Rome

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Certificate authentication

Posted by Mark Thomas <ma...@apache.org>.
James Rome wrote:
> Why don't my methods get called? The start() method gets called, but
> nothing else.
Take a look at 
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina/authenticator/package-summary.html

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org