]
Brian Stansberry updated WFCORE-2029:
-------------------------------------
Fix Version/s: 3.0.0.Alpha15
(was: 3.0.0.Alpha14)
It is not possible to set Elytron for native management interface
-----------------------------------------------------------------
Key: WFCORE-2029
URL:
https://issues.jboss.org/browse/WFCORE-2029
Project: WildFly Core
Issue Type: Bug
Components: Security
Reporter: Ondrej Lukas
Assignee: Darran Lofthouse
Priority: Blocker
Fix For: 3.0.0.Alpha15
I am not able to correctly configure native management interface to use Elytron.
I am adding some binding for native interface:
{code}
/socket-binding-group=standard-sockets/socket-binding=native:add(port=9999)
{code}
And then adding native management interface which uses Elytron
sasl-authentication-factory ({{application-sasl-authentication}} is predefined in
standalone-elytron.xml):
{code}
/core-service=management/management-interface=native-interface:add(sasl-authentication-factory=application-sasl-authentication,socket-binding=native)
{
"outcome" => "failed",
"failure-description" => {
"WFLYCTL0412: Required services that are not installed:" =>
["org.wildfly.security.sasl-authentication-factory"],
"WFLYCTL0180: Services with missing/unavailable dependencies" =>
["jboss.remoting.server.management is missing
[org.wildfly.security.sasl-authentication-factory]"]
},
"rolled-back" => true
}
{code}
Following exception occurs in server log:
{code}
ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 2)
WFLYCTL0013: Operation ("add") failed - address: ([
("core-service" => "management"),
("management-interface" => "native-interface")
]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" =>
["org.wildfly.security.sasl-authentication-factory"],
"WFLYCTL0180: Services with missing/unavailable dependencies" =>
["jboss.remoting.server.management is missing
[org.wildfly.security.sasl-authentication-factory]"]
}
INFO [org.jboss.as.controller] (management-handler-thread - 2) WFLYCTL0183: Service
status report
WFLYCTL0184: New missing/unsatisfied dependencies:
service org.wildfly.security.sasl-authentication-factory (missing) dependents:
[service jboss.remoting.server.management]
{code}
The same exception is thrown when I am trying to set SSL through Elytron {{ssl-context}}
attribute in management native-interface.