Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed and reviewed
    • Affects versions: 5.1
    • Fix versions: 5.1
    • Components: Backend Software
    • Labels:
      None
    • Severity:
      Incorrectly Functioning Without Workaround
    • Steps to reproduce:
      Hide
      The method `getAclFromInputStream(…)` should parse an XACML file from a
      given input stream and return the ACL object. The current implementation
      internally parses the input stream, catching possible exceptions and
      packing the result in an `Option` only to unpack it again right
      afterwards which throws an exception in case the exception had been
      caught before. Then the result is packed in a `Tuple` with a statically
      set `AclScope` which, of course, is immediately unpacked again with the
      scope just being discarded.

      Finally, the one usage of this would break if there was any problem with
      the ACL instead of handling this gracefully, falling back to a strict
      non-permissive access rule.
      Show
      The method `getAclFromInputStream(…)` should parse an XACML file from a given input stream and return the ACL object. The current implementation internally parses the input stream, catching possible exceptions and packing the result in an `Option` only to unpack it again right afterwards which throws an exception in case the exception had been caught before. Then the result is packed in a `Tuple` with a statically set `AclScope` which, of course, is immediately unpacked again with the scope just being discarded. Finally, the one usage of this would break if there was any problem with the ACL instead of handling this gracefully, falling back to a strict non-permissive access rule.

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              lkiesow Lars Kiesow
              Reporter:
              lkiesow Lars Kiesow
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases