-
Bug
-
Resolution: Done
-
Major
-
7.2.0.GA
The definition of the http-interface for the management-interface in the wildfly-config_5_0.xsd is defined as:
<xs:complexType name="host-http-management-interfaceType"> <xs:annotation> <xs:documentation> Configuration of a host's exposed HTTP management interface. </xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="http-management-interfaceType"> <xs:sequence> <xs:element name="socket" type="host-http-management-socketType"/> </xs:sequence> <xs:attribute name="console-enabled" type="xs:boolean" use="optional" default="true"/> </xs:extension> </xs:complexContent> </xs:complexType>
Where xs:sequence has a default definition of:
- maxOccurs Optional. Specifies the maximum number of times the sequence element can occur in the parent element. The value can be any number >= 0, or if you want to set no limit on the maximum number, use the value "unbounded". Default value is 1
- minOccurs Optional. Specifies the minimum number of times the sequence element can occur in the parent element. The value can be any number >= 0. Default value is 1
But the parser allows to configure multiple sockets like this:
... <security-realm name="ManagementRealm"> <server-identities> <ssl> <keystore path="server.keystore" relative-to="jboss.domain.config.dir" keystore-password="******" alias="server"/> </ssl> </server-identities> <authentication> <properties path="mgmt-users.properties" relative-to="jboss.domain.config.dir"/> </authentication> </security-realm> ... <http-interface security-realm="ManagementRealm"> <http-upgrade enabled="true"/> <socket interface="local" port="${jboss.management.local.http.port:9990}"/> <socket interface="management" secure-port="${jboss.management.https.port:9443}"/> </http-interface> ... <interfaces> <interface name="local"> <inet-address value="${jboss.bind.address.local.management:127.0.0.1}"/> </interface> <interface name="management"> <inet-address value="${jboss.bind.address.management:jbaesner.remote.csb}"/> </interface> </interfaces> ...
- clones
-
WFCORE-4269 Multiple <socket> elements inside an http-interface parsed wrongly
- Resolved
- is incorporated by
-
JBEAP-15617 (7.2.z) Upgrade WildFly Core from 6.0.11 to 6.0.12
- Closed
- links to