home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 February / maximum-cd-2011-02.iso / DiscContents / digsby_setup85.exe / lib / msn / SOAP / xml / saml.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-11-24  |  42.2 KB  |  1,112 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.6)
  3.  
  4. import ZSI
  5. import ZSI.TCcompound as ZSI
  6. from ZSI.schema import LocalElementDeclaration, ElementDeclaration, TypeDefinition, GTD, GED
  7. from ZSI.generate.pyclass import pyclass_type
  8.  
  9. class saml:
  10.     targetNamespace = 'urn:oasis:names:tc:SAML:1.0:assertion'
  11.     
  12.     class DecisionType_Def(ZSI.TC.String, TypeDefinition):
  13.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  14.         type = (schema, 'DecisionType')
  15.         
  16.         def __init__(self, pname, **kw):
  17.             ZSI.TC.String.__init__(self, pname, pyclass = None, **kw)
  18.             
  19.             class Holder((str,)):
  20.                 typecode = self
  21.  
  22.             self.pyclass = Holder
  23.  
  24.  
  25.     
  26.     class AssertionType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  27.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  28.         type = (schema, 'AssertionType')
  29.         
  30.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  31.             ns = saml.AssertionType_Def.schema
  32.             TClist = [
  33.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'Conditions', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 1, nillable = False, encoded = kw.get('encoded')),
  34.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'Advice', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 1, nillable = False, encoded = kw.get('encoded')),
  35.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'Statement', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded')),
  36.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'SubjectStatement', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded')),
  37.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'AuthenticationStatement', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded')),
  38.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'AuthorizationDecisionStatement', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded')),
  39.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'AttributeStatement', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded')),
  40.                 GED(NS.DSIG.BASE, 'Signature', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 1, nillable = False, encoded = kw.get('encoded'))]
  41.             if not attributes:
  42.                 pass
  43.             self.attribute_typecode_dict = { }
  44.             if extend:
  45.                 TClist += ofwhat
  46.             
  47.             if restrict:
  48.                 TClist = ofwhat
  49.             else:
  50.                 self.attribute_typecode_dict['MajorVersion'] = ZSI.TCnumbers.Iinteger()
  51.                 self.attribute_typecode_dict['MinorVersion'] = ZSI.TCnumbers.Iinteger()
  52.                 self.attribute_typecode_dict['AssertionID'] = ZSI.TC.AnyType()
  53.                 self.attribute_typecode_dict['Issuer'] = ZSI.TC.String()
  54.                 self.attribute_typecode_dict['IssueInstant'] = ZSI.TCtimes.gDateTime()
  55.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  56.             
  57.             class Holder(()):
  58.                 __metaclass__ = pyclass_type
  59.                 typecode = self
  60.                 
  61.                 def __init__(self):
  62.                     self._Conditions = None
  63.                     self._Advice = None
  64.                     self._Statement = None
  65.                     self._SubjectStatement = None
  66.                     self._AuthenticationStatement = None
  67.                     self._AuthorizationDecisionStatement = None
  68.                     self._AttributeStatement = None
  69.                     self._Signature = None
  70.  
  71.  
  72.             Holder.__name__ = 'AssertionType_Holder'
  73.             self.pyclass = Holder
  74.  
  75.  
  76.     
  77.     class ConditionsType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  78.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  79.         type = (schema, 'ConditionsType')
  80.         
  81.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  82.             ns = saml.ConditionsType_Def.schema
  83.             TClist = [
  84.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'AudienceRestrictionCondition', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded')),
  85.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'DoNotCacheCondition', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded')),
  86.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'Condition', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded'))]
  87.             if not attributes:
  88.                 pass
  89.             self.attribute_typecode_dict = { }
  90.             if extend:
  91.                 TClist += ofwhat
  92.             
  93.             if restrict:
  94.                 TClist = ofwhat
  95.             else:
  96.                 self.attribute_typecode_dict['NotBefore'] = ZSI.TCtimes.gDateTime()
  97.                 self.attribute_typecode_dict['NotOnOrAfter'] = ZSI.TCtimes.gDateTime()
  98.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  99.             
  100.             class Holder(()):
  101.                 __metaclass__ = pyclass_type
  102.                 typecode = self
  103.                 
  104.                 def __init__(self):
  105.                     self._AudienceRestrictionCondition = None
  106.                     self._DoNotCacheCondition = None
  107.                     self._Condition = None
  108.  
  109.  
  110.             Holder.__name__ = 'ConditionsType_Holder'
  111.             self.pyclass = Holder
  112.  
  113.  
  114.     
  115.     class ConditionAbstractType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  116.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  117.         type = (schema, 'ConditionAbstractType')
  118.         
  119.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  120.             ns = saml.ConditionAbstractType_Def.schema
  121.             TClist = []
  122.             if not attributes:
  123.                 pass
  124.             self.attribute_typecode_dict = { }
  125.             if extend:
  126.                 TClist += ofwhat
  127.             
  128.             if restrict:
  129.                 TClist = ofwhat
  130.             
  131.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  132.             
  133.             class Holder(()):
  134.                 __metaclass__ = pyclass_type
  135.                 typecode = self
  136.                 
  137.                 def __init__(self):
  138.                     pass
  139.  
  140.  
  141.             Holder.__name__ = 'ConditionAbstractType_Holder'
  142.             self.pyclass = Holder
  143.  
  144.  
  145.     
  146.     class AudienceRestrictionConditionType_Def(TypeDefinition):
  147.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  148.         type = (schema, 'AudienceRestrictionConditionType')
  149.         
  150.         def __init__(self, pname, ofwhat = (), extend = False, restrict = False, attributes = None, **kw):
  151.             ns = saml.AudienceRestrictionConditionType_Def.schema
  152.             TClist = [
  153.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'Audience', lazy = False, isref = True)(minOccurs = 1, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded'))]
  154.             if not attributes:
  155.                 pass
  156.             attributes = self.attribute_typecode_dict = { }
  157.             if extend:
  158.                 TClist += ofwhat
  159.             
  160.             if restrict:
  161.                 TClist = ofwhat
  162.             
  163.             if saml.ConditionAbstractType_Def not in saml.AudienceRestrictionConditionType_Def.__bases__:
  164.                 bases = list(saml.AudienceRestrictionConditionType_Def.__bases__)
  165.                 bases.insert(0, saml.ConditionAbstractType_Def)
  166.                 saml.AudienceRestrictionConditionType_Def.__bases__ = tuple(bases)
  167.             
  168.             saml.ConditionAbstractType_Def.__init__(self, pname, ofwhat = TClist, extend = True, attributes = attributes, **kw)
  169.  
  170.  
  171.     
  172.     class DoNotCacheConditionType_Def(TypeDefinition):
  173.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  174.         type = (schema, 'DoNotCacheConditionType')
  175.         
  176.         def __init__(self, pname, ofwhat = (), extend = False, restrict = False, attributes = None, **kw):
  177.             ns = saml.DoNotCacheConditionType_Def.schema
  178.             TClist = []
  179.             if not attributes:
  180.                 pass
  181.             attributes = self.attribute_typecode_dict = { }
  182.             if extend:
  183.                 TClist += ofwhat
  184.             
  185.             if restrict:
  186.                 TClist = ofwhat
  187.             
  188.             if saml.ConditionAbstractType_Def not in saml.DoNotCacheConditionType_Def.__bases__:
  189.                 bases = list(saml.DoNotCacheConditionType_Def.__bases__)
  190.                 bases.insert(0, saml.ConditionAbstractType_Def)
  191.                 saml.DoNotCacheConditionType_Def.__bases__ = tuple(bases)
  192.             
  193.             saml.ConditionAbstractType_Def.__init__(self, pname, ofwhat = TClist, extend = True, attributes = attributes, **kw)
  194.  
  195.  
  196.     
  197.     class AdviceType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  198.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  199.         type = (schema, 'AdviceType')
  200.         
  201.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  202.             ns = saml.AdviceType_Def.schema
  203.             TClist = [
  204.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'AssertionIDReference', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded')),
  205.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'Assertion', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded')),
  206.                 ZSI.TC.AnyElement(aname = '_any', minOccurs = 0, maxOccurs = 'unbounded', nillable = False, processContents = 'lax')]
  207.             if not attributes:
  208.                 pass
  209.             self.attribute_typecode_dict = { }
  210.             if extend:
  211.                 TClist += ofwhat
  212.             
  213.             if restrict:
  214.                 TClist = ofwhat
  215.             
  216.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  217.             
  218.             class Holder(()):
  219.                 __metaclass__ = pyclass_type
  220.                 typecode = self
  221.                 
  222.                 def __init__(self):
  223.                     self._AssertionIDReference = None
  224.                     self._Assertion = None
  225.                     self._any = []
  226.  
  227.  
  228.             Holder.__name__ = 'AdviceType_Holder'
  229.             self.pyclass = Holder
  230.  
  231.  
  232.     
  233.     class StatementAbstractType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  234.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  235.         type = (schema, 'StatementAbstractType')
  236.         
  237.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  238.             ns = saml.StatementAbstractType_Def.schema
  239.             TClist = []
  240.             if not attributes:
  241.                 pass
  242.             self.attribute_typecode_dict = { }
  243.             if extend:
  244.                 TClist += ofwhat
  245.             
  246.             if restrict:
  247.                 TClist = ofwhat
  248.             
  249.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  250.             
  251.             class Holder(()):
  252.                 __metaclass__ = pyclass_type
  253.                 typecode = self
  254.                 
  255.                 def __init__(self):
  256.                     pass
  257.  
  258.  
  259.             Holder.__name__ = 'StatementAbstractType_Holder'
  260.             self.pyclass = Holder
  261.  
  262.  
  263.     
  264.     class SubjectStatementAbstractType_Def(TypeDefinition):
  265.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  266.         type = (schema, 'SubjectStatementAbstractType')
  267.         
  268.         def __init__(self, pname, ofwhat = (), extend = False, restrict = False, attributes = None, **kw):
  269.             ns = saml.SubjectStatementAbstractType_Def.schema
  270.             TClist = [
  271.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'Subject', lazy = False, isref = True)(minOccurs = 1, maxOccurs = 1, nillable = False, encoded = kw.get('encoded'))]
  272.             if not attributes:
  273.                 pass
  274.             attributes = self.attribute_typecode_dict = { }
  275.             if extend:
  276.                 TClist += ofwhat
  277.             
  278.             if restrict:
  279.                 TClist = ofwhat
  280.             
  281.             if saml.StatementAbstractType_Def not in saml.SubjectStatementAbstractType_Def.__bases__:
  282.                 bases = list(saml.SubjectStatementAbstractType_Def.__bases__)
  283.                 bases.insert(0, saml.StatementAbstractType_Def)
  284.                 saml.SubjectStatementAbstractType_Def.__bases__ = tuple(bases)
  285.             
  286.             saml.StatementAbstractType_Def.__init__(self, pname, ofwhat = TClist, extend = True, attributes = attributes, **kw)
  287.  
  288.  
  289.     
  290.     class SubjectType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  291.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  292.         type = (schema, 'SubjectType')
  293.         
  294.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  295.             ns = saml.SubjectType_Def.schema
  296.             TClist = [
  297.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'NameIdentifier', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 1, nillable = False, encoded = kw.get('encoded')),
  298.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'SubjectConfirmation', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 1, nillable = False, encoded = kw.get('encoded')),
  299.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'SubjectConfirmation', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 1, nillable = False, encoded = kw.get('encoded'))]
  300.             if not attributes:
  301.                 pass
  302.             self.attribute_typecode_dict = { }
  303.             if extend:
  304.                 TClist += ofwhat
  305.             
  306.             if restrict:
  307.                 TClist = ofwhat
  308.             
  309.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  310.             
  311.             class Holder(()):
  312.                 __metaclass__ = pyclass_type
  313.                 typecode = self
  314.                 
  315.                 def __init__(self):
  316.                     self._NameIdentifier = None
  317.                     self._SubjectConfirmation = None
  318.                     self._SubjectConfirmation = None
  319.  
  320.  
  321.             Holder.__name__ = 'SubjectType_Holder'
  322.             self.pyclass = Holder
  323.  
  324.  
  325.     
  326.     class NameIdentifierType_Def(ZSI.TC.String, TypeDefinition):
  327.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  328.         type = (schema, 'NameIdentifierType')
  329.         
  330.         def __init__(self, pname, **kw):
  331.             if getattr(self, 'attribute_typecode_dict', None) is None:
  332.                 self.attribute_typecode_dict = { }
  333.             
  334.             self.attribute_typecode_dict['NameQualifier'] = ZSI.TC.String()
  335.             self.attribute_typecode_dict['Format'] = ZSI.TC.URI()
  336.             ZSI.TC.String.__init__(self, pname, **kw)
  337.             
  338.             class Holder((str,)):
  339.                 __metaclass__ = pyclass_type
  340.                 typecode = self
  341.  
  342.             self.pyclass = Holder
  343.  
  344.  
  345.     
  346.     class SubjectConfirmationType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  347.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  348.         type = (schema, 'SubjectConfirmationType')
  349.         
  350.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  351.             ns = saml.SubjectConfirmationType_Def.schema
  352.             TClist = [
  353.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'ConfirmationMethod', lazy = False, isref = True)(minOccurs = 1, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded')),
  354.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'SubjectConfirmationData', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 1, nillable = False, encoded = kw.get('encoded')),
  355.                 GED(NS.DSIG.BASE, 'KeyInfo', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 1, nillable = False, encoded = kw.get('encoded'))]
  356.             if not attributes:
  357.                 pass
  358.             self.attribute_typecode_dict = { }
  359.             if extend:
  360.                 TClist += ofwhat
  361.             
  362.             if restrict:
  363.                 TClist = ofwhat
  364.             
  365.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  366.             
  367.             class Holder(()):
  368.                 __metaclass__ = pyclass_type
  369.                 typecode = self
  370.                 
  371.                 def __init__(self):
  372.                     self._ConfirmationMethod = None
  373.                     self._SubjectConfirmationData = None
  374.                     self._KeyInfo = None
  375.  
  376.  
  377.             Holder.__name__ = 'SubjectConfirmationType_Holder'
  378.             self.pyclass = Holder
  379.  
  380.  
  381.     
  382.     class AuthenticationStatementType_Def(TypeDefinition):
  383.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  384.         type = (schema, 'AuthenticationStatementType')
  385.         
  386.         def __init__(self, pname, ofwhat = (), extend = False, restrict = False, attributes = None, **kw):
  387.             ns = saml.AuthenticationStatementType_Def.schema
  388.             TClist = [
  389.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'SubjectLocality', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 1, nillable = False, encoded = kw.get('encoded')),
  390.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'AuthorityBinding', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded'))]
  391.             if not attributes:
  392.                 pass
  393.             attributes = self.attribute_typecode_dict = { }
  394.             if extend:
  395.                 TClist += ofwhat
  396.             
  397.             if restrict:
  398.                 TClist = ofwhat
  399.             else:
  400.                 self.attribute_typecode_dict['AuthenticationMethod'] = ZSI.TC.URI()
  401.                 self.attribute_typecode_dict['AuthenticationInstant'] = ZSI.TCtimes.gDateTime()
  402.             if saml.SubjectStatementAbstractType_Def not in saml.AuthenticationStatementType_Def.__bases__:
  403.                 bases = list(saml.AuthenticationStatementType_Def.__bases__)
  404.                 bases.insert(0, saml.SubjectStatementAbstractType_Def)
  405.                 saml.AuthenticationStatementType_Def.__bases__ = tuple(bases)
  406.             
  407.             saml.SubjectStatementAbstractType_Def.__init__(self, pname, ofwhat = TClist, extend = True, attributes = attributes, **kw)
  408.  
  409.  
  410.     
  411.     class SubjectLocalityType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  412.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  413.         type = (schema, 'SubjectLocalityType')
  414.         
  415.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  416.             ns = saml.SubjectLocalityType_Def.schema
  417.             TClist = []
  418.             if not attributes:
  419.                 pass
  420.             self.attribute_typecode_dict = { }
  421.             if extend:
  422.                 TClist += ofwhat
  423.             
  424.             if restrict:
  425.                 TClist = ofwhat
  426.             else:
  427.                 self.attribute_typecode_dict['IPAddress'] = ZSI.TC.String()
  428.                 self.attribute_typecode_dict['DNSAddress'] = ZSI.TC.String()
  429.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  430.             
  431.             class Holder(()):
  432.                 __metaclass__ = pyclass_type
  433.                 typecode = self
  434.                 
  435.                 def __init__(self):
  436.                     pass
  437.  
  438.  
  439.             Holder.__name__ = 'SubjectLocalityType_Holder'
  440.             self.pyclass = Holder
  441.  
  442.  
  443.     
  444.     class AuthorityBindingType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  445.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  446.         type = (schema, 'AuthorityBindingType')
  447.         
  448.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  449.             ns = saml.AuthorityBindingType_Def.schema
  450.             TClist = []
  451.             if not attributes:
  452.                 pass
  453.             self.attribute_typecode_dict = { }
  454.             if extend:
  455.                 TClist += ofwhat
  456.             
  457.             if restrict:
  458.                 TClist = ofwhat
  459.             else:
  460.                 self.attribute_typecode_dict['AuthorityKind'] = ZSI.TC.QName()
  461.                 self.attribute_typecode_dict['Location'] = ZSI.TC.URI()
  462.                 self.attribute_typecode_dict['Binding'] = ZSI.TC.URI()
  463.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  464.             
  465.             class Holder(()):
  466.                 __metaclass__ = pyclass_type
  467.                 typecode = self
  468.                 
  469.                 def __init__(self):
  470.                     pass
  471.  
  472.  
  473.             Holder.__name__ = 'AuthorityBindingType_Holder'
  474.             self.pyclass = Holder
  475.  
  476.  
  477.     
  478.     class AuthorizationDecisionStatementType_Def(TypeDefinition):
  479.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  480.         type = (schema, 'AuthorizationDecisionStatementType')
  481.         
  482.         def __init__(self, pname, ofwhat = (), extend = False, restrict = False, attributes = None, **kw):
  483.             ns = saml.AuthorizationDecisionStatementType_Def.schema
  484.             TClist = [
  485.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'Action', lazy = False, isref = True)(minOccurs = 1, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded')),
  486.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'Evidence', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 1, nillable = False, encoded = kw.get('encoded'))]
  487.             if not attributes:
  488.                 pass
  489.             attributes = self.attribute_typecode_dict = { }
  490.             if extend:
  491.                 TClist += ofwhat
  492.             
  493.             if restrict:
  494.                 TClist = ofwhat
  495.             else:
  496.                 self.attribute_typecode_dict['Resource'] = ZSI.TC.URI()
  497.                 self.attribute_typecode_dict['Decision'] = saml.DecisionType_Def(None)
  498.             if saml.SubjectStatementAbstractType_Def not in saml.AuthorizationDecisionStatementType_Def.__bases__:
  499.                 bases = list(saml.AuthorizationDecisionStatementType_Def.__bases__)
  500.                 bases.insert(0, saml.SubjectStatementAbstractType_Def)
  501.                 saml.AuthorizationDecisionStatementType_Def.__bases__ = tuple(bases)
  502.             
  503.             saml.SubjectStatementAbstractType_Def.__init__(self, pname, ofwhat = TClist, extend = True, attributes = attributes, **kw)
  504.  
  505.  
  506.     
  507.     class ActionType_Def(ZSI.TC.String, TypeDefinition):
  508.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  509.         type = (schema, 'ActionType')
  510.         
  511.         def __init__(self, pname, **kw):
  512.             if getattr(self, 'attribute_typecode_dict', None) is None:
  513.                 self.attribute_typecode_dict = { }
  514.             
  515.             self.attribute_typecode_dict['Namespace'] = ZSI.TC.URI()
  516.             ZSI.TC.String.__init__(self, pname, **kw)
  517.             
  518.             class Holder((str,)):
  519.                 __metaclass__ = pyclass_type
  520.                 typecode = self
  521.  
  522.             self.pyclass = Holder
  523.  
  524.  
  525.     
  526.     class EvidenceType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  527.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  528.         type = (schema, 'EvidenceType')
  529.         
  530.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  531.             ns = saml.EvidenceType_Def.schema
  532.             TClist = [
  533.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'AssertionIDReference', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded')),
  534.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'Assertion', lazy = False, isref = True)(minOccurs = 0, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded'))]
  535.             if not attributes:
  536.                 pass
  537.             self.attribute_typecode_dict = { }
  538.             if extend:
  539.                 TClist += ofwhat
  540.             
  541.             if restrict:
  542.                 TClist = ofwhat
  543.             
  544.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  545.             
  546.             class Holder(()):
  547.                 __metaclass__ = pyclass_type
  548.                 typecode = self
  549.                 
  550.                 def __init__(self):
  551.                     self._AssertionIDReference = None
  552.                     self._Assertion = None
  553.  
  554.  
  555.             Holder.__name__ = 'EvidenceType_Holder'
  556.             self.pyclass = Holder
  557.  
  558.  
  559.     
  560.     class AttributeStatementType_Def(TypeDefinition):
  561.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  562.         type = (schema, 'AttributeStatementType')
  563.         
  564.         def __init__(self, pname, ofwhat = (), extend = False, restrict = False, attributes = None, **kw):
  565.             ns = saml.AttributeStatementType_Def.schema
  566.             TClist = [
  567.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'Attribute', lazy = False, isref = True)(minOccurs = 1, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded'))]
  568.             if not attributes:
  569.                 pass
  570.             attributes = self.attribute_typecode_dict = { }
  571.             if extend:
  572.                 TClist += ofwhat
  573.             
  574.             if restrict:
  575.                 TClist = ofwhat
  576.             
  577.             if saml.SubjectStatementAbstractType_Def not in saml.AttributeStatementType_Def.__bases__:
  578.                 bases = list(saml.AttributeStatementType_Def.__bases__)
  579.                 bases.insert(0, saml.SubjectStatementAbstractType_Def)
  580.                 saml.AttributeStatementType_Def.__bases__ = tuple(bases)
  581.             
  582.             saml.SubjectStatementAbstractType_Def.__init__(self, pname, ofwhat = TClist, extend = True, attributes = attributes, **kw)
  583.  
  584.  
  585.     
  586.     class AttributeDesignatorType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
  587.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  588.         type = (schema, 'AttributeDesignatorType')
  589.         
  590.         def __init__(self, pname, ofwhat = (), attributes = None, extend = False, restrict = False, **kw):
  591.             ns = saml.AttributeDesignatorType_Def.schema
  592.             TClist = []
  593.             if not attributes:
  594.                 pass
  595.             self.attribute_typecode_dict = { }
  596.             if extend:
  597.                 TClist += ofwhat
  598.             
  599.             if restrict:
  600.                 TClist = ofwhat
  601.             else:
  602.                 self.attribute_typecode_dict['AttributeName'] = ZSI.TC.String()
  603.                 self.attribute_typecode_dict['AttributeNamespace'] = ZSI.TC.URI()
  604.             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname = pname, inorder = 0, **kw)
  605.             
  606.             class Holder(()):
  607.                 __metaclass__ = pyclass_type
  608.                 typecode = self
  609.                 
  610.                 def __init__(self):
  611.                     pass
  612.  
  613.  
  614.             Holder.__name__ = 'AttributeDesignatorType_Holder'
  615.             self.pyclass = Holder
  616.  
  617.  
  618.     
  619.     class AttributeType_Def(TypeDefinition):
  620.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  621.         type = (schema, 'AttributeType')
  622.         
  623.         def __init__(self, pname, ofwhat = (), extend = False, restrict = False, attributes = None, **kw):
  624.             ns = saml.AttributeType_Def.schema
  625.             TClist = [
  626.                 GED('urn:oasis:names:tc:SAML:1.0:assertion', 'AttributeValue', lazy = False, isref = True)(minOccurs = 1, maxOccurs = 'unbounded', nillable = False, encoded = kw.get('encoded'))]
  627.             if not attributes:
  628.                 pass
  629.             attributes = self.attribute_typecode_dict = { }
  630.             if extend:
  631.                 TClist += ofwhat
  632.             
  633.             if restrict:
  634.                 TClist = ofwhat
  635.             
  636.             if saml.AttributeDesignatorType_Def not in saml.AttributeType_Def.__bases__:
  637.                 bases = list(saml.AttributeType_Def.__bases__)
  638.                 bases.insert(0, saml.AttributeDesignatorType_Def)
  639.                 saml.AttributeType_Def.__bases__ = tuple(bases)
  640.             
  641.             saml.AttributeDesignatorType_Def.__init__(self, pname, ofwhat = TClist, extend = True, attributes = attributes, **kw)
  642.  
  643.  
  644.     
  645.     class AssertionIDReference_Dec(ZSI.TC.AnyType, ElementDeclaration):
  646.         literal = 'AssertionIDReference'
  647.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  648.         
  649.         def __init__(self, **kw):
  650.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'AssertionIDReference')
  651.             kw['aname'] = '_AssertionIDReference'
  652.             ZSI.TC.AnyType.__init__(self, **kw)
  653.  
  654.  
  655.     
  656.     class Assertion_Dec(ElementDeclaration):
  657.         literal = 'Assertion'
  658.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  659.         substitutionGroup = None
  660.         
  661.         def __init__(self, **kw):
  662.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'Assertion')
  663.             kw['aname'] = '_Assertion'
  664.             if saml.AssertionType_Def not in saml.Assertion_Dec.__bases__:
  665.                 bases = list(saml.Assertion_Dec.__bases__)
  666.                 bases.insert(0, saml.AssertionType_Def)
  667.                 saml.Assertion_Dec.__bases__ = tuple(bases)
  668.             
  669.             saml.AssertionType_Def.__init__(self, **kw)
  670.             if self.pyclass is not None:
  671.                 self.pyclass.__name__ = 'Assertion_Dec_Holder'
  672.             
  673.  
  674.  
  675.     
  676.     class Conditions_Dec(ElementDeclaration):
  677.         literal = 'Conditions'
  678.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  679.         substitutionGroup = None
  680.         
  681.         def __init__(self, **kw):
  682.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'Conditions')
  683.             kw['aname'] = '_Conditions'
  684.             if saml.ConditionsType_Def not in saml.Conditions_Dec.__bases__:
  685.                 bases = list(saml.Conditions_Dec.__bases__)
  686.                 bases.insert(0, saml.ConditionsType_Def)
  687.                 saml.Conditions_Dec.__bases__ = tuple(bases)
  688.             
  689.             saml.ConditionsType_Def.__init__(self, **kw)
  690.             if self.pyclass is not None:
  691.                 self.pyclass.__name__ = 'Conditions_Dec_Holder'
  692.             
  693.  
  694.  
  695.     
  696.     class Condition_Dec(ElementDeclaration):
  697.         literal = 'Condition'
  698.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  699.         substitutionGroup = None
  700.         
  701.         def __init__(self, **kw):
  702.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'Condition')
  703.             kw['aname'] = '_Condition'
  704.             if saml.ConditionAbstractType_Def not in saml.Condition_Dec.__bases__:
  705.                 bases = list(saml.Condition_Dec.__bases__)
  706.                 bases.insert(0, saml.ConditionAbstractType_Def)
  707.                 saml.Condition_Dec.__bases__ = tuple(bases)
  708.             
  709.             saml.ConditionAbstractType_Def.__init__(self, **kw)
  710.             if self.pyclass is not None:
  711.                 self.pyclass.__name__ = 'Condition_Dec_Holder'
  712.             
  713.  
  714.  
  715.     
  716.     class AudienceRestrictionCondition_Dec(ElementDeclaration):
  717.         literal = 'AudienceRestrictionCondition'
  718.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  719.         substitutionGroup = None
  720.         
  721.         def __init__(self, **kw):
  722.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'AudienceRestrictionCondition')
  723.             kw['aname'] = '_AudienceRestrictionCondition'
  724.             if saml.AudienceRestrictionConditionType_Def not in saml.AudienceRestrictionCondition_Dec.__bases__:
  725.                 bases = list(saml.AudienceRestrictionCondition_Dec.__bases__)
  726.                 bases.insert(0, saml.AudienceRestrictionConditionType_Def)
  727.                 saml.AudienceRestrictionCondition_Dec.__bases__ = tuple(bases)
  728.             
  729.             saml.AudienceRestrictionConditionType_Def.__init__(self, **kw)
  730.             if self.pyclass is not None:
  731.                 self.pyclass.__name__ = 'AudienceRestrictionCondition_Dec_Holder'
  732.             
  733.  
  734.  
  735.     
  736.     class Audience_Dec(ZSI.TC.URI, ElementDeclaration):
  737.         literal = 'Audience'
  738.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  739.         
  740.         def __init__(self, **kw):
  741.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'Audience')
  742.             kw['aname'] = '_Audience'
  743.             
  744.             class IHolder((str,)):
  745.                 typecode = self
  746.  
  747.             kw['pyclass'] = IHolder
  748.             IHolder.__name__ = '_Audience_immutable_holder'
  749.             ZSI.TC.URI.__init__(self, **kw)
  750.  
  751.  
  752.     
  753.     class DoNotCacheCondition_Dec(ElementDeclaration):
  754.         literal = 'DoNotCacheCondition'
  755.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  756.         substitutionGroup = None
  757.         
  758.         def __init__(self, **kw):
  759.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'DoNotCacheCondition')
  760.             kw['aname'] = '_DoNotCacheCondition'
  761.             if saml.DoNotCacheConditionType_Def not in saml.DoNotCacheCondition_Dec.__bases__:
  762.                 bases = list(saml.DoNotCacheCondition_Dec.__bases__)
  763.                 bases.insert(0, saml.DoNotCacheConditionType_Def)
  764.                 saml.DoNotCacheCondition_Dec.__bases__ = tuple(bases)
  765.             
  766.             saml.DoNotCacheConditionType_Def.__init__(self, **kw)
  767.             if self.pyclass is not None:
  768.                 self.pyclass.__name__ = 'DoNotCacheCondition_Dec_Holder'
  769.             
  770.  
  771.  
  772.     
  773.     class Advice_Dec(ElementDeclaration):
  774.         literal = 'Advice'
  775.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  776.         substitutionGroup = None
  777.         
  778.         def __init__(self, **kw):
  779.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'Advice')
  780.             kw['aname'] = '_Advice'
  781.             if saml.AdviceType_Def not in saml.Advice_Dec.__bases__:
  782.                 bases = list(saml.Advice_Dec.__bases__)
  783.                 bases.insert(0, saml.AdviceType_Def)
  784.                 saml.Advice_Dec.__bases__ = tuple(bases)
  785.             
  786.             saml.AdviceType_Def.__init__(self, **kw)
  787.             if self.pyclass is not None:
  788.                 self.pyclass.__name__ = 'Advice_Dec_Holder'
  789.             
  790.  
  791.  
  792.     
  793.     class Statement_Dec(ElementDeclaration):
  794.         literal = 'Statement'
  795.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  796.         substitutionGroup = None
  797.         
  798.         def __init__(self, **kw):
  799.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'Statement')
  800.             kw['aname'] = '_Statement'
  801.             if saml.StatementAbstractType_Def not in saml.Statement_Dec.__bases__:
  802.                 bases = list(saml.Statement_Dec.__bases__)
  803.                 bases.insert(0, saml.StatementAbstractType_Def)
  804.                 saml.Statement_Dec.__bases__ = tuple(bases)
  805.             
  806.             saml.StatementAbstractType_Def.__init__(self, **kw)
  807.             if self.pyclass is not None:
  808.                 self.pyclass.__name__ = 'Statement_Dec_Holder'
  809.             
  810.  
  811.  
  812.     
  813.     class SubjectStatement_Dec(ElementDeclaration):
  814.         literal = 'SubjectStatement'
  815.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  816.         substitutionGroup = None
  817.         
  818.         def __init__(self, **kw):
  819.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'SubjectStatement')
  820.             kw['aname'] = '_SubjectStatement'
  821.             if saml.SubjectStatementAbstractType_Def not in saml.SubjectStatement_Dec.__bases__:
  822.                 bases = list(saml.SubjectStatement_Dec.__bases__)
  823.                 bases.insert(0, saml.SubjectStatementAbstractType_Def)
  824.                 saml.SubjectStatement_Dec.__bases__ = tuple(bases)
  825.             
  826.             saml.SubjectStatementAbstractType_Def.__init__(self, **kw)
  827.             if self.pyclass is not None:
  828.                 self.pyclass.__name__ = 'SubjectStatement_Dec_Holder'
  829.             
  830.  
  831.  
  832.     
  833.     class Subject_Dec(ElementDeclaration):
  834.         literal = 'Subject'
  835.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  836.         substitutionGroup = None
  837.         
  838.         def __init__(self, **kw):
  839.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'Subject')
  840.             kw['aname'] = '_Subject'
  841.             if saml.SubjectType_Def not in saml.Subject_Dec.__bases__:
  842.                 bases = list(saml.Subject_Dec.__bases__)
  843.                 bases.insert(0, saml.SubjectType_Def)
  844.                 saml.Subject_Dec.__bases__ = tuple(bases)
  845.             
  846.             saml.SubjectType_Def.__init__(self, **kw)
  847.             if self.pyclass is not None:
  848.                 self.pyclass.__name__ = 'Subject_Dec_Holder'
  849.             
  850.  
  851.  
  852.     
  853.     class NameIdentifier_Dec(ElementDeclaration):
  854.         literal = 'NameIdentifier'
  855.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  856.         substitutionGroup = None
  857.         
  858.         def __init__(self, **kw):
  859.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'NameIdentifier')
  860.             kw['aname'] = '_NameIdentifier'
  861.             if saml.NameIdentifierType_Def not in saml.NameIdentifier_Dec.__bases__:
  862.                 bases = list(saml.NameIdentifier_Dec.__bases__)
  863.                 bases.insert(0, saml.NameIdentifierType_Def)
  864.                 saml.NameIdentifier_Dec.__bases__ = tuple(bases)
  865.             
  866.             saml.NameIdentifierType_Def.__init__(self, **kw)
  867.             if self.pyclass is not None:
  868.                 self.pyclass.__name__ = 'NameIdentifier_Dec_Holder'
  869.             
  870.  
  871.  
  872.     
  873.     class SubjectConfirmation_Dec(ElementDeclaration):
  874.         literal = 'SubjectConfirmation'
  875.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  876.         substitutionGroup = None
  877.         
  878.         def __init__(self, **kw):
  879.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'SubjectConfirmation')
  880.             kw['aname'] = '_SubjectConfirmation'
  881.             if saml.SubjectConfirmationType_Def not in saml.SubjectConfirmation_Dec.__bases__:
  882.                 bases = list(saml.SubjectConfirmation_Dec.__bases__)
  883.                 bases.insert(0, saml.SubjectConfirmationType_Def)
  884.                 saml.SubjectConfirmation_Dec.__bases__ = tuple(bases)
  885.             
  886.             saml.SubjectConfirmationType_Def.__init__(self, **kw)
  887.             if self.pyclass is not None:
  888.                 self.pyclass.__name__ = 'SubjectConfirmation_Dec_Holder'
  889.             
  890.  
  891.  
  892.     
  893.     class SubjectConfirmationData_Dec(ZSI.TC.AnyType, ElementDeclaration):
  894.         literal = 'SubjectConfirmationData'
  895.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  896.         
  897.         def __init__(self, **kw):
  898.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'SubjectConfirmationData')
  899.             kw['aname'] = '_SubjectConfirmationData'
  900.             ZSI.TC.AnyType.__init__(self, **kw)
  901.  
  902.  
  903.     
  904.     class ConfirmationMethod_Dec(ZSI.TC.URI, ElementDeclaration):
  905.         literal = 'ConfirmationMethod'
  906.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  907.         
  908.         def __init__(self, **kw):
  909.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'ConfirmationMethod')
  910.             kw['aname'] = '_ConfirmationMethod'
  911.             
  912.             class IHolder((str,)):
  913.                 typecode = self
  914.  
  915.             kw['pyclass'] = IHolder
  916.             IHolder.__name__ = '_ConfirmationMethod_immutable_holder'
  917.             ZSI.TC.URI.__init__(self, **kw)
  918.  
  919.  
  920.     
  921.     class AuthenticationStatement_Dec(ElementDeclaration):
  922.         literal = 'AuthenticationStatement'
  923.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  924.         substitutionGroup = None
  925.         
  926.         def __init__(self, **kw):
  927.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'AuthenticationStatement')
  928.             kw['aname'] = '_AuthenticationStatement'
  929.             if saml.AuthenticationStatementType_Def not in saml.AuthenticationStatement_Dec.__bases__:
  930.                 bases = list(saml.AuthenticationStatement_Dec.__bases__)
  931.                 bases.insert(0, saml.AuthenticationStatementType_Def)
  932.                 saml.AuthenticationStatement_Dec.__bases__ = tuple(bases)
  933.             
  934.             saml.AuthenticationStatementType_Def.__init__(self, **kw)
  935.             if self.pyclass is not None:
  936.                 self.pyclass.__name__ = 'AuthenticationStatement_Dec_Holder'
  937.             
  938.  
  939.  
  940.     
  941.     class SubjectLocality_Dec(ElementDeclaration):
  942.         literal = 'SubjectLocality'
  943.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  944.         substitutionGroup = None
  945.         
  946.         def __init__(self, **kw):
  947.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'SubjectLocality')
  948.             kw['aname'] = '_SubjectLocality'
  949.             if saml.SubjectLocalityType_Def not in saml.SubjectLocality_Dec.__bases__:
  950.                 bases = list(saml.SubjectLocality_Dec.__bases__)
  951.                 bases.insert(0, saml.SubjectLocalityType_Def)
  952.                 saml.SubjectLocality_Dec.__bases__ = tuple(bases)
  953.             
  954.             saml.SubjectLocalityType_Def.__init__(self, **kw)
  955.             if self.pyclass is not None:
  956.                 self.pyclass.__name__ = 'SubjectLocality_Dec_Holder'
  957.             
  958.  
  959.  
  960.     
  961.     class AuthorityBinding_Dec(ElementDeclaration):
  962.         literal = 'AuthorityBinding'
  963.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  964.         substitutionGroup = None
  965.         
  966.         def __init__(self, **kw):
  967.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'AuthorityBinding')
  968.             kw['aname'] = '_AuthorityBinding'
  969.             if saml.AuthorityBindingType_Def not in saml.AuthorityBinding_Dec.__bases__:
  970.                 bases = list(saml.AuthorityBinding_Dec.__bases__)
  971.                 bases.insert(0, saml.AuthorityBindingType_Def)
  972.                 saml.AuthorityBinding_Dec.__bases__ = tuple(bases)
  973.             
  974.             saml.AuthorityBindingType_Def.__init__(self, **kw)
  975.             if self.pyclass is not None:
  976.                 self.pyclass.__name__ = 'AuthorityBinding_Dec_Holder'
  977.             
  978.  
  979.  
  980.     
  981.     class AuthorizationDecisionStatement_Dec(ElementDeclaration):
  982.         literal = 'AuthorizationDecisionStatement'
  983.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  984.         substitutionGroup = None
  985.         
  986.         def __init__(self, **kw):
  987.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'AuthorizationDecisionStatement')
  988.             kw['aname'] = '_AuthorizationDecisionStatement'
  989.             if saml.AuthorizationDecisionStatementType_Def not in saml.AuthorizationDecisionStatement_Dec.__bases__:
  990.                 bases = list(saml.AuthorizationDecisionStatement_Dec.__bases__)
  991.                 bases.insert(0, saml.AuthorizationDecisionStatementType_Def)
  992.                 saml.AuthorizationDecisionStatement_Dec.__bases__ = tuple(bases)
  993.             
  994.             saml.AuthorizationDecisionStatementType_Def.__init__(self, **kw)
  995.             if self.pyclass is not None:
  996.                 self.pyclass.__name__ = 'AuthorizationDecisionStatement_Dec_Holder'
  997.             
  998.  
  999.  
  1000.     
  1001.     class Action_Dec(ElementDeclaration):
  1002.         literal = 'Action'
  1003.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  1004.         substitutionGroup = None
  1005.         
  1006.         def __init__(self, **kw):
  1007.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'Action')
  1008.             kw['aname'] = '_Action'
  1009.             if saml.ActionType_Def not in saml.Action_Dec.__bases__:
  1010.                 bases = list(saml.Action_Dec.__bases__)
  1011.                 bases.insert(0, saml.ActionType_Def)
  1012.                 saml.Action_Dec.__bases__ = tuple(bases)
  1013.             
  1014.             saml.ActionType_Def.__init__(self, **kw)
  1015.             if self.pyclass is not None:
  1016.                 self.pyclass.__name__ = 'Action_Dec_Holder'
  1017.             
  1018.  
  1019.  
  1020.     
  1021.     class Evidence_Dec(ElementDeclaration):
  1022.         literal = 'Evidence'
  1023.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  1024.         substitutionGroup = None
  1025.         
  1026.         def __init__(self, **kw):
  1027.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'Evidence')
  1028.             kw['aname'] = '_Evidence'
  1029.             if saml.EvidenceType_Def not in saml.Evidence_Dec.__bases__:
  1030.                 bases = list(saml.Evidence_Dec.__bases__)
  1031.                 bases.insert(0, saml.EvidenceType_Def)
  1032.                 saml.Evidence_Dec.__bases__ = tuple(bases)
  1033.             
  1034.             saml.EvidenceType_Def.__init__(self, **kw)
  1035.             if self.pyclass is not None:
  1036.                 self.pyclass.__name__ = 'Evidence_Dec_Holder'
  1037.             
  1038.  
  1039.  
  1040.     
  1041.     class AttributeStatement_Dec(ElementDeclaration):
  1042.         literal = 'AttributeStatement'
  1043.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  1044.         substitutionGroup = None
  1045.         
  1046.         def __init__(self, **kw):
  1047.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'AttributeStatement')
  1048.             kw['aname'] = '_AttributeStatement'
  1049.             if saml.AttributeStatementType_Def not in saml.AttributeStatement_Dec.__bases__:
  1050.                 bases = list(saml.AttributeStatement_Dec.__bases__)
  1051.                 bases.insert(0, saml.AttributeStatementType_Def)
  1052.                 saml.AttributeStatement_Dec.__bases__ = tuple(bases)
  1053.             
  1054.             saml.AttributeStatementType_Def.__init__(self, **kw)
  1055.             if self.pyclass is not None:
  1056.                 self.pyclass.__name__ = 'AttributeStatement_Dec_Holder'
  1057.             
  1058.  
  1059.  
  1060.     
  1061.     class AttributeDesignator_Dec(ElementDeclaration):
  1062.         literal = 'AttributeDesignator'
  1063.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  1064.         substitutionGroup = None
  1065.         
  1066.         def __init__(self, **kw):
  1067.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'AttributeDesignator')
  1068.             kw['aname'] = '_AttributeDesignator'
  1069.             if saml.AttributeDesignatorType_Def not in saml.AttributeDesignator_Dec.__bases__:
  1070.                 bases = list(saml.AttributeDesignator_Dec.__bases__)
  1071.                 bases.insert(0, saml.AttributeDesignatorType_Def)
  1072.                 saml.AttributeDesignator_Dec.__bases__ = tuple(bases)
  1073.             
  1074.             saml.AttributeDesignatorType_Def.__init__(self, **kw)
  1075.             if self.pyclass is not None:
  1076.                 self.pyclass.__name__ = 'AttributeDesignator_Dec_Holder'
  1077.             
  1078.  
  1079.  
  1080.     
  1081.     class Attribute_Dec(ElementDeclaration):
  1082.         literal = 'Attribute'
  1083.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  1084.         substitutionGroup = None
  1085.         
  1086.         def __init__(self, **kw):
  1087.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'Attribute')
  1088.             kw['aname'] = '_Attribute'
  1089.             if saml.AttributeType_Def not in saml.Attribute_Dec.__bases__:
  1090.                 bases = list(saml.Attribute_Dec.__bases__)
  1091.                 bases.insert(0, saml.AttributeType_Def)
  1092.                 saml.Attribute_Dec.__bases__ = tuple(bases)
  1093.             
  1094.             saml.AttributeType_Def.__init__(self, **kw)
  1095.             if self.pyclass is not None:
  1096.                 self.pyclass.__name__ = 'Attribute_Dec_Holder'
  1097.             
  1098.  
  1099.  
  1100.     
  1101.     class AttributeValue_Dec(ZSI.TC.AnyType, ElementDeclaration):
  1102.         literal = 'AttributeValue'
  1103.         schema = 'urn:oasis:names:tc:SAML:1.0:assertion'
  1104.         
  1105.         def __init__(self, **kw):
  1106.             kw['pname'] = ('urn:oasis:names:tc:SAML:1.0:assertion', 'AttributeValue')
  1107.             kw['aname'] = '_AttributeValue'
  1108.             ZSI.TC.AnyType.__init__(self, **kw)
  1109.  
  1110.  
  1111.  
  1112.