Josef Cacek created WFLY-7947:
---------------------------------
Summary: The elytron-domain attribute in messaging subsystem doesn't
reference capability
Key: WFLY-7947
URL:
https://issues.jboss.org/browse/WFLY-7947
Project: WildFly
Issue Type: Bug
Components: JMS, Security
Reporter: Josef Cacek
Assignee: Jeff Mesnil
The {{elytron-domain}} attribute in ActiveMQ server configuration must reference
capability "org.wildfly.security.security-domain" to allow value validation and
enable auto-completion support in CLI. It's just a STRING value now without
validation.
Currently it's possible to do following:
{code}
[standalone@embedded /]
/subsystem=messaging-activemq/server=default:write-attribute(name=elytron-domain,
value=NoSuchDomain)
{"outcome" => "success"}
{code}
The behavior should be aligned to Batch subsystem for instance:
{code}
[standalone@embedded /]
/subsystem=batch-jberet:write-attribute(name=security-domain,value=NoSuchDomain)
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0369: Required capabilities are not
available:
org.wildfly.security.security-domain.NoSuchDomain; There are no known registration
points which can provide this capability.",
"rolled-back" => true
}
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)