source: TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/authz/msi/policy-1.1.xml @ 7077

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg-security/TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/authz/msi/policy-1.1.xml@7077
Revision 7077, 1.5 KB checked in by pjkersha, 11 years ago (diff)
  • Property svn:keywords set to Id
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<Policy PolicyId="MSI Units Tests" xmlns="urn:ndg:security:authz:1.1:policy">
3    <Description>Restrict access for Authorization integration tests</Description>
4   
5    <Target>
6        <URIPattern>^/test_securedURI*$</URIPattern>
7        <Attributes>
8            <Attribute>
9                <Name>urn:siteA:security:authz:1.0:attr:staff</Name>
10                <AttributeAuthorityURI>http://localhost:7443/AttributeAuthority</AttributeAuthorityURI>
11            </Attribute>
12        </Attributes>       
13    </Target>
14    <Target>
15        <URIPattern>^/test_accessDeniedToSecuredURI$</URIPattern>
16        <Attributes>
17            <Attribute>
18                <Name>urn:siteA:security:authz:1.0:attr:forbidden</Name>
19                <AttributeAuthorityURI>http://localhost:7443/AttributeAuthority</AttributeAuthorityURI>
20            </Attribute>
21            <Attribute>
22                <Name>urn:siteA:security:authz:1.0:attr:keepout</Name>
23                <AttributeAuthorityURI>http://localhost:7443/AttributeAuthority</AttributeAuthorityURI>
24            </Attribute>
25        </Attributes>
26    </Target>
27    <!-- Test inclusion of ampersand -->
28    <Target>
29        <URIPattern>^/test_securedURI[?&amp;]MyQueryParam=100</URIPattern>
30        <Attributes>
31            <Attribute>
32                <Name>urn:siteA:security:authz:1.0:attr:staff</Name>
33                <AttributeAuthorityURI>http://localhost:7443/AttributeAuthority</AttributeAuthorityURI>
34            </Attribute>
35        </Attributes>       
36    </Target>
37</Policy>
Note: See TracBrowser for help on using the repository browser.