Ignore:
Timestamp:
14/06/06 16:17:49 (14 years ago)
Author:
pjkersha
Message:

Changes to incoporate new getHostInfo Attribute Authority WS method.

Tests/AttAuthorityIOtest.py: new unit test test method

Tests/SecurityClientTest?.py: minor changes to test settings

dist/NDG-Security-0.68.tar.gz: new distribution

www/html/attAuthority.wsdl: updated WSDL contains getHostInfo method.

conf/mapConfig.xml: contains new tags for information about the service provider of the AA e.g. loginURI,
service provider name. This is used by the new getHostInfo WS method.

conf/attAuthorityProperties.xml: remove old commented out tags.

NDG/AttAuthorityIO.py: added HostInfo?* classes for handling getHostInfo WS method I/O.

NDG/attAuthority_services_server.py and NDG/attAuthority_services.py: updated inline with WSDL changes.

NDG/AttAuthority.py:

  • readMapConfig updated to include new 'thisHost' tags.
  • self.mapConfig dictionary re-ordered to include top level keys 'thisHost' and 'trustedHosts'
  • New hostInfo property

NDG/AttCert.py: trivial fixes to commenting

NDG/XMLMsg.py: simplify error message for "Invalid keywords set for update..." error

NDG/CredWallet.py:

  • Client public key is now read in at the point where the corresponding pub key file path is set - i.e. in

setClntPubKeyFilePath method. This means the equivalent code in reqAuthorisation is not needed.

  • reqAuthorisation method has a new flag refreshAttCert. If set, the wallet is checked first for an existing

AC issued by the target AA. If found this is returned, and the call to the AA is skipped.

NDG/SecurityClient.py: added AttAuthorityClient?.getHostInfo WS wrapper method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/bin/AttAuthorityServer.py

    r917 r1176  
    106106 
    107107    propFilePath = None 
    108     port = 5000 #80 # temporary port for testing 
     108     
     109    # Port may be set from an environment variable.  Note that this will be 
     110    # overridden if the port command line argument is set  
     111    if 'NDG_AA_PORT_NUM' in os.environ: 
     112        port = int(os.environ['NDG_AA_PORT_NUM']) 
     113    else: 
     114        # Default port number 
     115        port = 5000 
     116         
    109117    debug = False 
    110118     
Note: See TracChangeset for help on using the changeset viewer.