Ignore:
Timestamp:
29/10/09 13:29:26 (10 years ago)
Author:
pjkersha
Message:

Move MyProxy? certificate callout application into ndg.security.server and ndg.security.test. Too much trouble as separate egg.

Location:
TI12-security/trunk/python/ndg_security_server/ndg/security/server/myproxy
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg_security_server/ndg/security/server/myproxy/certificate_extapp/saml_attribute_assertion.py

    r5898 r5907  
    2929class SamlAssertionMyProxyCertExtApp(object): 
    3030    """Application to create a X.509 certificate extension containing a SAML 
    31     assertion for inclusion by MyProxy into an issued certificate""" 
     31    assertion for inclusion by MyProxy into an issued certificate 
     32     
     33    @type DEFAULT_ATTR_DESCR: tuple 
     34    @cvar DEFAULT_ATTR_DESCR: a tuple of tuples describing the default 
     35    SAML attributes to be queried from the Attribute Authority.  The format is, 
     36     
     37    ((<name>, <friendlyName>, <format>), (...), ...) 
     38     
     39    FriendlyName can be defaulted to None in which case it will be omitted from 
     40    the query 
     41    """ 
    3242    XSSTRING_NS = "%s#%s" % ( 
    3343        SAMLConstants.XSD_NS, 
     
    115125                                  "Attribute Authority") 
    116126         
    117     def _attributeQuery(self, attributeDescr=DEFAULT_ATTR_DESCR): 
     127    def attributeQuery(self): 
    118128        """Query an Attribute Authority to retrieve an assertion for the  
    119129        given user""" 
     
    135145                   
    136146        # Add list of attributes to query                       
    137         for name, friendlyName, format in attributeDescr: 
     147        for name, friendlyName, format in self.attributeDescr: 
    138148            attribute = Attribute() 
    139149            attribute.name = name 
Note: See TracChangeset for help on using the changeset viewer.