Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.1.0.DR16
    • Fix Version/s: 7.1.0.DR18
    • Component/s: Test Suite
    • Labels:
      None

      Description

      Coverity scan found issue in following code in FileSystemRealm class in testsuite/shared module:

      String.format("/subsystem=elytron/filesystem-realm=%s/identity=%s:add-attribute(name=groups, value=[%s])",
        name, user.getName(), user.getPassword(), String.join(",", user.getRoles())));
      

      The code contains 3x %s, but 4x parametr.

      The param user.getPassword() is a C/P leftover and should be removed.

      https://github.com/wildfly/wildfly/blob/9a2abd640a01749efcf864a1184b025a0d7dd212/testsuite/shared/src/main/java/org/wildfly/test/security/common/elytron/FileSystemRealm.java#L64

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jcacek Josef Cacek
                  Reporter:
                  jcacek Josef Cacek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: