Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-8334

It's not possible to set username and password for datasource in elytron-only configuration

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 11.0.0.Alpha1
    • JCA
    • None
    • Hide

      remove

      <extension module="org.jboss.as.security"/>
      ....
      <subsystem xmlns="urn:jboss:domain:security:3.0">
      

      add elytron-enabled to ExampleDS

      <security>
          <elytron-enabled>true</elytron-enabled>
          <user-name>sa</user-name>
          <password>sa</password>
      </security>
      
      Show
      remove <extension module= "org.jboss.as.security" /> .... <subsystem xmlns= "urn:jboss:domain:security:3.0" > add elytron-enabled to ExampleDS <security> <elytron-enabled> true </elytron-enabled> <user-name> sa </user-name> <password> sa </password> </security>

    Description

      elytron-only = configuration with elytron subsystem and without security subsystem

      It's not possible to set username and password for datasource in elytron-only configuration.

      In elytron-only configuration, attribute elytron-enabled has to be set to true otherwise datasource service fails to start because of dependencies on legacy security services (see JBEAP-8763).

      But when elytron-enabled=true then it's not possible to use username and password (credential-reference doesn't seem to be taken into account - looks like bug with current behavior).

      I expect that users will want to use simple username and password even in elytron-only configuration.

      Attachments

        Issue Links

          Activity

            People

              flaviarnn Flavia Rainone
              flaviarnn Flavia Rainone
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: