logo       

Re: SSL over IIS: msg#00120

java.jetty.support

Subject: Re: SSL over IIS


It appears that it happens when I do a res.redirect, that it redirects to
a non ssl version.

I added the following lines to the top of my servlet
System.out.println( "req.getRequestURI()=" +
request.getRequestURI() );
System.out.println( "req.getRequestURL()=" +
request.getRequestURL() );
System.out.println( "req.isSecure()=" + request.isSecure() );
System.out.println( "req.getScheme()=" + request.getScheme() );

15:47:29,295 INFO [STDOUT] req.getRequestURI()=/Budget/worksheets/servlet
15:47:29,295 INFO [STDOUT]
req.getRequestURL()=http://localhost/Budget/worksheets/servlet
15:47:29,295 INFO [STDOUT] req.isSecure()=false
15:47:29,295 INFO [STDOUT] req.getScheme()=http


I am hitting https://localhost/Budget/worksheets/servlet
shouldn't these return
req.isSecure()=true
req.getScheme()=https

Ben Litchfield



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/CefplB/TM
---------------------------------------------------------------------~->

For the latest information about Jetty, please see http://jetty.mortbay.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise