You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ja...@cardsetc.com on 2000/03/27 05:30:30 UTC

Sharing mod_ssl (or other Apache) environment variables with Jakarta?

Hello folks,

I am wondering how (in beta 3.1) I share the environment variables that the
mod_ssl Apache module creates for a user's secure connection with the
Jakarta servlet engine.  Also, how will my serlvets access them via the
Servlet API - I don't think it will be via HttpServletRequest, maybe
java.lang.System.getProperty() ?

I basically want to see the Distinguished Name of the client's certificate
(SSL_CLIENT_S_DN), so I can then authenticate the user via an LDAP
directory.

I've put this question on the Jakarta FAQ as well, so I'll add the
responses to the FAQ!

Regards,
James W.

==================================================================

Cards Etc will be on stand 573 at CardTech SecureTech in Miami
from 2nd May to 4th May. Look forward to seeing you there!

==================================================================
This e-mail is from Cards Etc Pty Ltd (ACN: 069 533 302).
This e-mail may contain privileged and confidential information.
It is intended for the named recipient(s) only.
If you are not an intended recipient, please notify us immediately
(by reply e-mail) and delete this e-mail from your system.
==================================================================



Re: Sharing mod_ssl (or other Apache) environment variables with Jakarta?

Posted by ma...@mjwilcox.com.
I've done just some simple digging on this. 
The best I can find is in the servlet api. I'm including a URL 
reference on your local machine
http://localhost:8080/docs/api/javax/servlet/ServletRequest.html#get
Attribute(java.lang.String)

mark

On 27 Mar 00, at 13:30, JamesW@cardsetc.com wrote:

> Hello folks,
> 
> I am wondering how (in beta 3.1) I share the environment variables that the
> mod_ssl Apache module creates for a user's secure connection with the
> Jakarta servlet engine.  Also, how will my serlvets access them via the
> Servlet API - I don't think it will be via HttpServletRequest, maybe
> java.lang.System.getProperty() ?
> 
> I basically want to see the Distinguished Name of the client's certificate
> (SSL_CLIENT_S_DN), so I can then authenticate the user via an LDAP
> directory.
> 
> I've put this question on the Jakarta FAQ as well, so I'll add the
> responses to the FAQ!
> 
> Regards,
> James W.
> 
> ==================================================================
> 
> Cards Etc will be on stand 573 at CardTech SecureTech in Miami
> from 2nd May to 4th May. Look forward to seeing you there!
> 
> ==================================================================
> This e-mail is from Cards Etc Pty Ltd (ACN: 069 533 302).
> This e-mail may contain privileged and confidential information.
> It is intended for the named recipient(s) only.
> If you are not an intended recipient, please notify us immediately
> (by reply e-mail) and delete this e-mail from your system.
> ==================================================================
> 
> 
> 
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
> 
> 
>