source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/AttAuthority/attAuthorityClientTest.cfg @ 2051

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/AttAuthority/attAuthorityClientTest.cfg@2051
Revision 2051, 1.1 KB checked in by pjkersha, 14 years ago (diff)
  • Working Attribute Authority unit tests *

python/ndg.security.server/ndg/security/server/AttAuthority/server-config.tac:

  • removed debug statements
  • getTrustedHostInfo: added code to make HostInfo? types and carry out serialization.

python/www/html/attAuthority.wsdl,
python/ndg.security.server/ndg/security/server/AttAuthority/AttAuthority_services_serv
er.py,
python/ndg.security.common/ndg/security/common/AttAuthority/AttAuthority_services_types.py,
python/ndg.security.common/ndg/security/common/AttAuthority/AttAuthority_services.py:
fix to WSDL: give name attribute to HostInfo? ComplexType?. No need to declare element.

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

AttAuthorityNoMatchingRoleInTrustedHosts? for handling getTrustedHostInfo errors.

  • changed usr -> user

python/ndg.security.server/ndg/security/server/AttAuthority/Makefile: make substitution
text macros

python/conf/attAuthorityProperties.xml,
python/ndg.security.test/ndg/security/test/AttAuthority/siteAAttAuthorityProperties.xml,
python/ndg.security.test/ndg/security/test/AttAuthority/siteBAttAuthorityProperties.xml,
python/ndg.security.test/ndg/security/test/AttAuthority/siteAUserRoles.py,
python/ndg.security.test/ndg/security/test/AttAuthority/siteBUserRoles.py:
changed usr -> user

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

  • fixed bugs in test method names
  • get host info and get trusted host info now correctly print output.

python/ndg.security.test/ndg/security/test/AttAuthority/siteAMapConfig.xml:
added trusted host info to allow testing with getTrustedHostInfo.

python/ndg.security.test/ndg/security/test/AttAuthority/attAuthorityClientTest.cfg:
fix to test3GetTrustedHostInfo method name tag

python/ndg.security.common/ndg/security/common/AttAuthority/init.py: AA client code
Fixed set up of dictionary output from returned ZSI types.

Line 
1# NERC Data Grid Project
2#
3# P J Kershaw 16/01/07
4#
5# Copyright (C) 2007 CCLRC & NERC
6#
7# This software may be distributed under the terms of the Q Public License,
8# version 1.0 or later.
9[setUp]
10uri = http://localhost:5000/AttributeAuthority
11
12# X.509 certificate for Attribute Authority - to verify the signature of
13# returned responses
14#aacertfilepath =
15
16# Password protecting client private key - if omitted it will be prompted for
17# from tty
18userprikeypwd = 
19usercertfilepath = ./proxy-cert.pem
20userprikeyfilepath = ./proxy-key.pem
21
22[test3GetTrustedHostInfo]
23role = postgrad
24# Test no matching role exception
25#role = blah
26 
27[test5GetAttCert]
28# If usercertfilepath is a proxy set this cert as the one that issued the
29# proxy.  Comment out if usercertfilepath is a standard X.509 cert.
30#issuingusercertfilepath = ./user-cert.pem
31# Setup for use by testGetMappedAttCert test
32attCertFilePath = ./ac.xml
33
34[test6GetMappedAttCert]
35userprikeypwd = 
36usercertfilepath = ./proxy-cert.pem
37userprikeyfilepath = ./proxy-key.pem
38
39uri = http://localhost:5100/AttributeAuthority
40userAttCertFilePath = ./ac.xml
41
42
43
Note: See TracBrowser for help on using the repository browser.