Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5226

CLI: Allows adding a Datasource with both user-name+password and security-domain specified

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 7.1.2.Final (EAP)
    • JCA
    • None
    • Hide

      Run the jboss-cli.sh
      Run the given command
      Datasource appears and is enabled, even with username+password and security-domain specified.

      Show
      Run the jboss-cli.sh Run the given command Datasource appears and is enabled, even with username+password and security-domain specified.

    Description

      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)

      Attachments

        Activity

          People

            smaestri@redhat.com Stefano Maestri
            thauser_jira Thomas Hauser (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: