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
: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ed Yu
Sent: Tuesday, May 23, 2000 8:50 AM
To: '[EMAIL PROTECTED]'
Subject: RE: restrict access to a servlet
Yes, you can use req.getScheme() to determine if the request is http or
https.
-Original Message-
From: Yu, Leo
Yes, when the servlet engine have set the scheme. :-/
Not the Tomcat 3.1 cas without patch ;-(
-
Henri Gomez ___[_]
EMAIL : [EMAIL PROTECTED] (. .)
PGP KEY : 4912D659...oOOo..(_)..oOOo...
PGP Fingerprint : 8CAD0D50356DA7E45C540B010FFE39E8
Title: 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
--- "Yu, Leo" [EMAIL PROTECTED] wrote:
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.
You could put SSLRequireSSL in a Directory, Location, or Files block,
I'd think. Yes?
Paul
OO Paradig
In a message dated 5/22/2000 10:23:01 PM Eastern Daylight Time,
[EMAIL PROTECTED] writes:
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.
Sure, I do it all the time with mod_perl.
The ServletRequest