[jetty-users] HTTP on LAN and redirect to HTTPS on WAN?

2012-09-27 Thread Will Hoover
What's the simplest way to setup Jetty 8 to allow HTTP on LAN and redirect to HTTPS on WAN? I have the HTTPS working, but I need to know the easiest way to allow HTTP on LAN. final EnumSet dispatchers = EnumSet.range( DispatcherType.FORWARD, Disp

Re: [jetty-users] HTTP on LAN and redirect to HTTPS on WAN?

2012-09-27 Thread Will Hoover
Looks like I'm close. I also want to be able to add authentication that will only apply to WAN use. Is there an easy way to do that? Authentication is set on the context which applies to both connectors. final SslSelectChannelConnector sslCnct = new SslSelectChannelConnector(s