Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
None
-
None
Description
I stumbled upon this when writing a security related test in WildFly Camel. When adding a new Undertow application-security-domain via a ServerSetupTask, the domain is not ready for the subsequently deployed application unless the server is reloaded.
I am reporting this in spite of seeing that https://issues.jboss.org/browse/WFLY-8505 and https://issues.jboss.org/browse/JBEAP-10112 were rejected as not a bug.
The present issue is different because the application is not deployed during the add operation and hence there is no way to reload the app.
I believe either application-security-domain:add() should cause the server status change to reload-required or the application-security-domain should be available for the subsequent deployment without having to reload the server.
I have written a test case - see steps to reproduce.