When running Tomcat in standalone method, you can set a "redirectPort" attribute on a to deal with a <transport-guarantee> of CONFIDENTIAL. Is there anyway to do this (with JBoss 2.4.4) using the EmbeddedCatalinaServiceSX mbean? I tried adding 8443, but that didn't seem to work. I tried putting in the same tag I have in Tomcat's server.xml file inside a tag (inside the tag) and that didn't seem to work.
Or is there another/better way to do with this the embedded Tomcat? Basically, I want anyone going to a non-https page to be redirected to the https version.