[
https://issues.jboss.org/browse/AS7-5226?page=com.atlassian.jira.plugin.s...
]
Stefano Maestri commented on AS7-5226:
--------------------------------------
You can add it, but you can't :enable it:
[standalone@localhost:9999 /] /subsystem=datasources/data-source=TestDS1:enable
{
"outcome" => "failed",
"failure-description" => "JBAS010436: Failed to create DataSource
instance for [{
\"address\" => [
(\"subsystem\" => \"datasources\"),
(\"data-source\" => \"TestDS1\")
],
\"operation\" => \"enable\",
\"operation-headers\" => {\"caller-type\" =>
\"user\"},
\"persistent\" => undefined
}]
reason: IJ010073: Invalid <security> configuration",
"rolled-back" => true
}
This kind of check is done when the Datasource is enabled and effectively
deployed/bounded
Closing the issue as rejected for this reason.
CLI: Allows adding a Datasource with both user-name+password and
security-domain specified
------------------------------------------------------------------------------------------
Key: AS7-5226
URL:
https://issues.jboss.org/browse/AS7-5226
Project: Application Server 7
Issue Type: Bug
Components: JCA
Affects Versions: 7.1.2.Final (EAP)
Reporter: Thomas Hauser
Assignee: Stefano Maestri
Running the command
[standalone@localhost:9999 /] data-source add --name=TestDS1
--jndi-name=java:jboss/examples/TestDS1 --connection-url=localhost:8888/fake-url
--driver-name=h2 --user-name=admin --password=something --security-domain=Management
results in a Datasource being added. I was told that this should not be allowed (having
both a user-name+password and a security-domain specified)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira