summaryrefslogtreecommitdiff
path: root/bkucommon/src/test/resources/at
diff options
context:
space:
mode:
authorwbauer <wbauer@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2008-09-04 14:56:54 +0000
committerwbauer <wbauer@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2008-09-04 14:56:54 +0000
commite0f2c64ad6360e2ecec983cb5e0a60f812672106 (patch)
tree75040ef0d3424c8722d81163570c6770125b4d8c /bkucommon/src/test/resources/at
parentea5a30db385d2859cc45c889877954bda00ac560 (diff)
downloadmocca-e0f2c64ad6360e2ecec983cb5e0a60f812672106.tar.gz
mocca-e0f2c64ad6360e2ecec983cb5e0a60f812672106.tar.bz2
mocca-e0f2c64ad6360e2ecec983cb5e0a60f812672106.zip
finished access controller, accessed it from command invoker and
configured everything within onlinebku git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@14 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
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