[jboss-jira] [JBoss JIRA] (WFLY-8091) Remote alternatives from Elytron Enabled attribute at DataSources subsystem

Flavia Rainone (JIRA) issues at jboss.org
Mon Feb 13 01:27:00 EST 2017


Flavia Rainone created WFLY-8091:
------------------------------------

             Summary: Remote alternatives from Elytron Enabled attribute at DataSources subsystem
                 Key: WFLY-8091
                 URL: https://issues.jboss.org/browse/WFLY-8091
             Project: WildFly
          Issue Type: Bug
          Components: JCA
            Reporter: Flavia Rainone
            Assignee: Flavia Rainone


If elytron-enabled is set to false,we cannot use the other alternatives:

/profile=full/subsystem=datasources/xa-data-source=H2XADS:add(driver-name=h2,
jndi-name="java:/H2XADS",user-name=sa,password=sa)
/profile=full/subsystem=datasources/xa-data-source=H2XADS:undefine-attribute(name=password)
/profile=full/subsystem=datasources/xa-data-source=H2XADS:undefine-attribute(name=user-name)
/profile=full/subsystem=datasources/xa-data-source=H2XADS:write-attribute(name=elytron-enabled,value=false)
/profile=full/subsystem=datasources/xa-data-source=H2XADS:write-attribute(name=user-name,value=sa)

The last command fails with:

/profile=full/subsystem=datasources/xa-data-source=H2XADS:write-attribute(name=user-name,value=sa)
{
    "outcome" => "failed",
    "failure-description" => {"domain-failure-description" =>
"WFLYCTL0105: user-name is invalid in combination with
elytron-enabled"},
    "rolled-back" => true
}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list