Ignore:
Timestamp:
24/09/08 16:25:09 (12 years ago)
Author:
pjkersha
Message:

More work on WSGI version of Attribute Authority unit tests. TODO: complete code to enable WS-Security config to be picked up from within the Paste ini file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/zsi/attributeauthority.py

    r4138 r4233  
     1"""ZSI Server side SOAP Binding for Attribute Authority Web Service 
     2 
     3NERC Data Grid Project""" 
     4__author__ = "P J Kershaw" 
     5__date__ = "11/06/08" 
     6__copyright__ = "(C) 2008 STFC & NERC" 
     7__license__ = \ 
     8"""This software may be distributed under the terms of the Q Public  
     9License, version 1.0 or later.""" 
     10__contact__ = "P.J.Kershaw@rl.ac.uk" 
     11__revision__ = '$Id$' 
    112import os, sys 
    213import base64 
     
    1324from ndg.security.common.wssecurity.dom import SignatureHandler 
    1425from ndg.security.common.X509 import X509Cert, X509CertRead 
    15  
    16 from ndgsecurity.config.soap import SOAPMiddleware 
    1726 
    1827 
     
    5261            # Get certificate corresponding to private key that signed the 
    5362            # message - i.e. the user's proxy 
    54             holderCert = WSSecurityHandler.signatureHandler.verifyingCert 
     63            signatureFilter = \ 
     64                self.referencedWSGIFilters['wsseSignatureVerificationFilter01'] 
     65            holderCert = signatureFilter.signatureHandler.verifyingCert 
    5566        else: 
    5667            # No signature from client - they must instead provide the 
Note: See TracChangeset for help on using the changeset viewer.