source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/integration/authz/policy.xml @ 5254

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/integration/authz/policy.xml@5254
Revision 5254, 940 bytes checked in by pjkersha, 11 years ago (diff)

Added additional debug logging and improved error handling

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<Policy PolicyId="pyDAP" xmlns="urn:ndg:security:authz:1.0:policy">
3    <Description>Restrict access for Authorization integration tests</Description>
4   
5    <Target>
6        <URIPattern>^/test_securedURI*$</URIPattern>
7        <Attributes>
8            <Attribute>urn:siteA:security:authz:1.0:attr:staff</Attribute>
9        </Attributes>
10        <AttributeAuthority>
11            <uri>http://localhost:7443/AttributeAuthority</uri>
12        </AttributeAuthority>
13    </Target>
14    <Target>
15        <URIPattern>^/test_accessDeniedToSecuredURI$</URIPattern>
16        <Attributes>
17            <Attribute>urn:siteA:security:authz:1.0:attr:forbidden</Attribute>
18            <Attribute>urn:siteA:security:authz:1.0:attr:keepout</Attribute>
19        </Attributes>
20        <AttributeAuthority>
21            <uri>http://localhost:7443/AttributeAuthority</uri>
22        </AttributeAuthority>
23    </Target>
24</Policy>
Note: See TracBrowser for help on using the repository browser.