Senseless XACML parsing

Steps to reproduce

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.

Assignee

Lars Kiesow

Reporter

Lars Kiesow

Severity

Incorrectly Functioning Without Workaround

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Major
Configure