Changeset 2730


Ignore:
Timestamp:
16/07/07 14:23:50 (12 years ago)
Author:
pjkersha
Message:

ndg.security.server/ndg/security/server/share/ndg-sm,
ndg.security.server/ndg/security/server/share/ndg-aa,
ndg.security.server/ndg/security/server/share/ndg-gk,
ndg.security.server/ndg/security/server/share/ndg-log,
ndg.security.server/ndg/security/server/share/ndg-ca:

  • removed refs to NDG in python paths. Use /usr/local as default instead
  • fixed refs to NDGSEC_*_PROPFILEPATH env variables to correct setting

ndg.security.server/ndg/security/server/share/Makefile: changed so that
env var default names are set correctly

ndg.security.server/ndg/security/server/ca/server-config.tac,
ndg.security.server/ndg/security/server/SessionMgr/server-config.tac:

  • fixed import for ndg.security.server.*.*_services_server to include

complete path.

Location:
TI12-security/trunk/python/ndg.security.server/ndg/security/server
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/SessionMgr/server-config.tac

    r2620 r2730  
    2121from twisted.web.resource import Resource 
    2222 
    23 from SessionMgr_services_server import SessionMgrService 
     23from ndg.security.server.SessionMgr.SessionMgr_services_server import \ 
     24        SessionMgrService 
    2425from ndg.security.server.SessionMgr import SessionMgr 
    2526from ndg.security.common.wsSecurity import WSSecurityHandlerChainFactory, \ 
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/ca/server-config.tac

    r2178 r2730  
    2121from twisted.web.resource import Resource 
    2222 
    23 from CertificateAuthority_services_server import CertificateAuthorityService 
     23from ndg.security.server.ca.CertificateAuthority_services_server import \ 
     24        CertificateAuthorityService 
    2425from ndg.security.server.ca import SimpleCA, SimpleCAPassPhraseError 
    2526from ndg.security.common.wsSecurity import WSSecurityHandlerChainFactory, \ 
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/share/Makefile

    r2214 r2730  
    1616NAME_SUB=Attribute Authority 
    1717CODE_SUB=AttAuthority 
     18ENV_SUB=AA 
    1819 
    1920generateScripts: 
     
    2122        @NAME_REPL=( "Session Manager" "Certificate Authority" "Gatekeeper" "Log" ); \ 
    2223        CODE_REPL=( SessionMgr CertificateAuthority Gatekeeper Log ); \ 
     24        ENV_REPL=( SM CA GK LOG ); \ 
    2325        j=0; \ 
    2426        for i in ${SCRIPT_FILES}; do \ 
    25             cat ${TEMPL_FILE}|sed  s/"${NAME_SUB}"/"$${NAME_REPL[j]}"/g |sed s/"${CODE_SUB}"/"$${CODE_REPL[j]}"/g > $$i; \ 
     27            cat ${TEMPL_FILE}|\ 
     28            sed  s/"${NAME_SUB}"/"$${NAME_REPL[j]}"/g |\ 
     29            sed s/"${CODE_SUB}"/"$${CODE_REPL[j]}"/g |\ 
     30            sed s/"${ENV_SUB}"/"$${ENV_REPL[j]}"/g> $$i; \ 
    2631            let "j++"; \ 
    2732        done; 
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/share/ndg-aa

    r2369 r2730  
    4444# path.  Note security consideration that these args will appear in a ps  
    4545# process listing 
    46 prog=/usr/local/NDG/bin/twistd 
     46prog=/usr/local/bin/twistd 
    4747 
    4848# Specify python for status() to search when looking for an existing process 
    4949# running 
    50 statCheckProg=/usr/local/NDG/bin/python 
     50statCheckProg=/usr/local/bin/python 
    5151 
    5252args="-u ${uid} -g ${gid} --syslog --prefix=${serviceName} \ 
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/share/ndg-ca

    r2369 r2730  
    3232 
    3333# Set a specific location for the properties file if required 
    34 #export NDGSEC_AA_PROPFILEPATH= 
     34#export NDGSEC_CA_PROPFILEPATH= 
    3535 
    3636serviceName=${0##*/} 
     
    4444# path.  Note security consideration that these args will appear in a ps  
    4545# process listing 
    46 prog=/usr/local/NDG/bin/twistd 
     46prog=/usr/local/bin/twistd 
    4747 
    4848# Specify python for status() to search when looking for an existing process 
    4949# running 
    50 statCheckProg=/usr/local/NDG/bin/python 
     50statCheckProg=/usr/local/bin/python 
    5151 
    5252args="-u ${uid} -g ${gid} --syslog --prefix=${serviceName} \ 
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/share/ndg-gk

    r2369 r2730  
    3232 
    3333# Set a specific location for the properties file if required 
    34 #export NDGSEC_AA_PROPFILEPATH= 
     34#export NDGSEC_GK_PROPFILEPATH= 
    3535 
    3636serviceName=${0##*/} 
     
    4444# path.  Note security consideration that these args will appear in a ps  
    4545# process listing 
    46 prog=/usr/local/NDG/bin/twistd 
     46prog=/usr/local/bin/twistd 
    4747 
    4848# Specify python for status() to search when looking for an existing process 
    4949# running 
    50 statCheckProg=/usr/local/NDG/bin/python 
     50statCheckProg=/usr/local/bin/python 
    5151 
    5252args="-u ${uid} -g ${gid} --syslog --prefix=${serviceName} \ 
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/share/ndg-log

    r2369 r2730  
    3232 
    3333# Set a specific location for the properties file if required 
    34 #export NDGSEC_AA_PROPFILEPATH= 
     34#export NDGSEC_LOG_PROPFILEPATH= 
    3535 
    3636serviceName=${0##*/} 
     
    4444# path.  Note security consideration that these args will appear in a ps  
    4545# process listing 
    46 prog=/usr/local/NDG/bin/twistd 
     46prog=/usr/local/bin/twistd 
    4747 
    4848# Specify python for status() to search when looking for an existing process 
    4949# running 
    50 statCheckProg=/usr/local/NDG/bin/python 
     50statCheckProg=/usr/local/bin/python 
    5151 
    5252args="-u ${uid} -g ${gid} --syslog --prefix=${serviceName} \ 
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/share/ndg-sm

    r2369 r2730  
    3232 
    3333# Set a specific location for the properties file if required 
    34 #export NDGSEC_AA_PROPFILEPATH= 
     34#export NDGSEC_SM_PROPFILEPATH= 
    3535 
    3636serviceName=${0##*/} 
     
    4444# path.  Note security consideration that these args will appear in a ps  
    4545# process listing 
    46 prog=/usr/local/NDG/bin/twistd 
     46prog=/usr/local/bin/twistd 
    4747 
    4848# Specify python for status() to search when looking for an existing process 
    4949# running 
    50 statCheckProg=/usr/local/NDG/bin/python 
     50statCheckProg=/usr/local/bin/python 
    5151 
    5252args="-u ${uid} -g ${gid} --syslog --prefix=${serviceName} \ 
Note: See TracChangeset for help on using the changeset viewer.