-
Bug
-
Resolution: Obsolete
-
Major
-
8.2.0.Final
-
None
Continuing WFLY-2836.
Is there a way to override http-listener's redirect-socket attribute default value ("https") to be null?
This is just default value, looking at the downside of not having default value for redirect-socket would be that people would not configure it, which would result in problems when having apps that require secure transport.
Our app doesn't require secure transport.
redirect-socket=""
results in
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[956,166] Message: "JBAS014704: '' is an invalid value for parameter redirect-socket. Values must have a minimum length of 1 characters"
This:
redirect-socket="null"
treats it literally:
]) - failure description: {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.undertow.listener.someapp-http-listener is missing [jboss.binding.null]"]}
So we're forced to have a https socket-binding. Which is not a "just define some binding" problem. It's a "negotiate with customers&sysadmins/document it/provide options to configure it" problem.