tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Forsythe <forsy...@netvoice.net>
Subject Re: How to tell if request came via HTTPS?
Date Mon, 09 Oct 2000 21:21:05 GMT
James House wrote:
> Can someone tell me if there is a way to determine whether or not a 
> request came in via HTTPS rather than HTTP?

The Request object has a method called isSecure().  Guess what it does.

I'm not sure that someone too stupid to read the basic documentation of
the API he's trying to program should be trusted writing a secure
application, but that's your employer's problem.

-- Charles

Mime
View raw message