source: TI12-security/trunk/python/ndg.security.server/setup.py @ 2136

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.server/setup.py@2136
Revision 2136, 2.9 KB checked in by pjkersha, 12 years ago (diff)

python/ndg.security.server/setup.py:

  • comment out Twisted from install - won't do egg install
  • updated long description

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

  • added verifyingCertFilePath keyword to SignatureHandler? initialisation
  • added SSL capability

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.server/ndg/security/server/AttAuthority/init.py:
added element names for reading SSL settings from properties file.

python/ndg.security.server/ndg/security/server/SessionMgr/server-config.tac:
added verifyingCertFilePath keyword to SignatureHandler? initialisation

python/conf/sessionMgrProperties.xml,
python/ndg.security.test/ndg/security/test/SessionMgr/sessionMgrProperties.xml,
python/ndg.security.server/ndg/security/server/SessionMgr/init.py:
added clntCertFile properties file element name for setting certificate for
verifying incoming SOAP messages.

python/ndg.security.server/ndg/security/server/SessionMgr/Makefile:
corrected typo.

python/ndg.security.server/ndg/security/server/MyProxy.py:
Put OpenSSLConfig and OpenSSLConfigError classes into their own package
'openssl' so that they can also be used by the Certificate Authority client.

python/www/html/certificateAuthority.wsdl,
python/ndg.security.server/ndg/security/server/ca/CertificateAuthority_services_server.py,
python/ndg.security.common/ndg/security/common/ca/CertificateAuthority_services_types.py,
python/ndg.security.common/ndg/security/common/ca/CertificateAuthority_services.py: updated operations to issueCert, revokeCert and getCRL.

python/ndg.security.test/ndg/security/test/AttAuthority/attAuthorityClientTest.cfg: changed address of service to connect to.

python/ndg.security.test/ndg/security/test/SessionMgr/sessionMgrClientTest.cfg:
alternative username connection settings

python/ndg.security.common/ndg/security/common/AttAuthority/init.py:
fixed typos in error message and comments.

ython/ndg.security.common/ndg/security/common/XMLSec.py: changed call to
getAttributeNodeNS to getAttributeNode for retrieving reference element URI
attribute.

python/ndg.security.common/ndg/security/common/ca/init.py: code for
Certificate Authority client

python/ndg.security.common/ndg/security/common/wsSecurity.py:

  • tidied up imports
  • added properties for setting keywords to reference and SignedInfo? C14N
  • changed sign method so that it is truely configurable allow use of inclusive or exclusive C14N based on the keywords set for reference and SignedInfo? C14N calls.
  • swapped calls to getAttributeNodeNS with getAttributeNode where appropriate.

java/DEWS/AttAuthority/appClientModule/META-INF/ibm-webservicesclient-bnd.xmi,
java/DEWS/AttAuthority/build/classes/META-INF/ibm-webservicesclient-bnd.xmi:
updated to that request generator correctly places X.509 cert in
BinarySecurityToken? element.

java/DEWS/AttAuthority/appClientModule/Main.java,
java/DEWS/AttAuthority/appClientjava/DEWS/AttAuthority/appClientModule/META-INF/ibm-webservicesclient-bnd.xmiModule/Main.java:
include calls to getX509Cert and getAttCert methods.

java/DEWS/SessionMgr/build/classes/META-INF/ibm-webservicesclient-bnd.xmi,
java/DEWS/SessionMgr/appClientModule/META-INF/ibm-webservicesclient-bnd.xmi:
updates for testing Session MAnager client

java/DEWS/SessionMgr/appClientModule/Main.java: switched username setting.

  • Property svn:executable set to *
Line 
1#!/usr/bin/env python
2
3"""Distribution Utilities setup program for NDG Security Server Package
4
5NERC Data Grid Project
6
7P J Kershaw 24/04/06
8
9Copyright (C) 2006 CCLRC & NERC
10
11This software may be distributed under the terms of the Q Public License,
12version 1.0 or later.
13"""
14# Bootstrap setuptools if necessary.
15from ez_setup import use_setuptools
16use_setuptools()
17
18from setuptools import setup, find_packages
19
20import os
21
22reposID = "$Id$"
23
24# Get latest SubVersion revision for use with release ID
25_svnRev = "$Revision$"
26if "Revision" in _svnRev:
27    _version = 'DevPostAlpha'
28else:
29    _version = "DevPostAlpha-" + _svnRev
30
31# Packages needed for NDG Security
32# Note commented out ones fail with PyPI - use explicit link instead
33# TODO: subdivide these into server and client specific and comon dependencies
34_pkgDependencies = [
35    'ElementTree',
36    'cElementTree',
37#    'm2crypto', # build fails - find way to make it link with /usr/local/NDG openssl installation
38    'ZSI',
39#    '4Suite',
40#    'Twisted',
41#    'TwistedWeb',
42#    'ZopeInterface',
43    'pycrypto',
44    'SQLObject',
45#    'MySQL-python', - gcc: unrecognized option `-restrict'
46#    'PyXMLSec',
47#    'PyXML'
48]
49
50# Sledge hammer approach needed with some packages as they won't install from their PyPI name -
51# instead give the explicit URL.  This may cause problems later!
52_pkgDependencyLinks = [
53    "ftp://ftp.4suite.org/pub/4Suite/4Suite-XML-1.0.tar.gz",
54    "http://www.zope.org/Products/ZopeInterface/3.0.1final/ZopeInterface-3.0.1.tgz",
55    "http://prdownloads.sourceforge.net/pyxml/PyXML-0.8.4.tar.gz?use_mirror=kent",
56#    "http://tmrc.mit.edu/mirror/twisted/Web/0.5/TwistedWeb-0.5.0.tar.bz2",
57#    "http://tmrc.mit.edu/mirror/twisted/Twisted/2.2/TwistedSumo-2006-02-12.tar.bz2",
58]
59
60_pkgs = ['ndg.security.server.%s' % \
61         pkg for pkg in find_packages('ndg/security/server')]
62
63_entryPoints = None
64
65setupKw = \
66{
67    'name':                     'ndg.security.server',
68    'version':                  '0.7.2',
69    'description':              'NERC DataGrid Security Services',
70    'long_description':         'Server side component for securing NDG resources',
71    'author':                   'Philip Kershaw',
72    'author_email':             'P.J.Kershaw@rl.ac.uk',
73    'maintainer':               'Philip Kershaw',
74    'maintainer_email':         'P.J.Kershaw@rl.ac.uk',
75    'url':                      'http://proj.badc.rl.ac.uk/ndg',
76    'install_requires':         _pkgDependencies,
77    'dependency_links':         _pkgDependencyLinks,
78    'packages':                     _pkgs,
79    'namespace_packages':       ['ndg', 'ndg.security'],
80    # This flag will include all files under SVN control or included in
81    # MANIFEST.in.
82    #'include_package_data':    True,
83    # Finer grained control of data file inclusion can be achieved with
84    # these parameters.  See the setuptools docs.
85    #'package_data':            {}
86    #'exclude_package_data':    {}
87    'entry_points':        _entryPoints,
88    #'test_suite':                 'ndg.security.test',
89}
90setup(**setupKw)
Note: See TracBrowser for help on using the repository browser.