Yes, you can use req.getScheme() to determine if the request is http or
https.

> -----Original Message-----
> From: Yu, Leo [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, May 22, 2000 7:33 PM
> To:   '[EMAIL PROTECTED]'
> Subject:      restrict access to a servlet 
> 
> 
> 
>   Hi, 
>     Is there a way I can restrict access to a servlet unless it is an
> https request ?  I am able to incoprate mod-ssl into apache.
> 
>     Thanks! 
>  Leo 
> 
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to