Ignore:
Timestamp:
13/08/10 15:17:22 (9 years ago)
Author:
pjkersha
Message:

Incomplete - task 2: XACML-Security Integration

  • fixes to SOAP client bindings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/ndg_saml/ndg/saml/saml2/binding/soap/client/attributequery.py

    r7154 r7322  
    138138        self.client.openerDirector.add_handler(httpsHandler) 
    139139        return super(AttributeQuerySslSOAPBinding, self).send(**kw) 
    140          
    141     @property 
    142     def sslCtxProxy(self): 
    143         """SSL Context Proxy object used for setting up an SSL Context for 
    144         queries 
    145         """ 
     140             
     141    def _getSslCtxProxy(self): 
    146142        return self.__sslCtxProxy 
     143     
     144    def _setSslCtxProxy(self, value): 
     145        if not isinstance(value, SSLContextProxy): 
     146            raise TypeError('Expecting %r type for "sslCtxProxy attribute; got ' 
     147                            '%r' % type(value)) 
    147148             
     149        self.__sslCtxProxy = value 
     150             
     151    sslCtxProxy = property(fget=_getSslCtxProxy, fset=_setSslCtxProxy, 
     152                           doc="SSL Context Proxy object used for setting up " 
     153                               "an SSL Context for queries") 
     154     
    148155    def __setattr__(self, name, value): 
    149156        """Enable setting of SSLContextProxy attributes as if they were  
Note: See TracChangeset for help on using the changeset viewer.