pstackle [
http://community.jboss.org/people/pstackle] created the discussion
"Allow web connector redirect-port attribute to reference a socket-binding
name"
To view the discussion, visit:
http://community.jboss.org/message/642327#642327
--------------------------------------------------------------
Is there any plan or possibility to allow for a connector's redirect-port attribute to
reference a socket-binding name instead of a port number?
The primary use case I want this for is to configure a connector on the http socket and
then redirect to the https socket without having to specify the actual port number outside
of the socket-binding-group.
Web subsystem:
<connector name="http" protocol="HTTP/1.1" scheme="http"
socket-binding="http" redirect-port="https"/>
<connector name="https" protocol="HTTP/1.1"
socket-binding="https" scheme="https" secure="true">
...
</connector
socket-binding-group:
<socket-binding-group name="standard-sockets"
default-interface="public">
<socket-binding name="http" port="${http.default.port:80}"/>
<socket-binding name="https"
port="${https.default.port:443}"/>
...
</socket-binding-group>
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/642327#642327]
Start a new discussion in JBoss AS 7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]