summaryrefslogtreecommitdiff
path: root/bkucommon/src/test/resources/at
diff options
context:
space:
mode:
Diffstat (limited to 'bkucommon/src/test/resources/at')
-rw-r--r--bkucommon/src/test/resources/at/gv/egiz/bku/accesscontroller/AccessControlConfig.xml6
-rw-r--r--bkucommon/src/test/resources/at/gv/egiz/bku/accesscontroller/SimpleChainTest.xml39
2 files changed, 42 insertions, 3 deletions
diff --git a/bkucommon/src/test/resources/at/gv/egiz/bku/accesscontroller/AccessControlConfig.xml b/bkucommon/src/test/resources/at/gv/egiz/bku/accesscontroller/AccessControlConfig.xml
index 2455d68d..22f9e4a5 100644
--- a/bkucommon/src/test/resources/at/gv/egiz/bku/accesscontroller/AccessControlConfig.xml
+++ b/bkucommon/src/test/resources/at/gv/egiz/bku/accesscontroller/AccessControlConfig.xml
@@ -29,7 +29,7 @@
</Rule>
<Rule Id="rule-4">
<AuthClass>anonymous</AuthClass>
- <DomainName>*.gv.at</DomainName>
+ <DomainName>$.gv.at</DomainName>
<Action>
<RuleAction>allow</RuleAction>
</Action>
@@ -44,7 +44,7 @@
<AnyPeer />
<Command Name="Infobox*">
<Param Name="InfoboxIdentifier">IdentityLink</Param>
- <Param Name="PersonIdentifier">*</Param>
+ <Param Name="PersonIdentifier">.*</Param>
</Command>
<Action>
<RuleAction>allow</RuleAction>
@@ -56,7 +56,7 @@
<URL>https://finanzonline.bmf.gv.at/*</URL>
<Command Name="InfoboxReadRequest">
<Param Name="InfoboxIdentifier">Mandates</Param>
- <Param Name="PersonIdentifier">*</Param>
+ <Param Name="PersonIdentifier">.*</Param>
</Command>
<Action>
<RuleAction>allow</RuleAction>
diff --git a/bkucommon/src/test/resources/at/gv/egiz/bku/accesscontroller/SimpleChainTest.xml b/bkucommon/src/test/resources/at/gv/egiz/bku/accesscontroller/SimpleChainTest.xml
new file mode 100644
index 00000000..92490fb2
--- /dev/null
+++ b/bkucommon/src/test/resources/at/gv/egiz/bku/accesscontroller/SimpleChainTest.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<AccessControl>
+ <Chains>
+ <Chain Id="InputFilter">
+ <Rules>
+ <Rule Id="rule-IF1">
+ <AuthClass>pseudoanonymous</AuthClass>
+ <Action>
+ <ChainRef>DelegateFilter</ChainRef>
+ </Action>
+ </Rule>
+ </Rules>
+ </Chain>
+
+ <Chain Id="DelegateFilter">
+ <Rules>
+ <Rule Id="rule-DF1">
+ <AuthClass>certified</AuthClass>
+ <Command Name="Infobox.*">
+ <Param Name="InfoboxIdentifier">IdentityLink</Param>
+ <Param Name="PersonIdentifier">derived</Param>
+ </Command>
+ <Action>
+ <RuleAction>allow</RuleAction>
+ </Action>
+ </Rule>
+ <Rule Id="rule-DF2">
+ <AuthClass>certified</AuthClass>
+ <Command Name="Infobox.*">
+ <Param Name="InfoboxIdentifier">IdentityLink</Param>
+ </Command>
+ <Action>
+ <RuleAction>deny</RuleAction>
+ </Action>
+ </Rule>
+ </Rules>
+ </Chain>
+ </Chains>
+</AccessControl> \ No newline at end of file