blob: f3394462ccf2d5125e5be667623ca00b79459fd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/usr/bin/env bash
NAME="$(basename $1)"
if [ $NAME = "IIA001" ]; then
NAME="IIA1"
fi
cat > /tmp/pdp.xml <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<pdp xmlns="http://authzforce.github.io/core/xmlns/pdp/8"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="8.0">
<policyProvider id="rootPolicyProvider" xsi:type="StaticPolicyProvider">
<policyLocation>$1/Policy.xml</policyLocation>
</policyProvider>
<rootPolicyRef>urn:oasis:names:tc:xacml:2.0:conformance-test:$NAME:policy</rootPolicyRef>
<ioProcChain>
<requestPreproc>urn:ow2:authzforce:feature:pdp:request-preproc:xacml-json:default-lax</requestPreproc>
<resultPostproc>urn:ow2:authzforce:feature:pdp:result-postproc:xacml-json:default</resultPostproc>
</ioProcChain>
</pdp>
EOF
java -jar /tmp/authzforce-ce-core-pdp-cli-21.0.1.jar /tmp/pdp.xml $1/Request.xml
|
© 2015 - 2026 Jakob L. Kreuze