Details

      Description

      When using an elytron client config with the management cli script, script still prompts for password despite being set in the file.

      for example:

      custom-config.xml

      <configuration>
          <authentication-client xmlns="urn:elytron:1.0">
              <authentication-rules>
                  <rule use-configuration="configuration1">
                      <match-host name="localhost" />
                  </rule>
                  <rule use-configuration="configuration1">
                      <match-host name="127.0.0.1" />
                  </rule>
             </authentication-rules>
              <authentication-configurations>
                  <configuration name="configuration1">
                      <allow-sasl-mechanisms names="DIGEST-MD5" />
                       <use-service-loader-providers />
                       <set-user-name name="user1" />
                       <credentials>
                           <clear-password password="password123" />
                       </credentials>
                       <set-mechanism-realm name="exampleManagementRealm" />
                   </configuration>
              </authentication-configurations>
          </authentication-client>
      </configuration>
      

      command and output

      $ ./jboss-cli.sh -Dwildfly.config.url=/path/to/custom-config.xml --controller=remote+http://localhost:9990 --no-local-auth -c
      
      Authenticating against security realm: exampleManagementRealm
      Username:
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  baranowb Bartosz Baranowski
                  Reporter:
                  zrhoads Zach Rhoads
                  Tester:
                  Martin Svehla
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: