Detect if the connection is via a secure channelTag(s): Servlet/JSP


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


blog comments powered by Disqus