Aaron Stromas wrote:
> 
> hi,
> 
> i must misunderstand the syntax and use of the ApJServEnvVar directive.
> the syntax seem to be
>    ApJServEnvVar <localvar> <remotevar>
> i assume the <localvar> to be the apache environment variable, and
> <remotevar> to be the key to be given to HttpRequest.getAttribute().
> 
> i have this entry in jserrv.conf:
> 
> ApJServEnvVar SSL_CLIENT_CERT org.apache.jserv.SSL_CLIENT_CERT
> 
> i've traced the jserv_ajpv12.c and can see that found out that
> ap_table_get(r->subprocess_env, "SSL_CLIENT_CERT") returns null,
> although the cgi variable SSL_CLIENT_CERT contains the client cert, the
> printenv script shows it.
> 
> also, from examining the JServConnection.java it appears that
> <remotevar> must begin with "org.apache.jserv". why is that? just
> curious...
> tia
> 
Hi,

ApJServEnvVar    SSL_CLIENT_CERT       SSL_CLIENT_CERT 
              << module env name >>  << servlet expected name >> 

your cgi SSL_CLIENT_CERT will be forwarded with a remote name
SSL_CLIENT_CERT (and you will acces it under this name in your servlet).

why do I have 2 names ?
SSL cgi variables names are not all the same in :
- mod_ssl
- ben-ssl
- other ssl modules

so this will allow any user to map any local name to a chosen name in
your servlet.

jluc


--
----------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to