source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/AttAuthority/siteBMapConfig.xml @ 2044

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/AttAuthority/siteBMapConfig.xml@2044
Revision 2044, 349 bytes checked in by pjkersha, 14 years ago (diff)

python/ndg.security.server/ndg/security/server/AttAuthority/AttAuthority_services_server.py,
python/ndg.security.common/ndg/security/common/AttAuthority/AttAuthority_services_types.py,
python/ndg.security.common/ndg/security/common/AttAuthority/AttAuthority_services.py,
python/www/html/attAuthority.wsdl:
Comment out HostInfo? element from getTrustedHostInfoResponse until fix is available.

python/ndg.security.server/ndg/security/server/AttAuthority/init.py:

  • fixed check for mapped certificate.
  • return empty dict rather raise exception if self.localRole2RemoteRole is not set -

it's valid to have no trusted hosts.

python/ndg.security.test/ndg/security/test/AttAuthority/siteBUserRoles.py:
set getRoles method to return an empty list so that requests for ACs have to be via the
role mapping.

python/ndg.security.test/ndg/security/test/AttAuthority/AttAuthorityClientTest.py:

  • number the tests so they run in a specific order
  • test5GetAttCert - write out AC so that it can be picked up from test6GetMappedAttCert

test

  • test6GetMappedAttCert - use AttCertRead? to read in saved AC.

python/ndg.security.test/ndg/security/test/AttAuthority/siteBMapConfig.xml:
fixed role mapping to work with site A.

python/ndg.security.test/ndg/security/test/AttAuthority/attAuthorityClientTest.cfg:
changed config items in line with numbered test method names. Added items to
test6GetMappedAttCert test.

python/ndg.security.common/ndg/security/common/AttCert.py: fixed bug in AttCertRead?.

Line 
1<?xml version="1.0" encoding="utf-8"?>
2<AAmap>
3        <thisHost name="Site B">
4            <aaURI>thisHostAttAuthorityURI</aaURI>
5            <loginURI>thisHostLoginPageURI</loginURI>
6        </thisHost>
7    <trusted name="Site A">
8            <aaURI>attAuthorityURI</aaURI>
9            <loginURI>loginPageURI</loginURI>
10                <role remote="postdoc" local="researcher"/>
11    </trusted>
12</AAmap>
Note: See TracBrowser for help on using the repository browser.