]
Brian Stansberry updated WFLY-11492:
------------------------------------
Fix Version/s: 16.0.0.CR1
(was: 16.0.0.Beta1)
Quickstart http-custom-mechanism: documentation step fails
----------------------------------------------------------
Key: WFLY-11492
URL:
https://issues.jboss.org/browse/WFLY-11492
Project: WildFly
Issue Type: Bug
Components: Documentation
Reporter: Alan Hantke
Assignee: Darran Lofthouse
Priority: Major
Fix For: 16.0.0.CR1
Step #3, entitled *Configure the Application Security Domain* has the developer executing
the following CLI command:
{code:java}
$ {jbossHomeName}/bin/jboss-cli.sh --connect --file=configure-security-domain.cli
{code}
However, this results in the following error:
{code:java}
The batch failed with the following error (you are remaining in the batch editing mode to
have a chance to correct the error):
WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:
Step: step-1
Operation:
/subsystem=undertow/application-security-domain=other:add(http-authentication-factory=application-http-authentication)
Failure: WFLYCTL0369: Required capabilities are not available:
org.wildfly.security.http-authentication-factory.application-http-authentication;
Possible registration points for this capability:
/subsystem=elytron/http-authentication-factory=*
{code}
I am by no means an expert on this, but in looking at the standalone.xml file, I think
that there needs to be a mate for the inserted *application-http-authentication*. I have
attempted to continue without this changes installed by the CLI, but I am unable to
execute the webapp even after providing the correct user/pass in the BASIC AUTH.
I have verified that the same problem-causing syntax exists on the quickstart
'master', although I have been using branch '14.x' because neither 15.x
nor 'master' would build when I execute 'mvn clean build'. Finally, the I
encounter the problem with fresh installs of WildFly versions 10.1.0 and 14.0.
Please change change the project if I have categorized the ticket incorrectly.