Ignore:
Timestamp:
05/01/09 14:43:08 (11 years ago)
Author:
pjkersha
Message:

Refactored x509, xmlsec, XMLSecDoc and combinedservices unit tests separating out test files into the config dir.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/combinedservices/services.ini

    r4682 r4739  
    3131 
    3232# All Attribute Certificates issued are recorded in this dir 
    33 attributeAuthority.attCertDir: %(here)s/siteAAttributeAuthority/attCertLog 
     33attributeAuthority.attCertDir: $NDGSEC_UNITTEST_CONFIG_DIR/attributeauthority/sitea/attributeCertificateLog 
    3434 
    3535# Files in attCertDir are stored using a rotating file handler 
     
    4141 
    4242# Location of role mapping file 
    43 attributeAuthority.mapConfigFile: %(here)s/siteAAttributeAuthority/siteAMapConfig.xml 
     43attributeAuthority.mapConfigFile: $NDGSEC_UNITTEST_CONFIG_DIR/attributeauthority/sitea/siteAMapConfig.xml 
    4444 
    4545# Settings for custom AAUserRoles derived class to get user roles for given  
    4646# user ID 
    47 attributeAuthority.userRolesModFilePath: %(here)s/siteAAttributeAuthority 
     47attributeAuthority.userRolesModFilePath: $NDGSEC_UNITTEST_CONFIG_DIR/attributeauthority/sitea 
    4848attributeAuthority.userRolesModName: siteAUserRoles 
    4949attributeAuthority.userRolesClassName: TestUserRoles 
    5050 
    5151# Config for XML signature of Attribute Certificate 
    52 attributeAuthority.signingPriKeyFilePath: %(here)s/siteAAttributeAuthority/siteA-aa.key 
    53 attributeAuthority.signingCertFilePath: %(here)s/siteAAttributeAuthority/siteA-aa.crt 
    54 attributeAuthority.caCertFilePathList: %(here)s/ca/ndg-test-ca.crt 
     52attributeAuthority.signingPriKeyFilePath: $NDGSEC_UNITTEST_CONFIG_DIR/attributeauthority/sitea/siteA-aa.key 
     53attributeAuthority.signingCertFilePath: $NDGSEC_UNITTEST_CONFIG_DIR/attributeauthority/sitea/siteA-aa.crt 
     54attributeAuthority.caCertFilePathList: $NDGSEC_UNITTEST_CONFIG_DIR/ca/ndg-test-ca.crt 
    5555 
    5656#______________________________________________________________________________ 
     
    6262# 
    6363# CA certificates for Attribute Certificate signature validation 
    64 sessionManager.credentialWallet.caCertFilePathList=%(here)s/ca/ndg-test-ca.crt 
     64sessionManager.credentialWallet.caCertFilePathList=$NDGSEC_UNITTEST_CONFIG_DIR/ca/ndg-test-ca.crt 
    6565 
    6666# CA certificates for SSL connection peer cert. validation - required if 
    6767# connecting to an Attribute Authority over SSL 
    68 sessionManager.credentialWallet.sslCACertFilePathList=%(here)s/ca/ndg-test-ca.crt 
     68sessionManager.credentialWallet.sslCACertFilePathList=$NDGSEC_UNITTEST_CONFIG_DIR/ca/ndg-test-ca.crt 
    6969 
    7070# Allow Get Attribute Certificate calls to try to get a mapped certificate 
     
    9595# The CA certificates of other NDG trusted sites should go here.  NB, multiple 
    9696# values should be delimited by a space 
    97 sessionManager.credentialWallet.wssecurity.caCertFilePathList: %(here)s/ca/ndg-test-ca.crt 
     97sessionManager.credentialWallet.wssecurity.caCertFilePathList: $NDGSEC_UNITTEST_CONFIG_DIR/ca/ndg-test-ca.crt 
    9898 
    9999# Signature of an outbound message 
     
    105105 
    106106# PEM encoded cert 
    107 sessionManager.credentialWallet.wssecurity.signingCertFilePath: %(here)s/sessionmanager/sm.crt 
     107sessionManager.credentialWallet.wssecurity.signingCertFilePath: $NDGSEC_UNITTEST_CONFIG_DIR/sessionmanager/sm.crt 
    108108 
    109109# ... or provide file path to PEM encoded private key file 
    110 sessionManager.credentialWallet.wssecurity.signingPriKeyFilePath: %(here)s/sessionmanager/sm.key 
     110sessionManager.credentialWallet.wssecurity.signingPriKeyFilePath: $NDGSEC_UNITTEST_CONFIG_DIR/sessionmanager/sm.key 
    111111 
    112112# Set the ValueType for the BinarySecurityToken added to the WSSE header for a 
     
    129129# Authentication service properties  
    130130sessionManager.authNService.moduleFilePath:  
    131 sessionManager.authNService.moduleName: ndg.security.test.combinedservices.sessionmanager.userx509certauthn 
     131sessionManager.authNService.moduleName: ndg.security.test.config.sessionmanager.userx509certauthn 
    132132sessionManager.authNService.className: UserX509CertAuthN 
    133133 
    134134# Specific settings for UserCertAuthN Session Manager authentication plugin 
    135135# This sets up PKI credentials for a single test account 
    136 sessionManager.authNService.userX509CertFilePath: %(here)s/sessionmanager/user.crt 
    137 sessionManager.authNService.userPriKeyFilePath: %(here)s/sessionmanager/user.key 
     136sessionManager.authNService.userX509CertFilePath: $NDGSEC_UNITTEST_CONFIG_DIR/pki/user.crt 
     137sessionManager.authNService.userPriKeyFilePath: $NDGSEC_UNITTEST_CONFIG_DIR/pki/user.key 
    138138sessionManager.authNService.userPriKeyPwd: testpassword 
    139139 
     
    287287 
    288288# Verify against known CAs - Provide a space separated list of file paths 
    289 wssecurity.caCertFilePathList=%(here)s/ca/ndg-test-ca.crt 
     289wssecurity.caCertFilePathList=$NDGSEC_UNITTEST_CONFIG_DIR/ca/ndg-test-ca.crt 
    290290 
    291291#______________________________________________________________________________ 
     
    307307# Certificate associated with private key used to sign a message.  The sign  
    308308# method will add this to the BinarySecurityToken element of the WSSE header.   
    309 wssecurity.signingCertFilePath=%(here)s/server.crt 
     309wssecurity.signingCertFilePath=$NDGSEC_UNITTEST_CONFIG_DIR/pki/wsse-server.crt 
    310310 
    311311# PEM encoded private key file 
    312 wssecurity.signingPriKeyFilePath=%(here)s/server.key 
     312wssecurity.signingPriKeyFilePath=$NDGSEC_UNITTEST_CONFIG_DIR/pki/wsse-server.key 
    313313 
    314314# Set the ValueType for the BinarySecurityToken added to the WSSE header for a 
     
    316316# class variable for options - it may be one of X509, X509v3, X509PKIPathv1 or  
    317317# give full namespace to alternative - see  
    318 # ZSI.wstools.Namespaces.OASIS.X509TOKEN 
     318# ZSI.wstoo-+ ls.Namespaces.OASIS.X509TOKEN 
    319319# 
    320320# binSecTokValType determines whether signingCert or signingCertChain  
Note: See TracChangeset for help on using the changeset viewer.