Detect if the connection is via a secure channel
Use the servlet request's isSecure() or getAuthType() methods. Or you look at these
HTTP headers : CERT_KEYSIZE , CERT_KEYSIZE, HTTPS_KEYSIZE
Note: for a javascript solution see this HowTo
Written and compiled by Réal Gagnon ©1998-2005
[ home ]