Changeset 4683


Ignore:
Timestamp:
19/12/08 11:11:55 (11 years ago)
Author:
pjkersha
Message:
  • paster template - more settings in place for default security services template
Location:
TI12-security/trunk/python/ndg.security.server/ndg/security/server/templates
Files:
24 added
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/templates/default_project/services.ini_tmpl

    r4682 r4683  
    4646# user ID 
    4747attributeAuthority.userRolesModFilePath: %(here)s/siteAAttributeAuthority 
    48 attributeAuthority.userRolesModName: siteAUserRoles 
    49 attributeAuthority.userRolesClassName: TestUserRoles 
     48attributeAuthority.userRolesModName: attributeinterface 
     49attributeAuthority.userRolesClassName: TestAttributeInterface 
    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 
     52attributeAuthority.signingPriKeyFilePath: %(here)s/siteAAttributeAuthority/aa.key 
     53attributeAuthority.signingCertFilePath: %(here)s/siteAAttributeAuthority/aa.crt 
    5454attributeAuthority.caCertFilePathList: %(here)s/ca/ndg-test-ca.crt 
    5555 
     
    190190           SessionMiddlewareFilter 
    191191           OpenIDProviderFilter 
    192            testHarnessFilter 
    193192           mainApp 
    194193 
    195 [filter:testHarnessFilter] 
    196 paste.filter_app_factory =  
    197         ndg.security.test.combinedservices.serverapp:filter_app_factory 
    198 sessionManagerFilterID = filter:SessionManagerFilter 
    199 attributeAuthorityFilterID = filter:AttributeAuthorityFilter 
    200194 
    201195#______________________________________________________________________________ 
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/templates/template.py

    r4682 r4683  
    22 
    33from paste.script.templates import Template, var, _skip_variables 
     4import socket 
    45 
    56vars = [ 
    6     var('attributeAuthorityID', 'Unique identity by which this Attribute Authority will be known by other trusted sites'), 
    7     var('NDGSEC_CONFIG_DIR', 'root directory location for configuration files') 
     7    var('attributeAuthorityID',  
     8        ('Unique identity by which this Attribute Authority will be known by ' 
     9         'other trusted sites'), 
     10        default=socket.gethostname()) 
    811] 
    912 
    1013class DefaultProjectTemplate(Template): 
    1114    _template_dir = 'default_project' 
    12     summary = 'NERC DataGrid Security services application template' 
     15    summary = 'NERC DataGrid Security services deployment template' 
    1316    vars = vars 
     17     
Note: See TracChangeset for help on using the changeset viewer.