Good day,
I have an issue I can't work around.
In my standalone-full.xml config, I am trying to add the attribute 'http-authentication-factory' to my 'application-security-domain' in both the Undertow and EJB subsystems.
But no matter what I input, I receive the following error:
OPVDX001: Validation error in standalone-full.xml ------------------------------
|
| 608: </handlers>
| 609: <application-security-domains>
| 610: <application-security-domain name="other" http-authentication-factory="my-http-authentication"/>
| ^^^^ 'http-authentication-factory' isn't an allowed attribute for the
| 'application-security-domain' element
|
| Attributes allowed here are: enable-jacc,
| legacy-compliant-principal-propagation, name, security-domain
|
| 611: </application-security-domains>
| 612: </subsystem>
| 613: <subsystem xmlns="urn:jboss:domain:webservices:2.0" statistics-enabled="${wildfly.webservices.statistics-enabled:${wildfly.statistics-enabled:false}}">
|
| 'http-authentication-factory' is allowed on elements:
| - server > management > management-interfaces > http-interface
| - server > profile > {urn:jboss:domain:undertow:community:14.0}subsystem > server > host > http-invoker
| - server > profile > {urn:jboss:domain:undertow:community:14.0}subsystem > application-security-domains > application-security-domain
|
|
| The primary underlying error message was:
| > ParseError at [row,col]:[288,114]
| > Message: WFLYCTL0197: Unexpected attribute
| > 'http-authentication-factory' encountered
|
|-------------------------------------------------------------------------------
16:44:46,747 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed to parse configuration
at org.jboss.a...@29.0.0.Beta6//org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:123)
at org.jboss...@29.0.0.Beta6//org.jboss.as.server.ServerService.boot(ServerService.java:386)
at org.jboss.a...@29.0.0.Beta6//org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:360)
at java.base/java.lang.Thread.run(Thread.java:842)
The highlighted lines contradict each other in the same error message. I can confirm that my line 610 is indeed specified in server > profile >
subsystem xmlns="urn:jboss:domain:undertow:community:14.0" > application-security-domains > application-security-domain
The official xsd for undertow supports that this should be possible:
Line 1016 there shows that http-authentication-factory is a String attribute of applicationSecurityDomainType (= application-security-domain).
I have tried this with WildFly 34.0.1.Final, 35.0.1.Final, 36.0.1.Final and 37.0.0.Beta1 (all the latests), with the same result.
I am using JDK 21 for this (and have tested on WF 37 with JDK 17 as well).
This used to work in WildFly 14. Is this a bug? Or did I write something wrong? I have tried to work around, to no avail.
Thank you for your time
Regards,
Arthur