]
Brian Stansberry moved JBEAP-11494 to WFLY-8923:
------------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-8923 (was: JBEAP-11494)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Domain Management
Security
(was: Domain Management)
(was: Installer)
(was: Security)
Affects Version/s: (was: 7.1.0.ER1)
Affects Testing: (was: Regression)
Modifying security in installer fails for domain configuration
--------------------------------------------------------------
Key: WFLY-8923
URL:
https://issues.jboss.org/browse/WFLY-8923
Project: WildFly
Issue Type: Bug
Components: Domain Management, Security
Reporter: Jan Blizňák
Assignee: Brian Stansberry
Priority: Critical
With ER1 user is unable to configure security modules or JSSE via installer. Doing so
result in failed installation.
The probable cause is change made by WFCORE-2849.
Eg.these CLI commands (genenerated by installer) have different outcomes in DR19 and
ER1:
{code:java}
$ bin/jboss-cli.sh
You are disconnected at the moment. Type 'connect' to connect to the server or
'help' for the list of supported commands.
[disconnected /] embed-host-controller
[domain@embedded /]
/profile=default/subsystem=security/security-domain=mySecurityDomain:add()
[domain@embedded /]
/profile=default/subsystem=security/security-domain=mySecurityDomain/authentication=classic:add(login-modules=[{"code"=>"Client","flag"=>"Required","module-options"=>[("testName"=>"testValue"),]}])
{code}
with failure in ER1:
{code:java}
{
"outcome" => "failed",
"failure-description" => {"domain-failure-description" =>
"WFLYCTL0158: Operation handler failed: java.lang.IllegalStateException: WFLYCTL0123:
Stage RUNTIME is not valid for context process type EMBEDDED_HOST_CONTROLLER"},
"rolled-back" => true
}
{code}