Ignore:
Timestamp:
24/12/08 11:54:17 (11 years ago)
Author:
pjkersha
Message:

renamed data -> config

Location:
TI12-security/trunk/python/ndg.security.test/ndg/security/test/attributeauthority
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/attributeauthority/siteA/siteAMapConfig.xml

    r4713 r4716  
    22<AAmap> 
    33    <thisHost name="Site A"> 
    4                 <siteName>The A Centre for Research</siteName> 
     4                <siteName>A Centre for Research</siteName> 
    55        <aaURI>http://localhost:5000/AttributeAuthority</aaURI> 
    66        <loginURI>https://localhost/login</loginURI> 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/attributeauthority/test_attributeauthority.cfg

    r4680 r4716  
    1414# ! SiteBMapConfig.xml trusted site A aaURI setting must agree with this  
    1515# setting for test6GetMappedAttCert 
    16 propFilePath=$NDGSEC_AA_UNITTEST_DIR/siteA/siteAAttAuthority.cfg 
     16propFilePath=$NDGSEC_UNITTEST_DATA_DIR/attributeauthority/siteA/siteAAttributeAuthority.cfg 
    1717 
    1818# For https connections only.  !Omit ssl* settings if using http! 
     
    2020# same as peer hostname.  
    2121sslPeerCertCN = AttributeAuthority 
    22 sslCACertFilePathList = $NDGSEC_AA_UNITTEST_DIR/ca/ndg-test-ca.crt 
     22sslCACertFilePathList = $NDGSEC_UNITTEST_DATA_DIR/ca/ndg-test-ca.crt 
    2323 
    2424[test02GetTrustedHostInfo] 
     
    4646[test08GetMappedAttCertStressTest] 
    4747userAttCertFilePathList = $NDGSEC_AA_UNITTEST_DIR/ac-clnt.xml 
    48  
    49 [wsse] 
    50 # WS-Security settings for unit test AA clients 
    51 # 
    52 # OUTBOUND MESSAGE CONFIG 
    53  
    54 # Signature of an outbound message 
    55  
    56 # Certificate associated with private key used to sign a message.  The sign  
    57 # method will add this to the BinarySecurityToken element of the WSSE header.   
    58 signingCertFilePath=$NDGSEC_AA_UNITTEST_DIR/test.crt 
    59  
    60 # PEM encoded private key file 
    61 signingPriKeyFilePath=$NDGSEC_AA_UNITTEST_DIR/test.key 
    62  
    63 # Set the ValueType for the BinarySecurityToken added to the WSSE header for a 
    64 # signed message.  See __setReqBinSecTokValType method and binSecTokValType  
    65 # class variable for options - it may be one of X509, X509v3, X509PKIPathv1 or  
    66 # give full namespace to alternative - see  
    67 # ZSI.wstools.Namespaces.OASIS.X509TOKEN 
    68 # 
    69 # binSecTokValType determines whether signingCert or signingCertChain  
    70 # attributes will be used. 
    71 reqBinSecTokValType=X509v3 
    72  
    73 # Add a timestamp element to an outbound message 
    74 addTimestamp=True 
    75  
    76 # For WSSE 1.1 - service returns signature confirmation containing signature  
    77 # value sent by client 
    78 applySignatureConfirmation=False 
    79  
    80 # 
    81 # INBOUND MESSAGE CONFIG 
    82  
    83 # Provide a space separated list of file paths 
    84 caCertFilePathList=$NDGSEC_AA_UNITTEST_DIR/ca/ndg-test-ca.crt 
    85  
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/attributeauthority/test_attributeauthority.py

    r4680 r4716  
    2525mkPath = lambda file:jnPath(os.environ['NDGSEC_AA_UNITTEST_DIR'], file) 
    2626 
     27from ndg.security.test import BaseTestCase 
     28 
    2729from ndg.security.common.utils.configfileparsers import \ 
    2830    CaseSensitiveConfigParser 
     
    3335 
    3436 
    35 class AttributeAuthorityTestCase(unittest.TestCase): 
     37class AttributeAuthorityTestCase(BaseTestCase): 
    3638    clntPriKeyPwd = None 
    3739 
    3840    def setUp(self): 
    39  
     41        super(AttributeAuthorityTestCase, self).setUp() 
     42         
    4043        if 'NDGSEC_INT_DEBUG' in os.environ: 
    4144            import pdb 
     
    100103            for k, v in hostInfo.items(): 
    101104                self.assert_(k, "hostInfo value key unset") 
    102                 self.assert_(v, "%s value not set" % k) 
    103105                    
    104106        print("Trusted Host Info:\n %s" % trustedHostInfo) 
Note: See TracChangeset for help on using the changeset viewer.