Ignore:
Timestamp:
25/08/09 13:16:18 (11 years ago)
Author:
pjkersha
Message:

Refactoring SOAPBindingMiddleware to accept a ZSI Service binding input from an upstream middleware component.

File:
1 edited

Legend:

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

    r5666 r5667  
    221221        dictionary 
    222222        """ 
    223         app = AttributeAuthoritySOAPBindingMiddleware(app) 
    224          
    225         optName = prefix + AttributeAuthoritySOAPBindingMiddleware.\ 
    226                                         ATTRIBUTE_AUTHORITY_KEYNAME_CFG_OPTNAME 
    227         defaultValue = AttributeAuthoritySOAPBindingMiddleware.\ 
    228                                         DEFAULT_ATTRIBUTE_AUTHORITY_KEYNAME 
    229                                          
    230         app.keyName = app_conf.get(optName, defaultValue) 
    231          
     223        app = cls(app) 
     224        app.keyName = app_conf.get(cls.ATTRIBUTE_AUTHORITY_KEYNAME_CFG_OPTNAME, 
     225                                   cls.DEFAULT_ATTRIBUTE_AUTHORITY_KEYNAME) 
    232226        return app 
    233227    
Note: See TracChangeset for help on using the changeset viewer.