[jboss-dev-forums] [JBoss AS 7 Development] - Allow web connector redirect-port attribute to reference a socket-binding name
pstackle
do-not-reply at jboss.com
Mon Dec 19 16:22:34 EST 2011
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&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111219/6b1903bf/attachment.html
More information about the jboss-dev-forums
mailing list