Package ndg :: Package security :: Package common :: Package AttAuthority :: Module AttAuthority_services_types
[hide private]

Source Code for Module ndg.security.common.AttAuthority.AttAuthority_services_types

  1  ##################################################  
  2  # AttAuthority_services_types.py  
  3  # generated by ZSI.generate.wsdl2python 
  4  ################################################## 
  5   
  6   
  7  import ZSI 
  8  import ZSI.TCcompound 
  9  from ZSI.schema import LocalElementDeclaration, ElementDeclaration, TypeDefinition, GTD, GED 
 10  from ZSI.generate.pyclass import pyclass_type 
 11   
 12  ############################## 
 13  # targetNamespace 
 14  # urn:ndg:security:attAuthority 
 15  ############################## 
 16   
17 -class ns0:
18 targetNamespace = "urn:ndg:security:attAuthority" 19
20 - class HostInfo_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
21 schema = "urn:ndg:security:attAuthority" 22 type = (schema, "HostInfo")
23 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
24 ns = ns0.HostInfo_Def.schema 25 TClist = [ZSI.TC.String(pname="hostname", aname="_hostname", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="aaURI", aname="_aaURI", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="aaDN", aname="_aaDN", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="loginURI", aname="_loginURI", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="loginServerDN", aname="_loginServerDN", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="loginRequestServerDN", aname="_loginRequestServerDN", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="roleList", aname="_roleList", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))] 26 self.attribute_typecode_dict = attributes or {} 27 if extend: TClist += ofwhat 28 if restrict: TClist = ofwhat 29 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) 30 class Holder: 31 __metaclass__ = pyclass_type 32 typecode = self 33 def __init__(self): 34 # pyclass 35 self._hostname = None 36 self._aaURI = None 37 self._aaDN = None 38 self._loginURI = None 39 self._loginServerDN = None 40 self._loginRequestServerDN = None 41 self._roleList = [] 42 return
43 Holder.__name__ = "HostInfo_Holder" 44 self.pyclass = Holder
45
46 - class getAttCert_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
47 literal = "getAttCert" 48 schema = "urn:ndg:security:attAuthority"
49 - def __init__(self, **kw):
50 ns = ns0.getAttCert_Dec.schema 51 TClist = [ZSI.TC.String(pname="userId", aname="_userId", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="userCert", aname="_userCert", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="userAttCert", aname="_userAttCert", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] 52 kw["pname"] = ("urn:ndg:security:attAuthority","getAttCert") 53 kw["aname"] = "_getAttCert" 54 self.attribute_typecode_dict = {} 55 ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 56 class Holder: 57 __metaclass__ = pyclass_type 58 typecode = self 59 def __init__(self): 60 # pyclass 61 self._userId = None 62 self._userCert = None 63 self._userAttCert = None 64 return
65 Holder.__name__ = "getAttCert_Holder" 66 self.pyclass = Holder 67
68 - class getAttCertResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
69 literal = "getAttCertResponse" 70 schema = "urn:ndg:security:attAuthority"
71 - def __init__(self, **kw):
72 ns = ns0.getAttCertResponse_Dec.schema 73 TClist = [ZSI.TC.String(pname="attCert", aname="_attCert", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="msg", aname="_msg", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] 74 kw["pname"] = ("urn:ndg:security:attAuthority","getAttCertResponse") 75 kw["aname"] = "_getAttCertResponse" 76 self.attribute_typecode_dict = {} 77 ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 78 class Holder: 79 __metaclass__ = pyclass_type 80 typecode = self 81 def __init__(self): 82 # pyclass 83 self._attCert = None 84 self._msg = None 85 return
86 Holder.__name__ = "getAttCertResponse_Holder" 87 self.pyclass = Holder 88
89 - class getHostInfo_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
90 literal = "getHostInfo" 91 schema = "urn:ndg:security:attAuthority"
92 - def __init__(self, **kw):
93 ns = ns0.getHostInfo_Dec.schema 94 TClist = [] 95 kw["pname"] = ("urn:ndg:security:attAuthority","getHostInfo") 96 kw["aname"] = "_getHostInfo" 97 self.attribute_typecode_dict = {} 98 ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 99 class Holder: 100 __metaclass__ = pyclass_type 101 typecode = self 102 def __init__(self): 103 # pyclass 104 return
105 Holder.__name__ = "getHostInfo_Holder" 106 self.pyclass = Holder 107
108 - class getHostInfoResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
109 literal = "getHostInfoResponse" 110 schema = "urn:ndg:security:attAuthority"
111 - def __init__(self, **kw):
112 ns = ns0.getHostInfoResponse_Dec.schema 113 TClist = [ZSI.TC.String(pname="hostname", aname="_hostname", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="aaURI", aname="_aaURI", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="aaDN", aname="_aaDN", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="loginURI", aname="_loginURI", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="loginServerDN", aname="_loginServerDN", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="loginRequestServerDN", aname="_loginRequestServerDN", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] 114 kw["pname"] = ("urn:ndg:security:attAuthority","getHostInfoResponse") 115 kw["aname"] = "_getHostInfoResponse" 116 self.attribute_typecode_dict = {} 117 ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 118 class Holder: 119 __metaclass__ = pyclass_type 120 typecode = self 121 def __init__(self): 122 # pyclass 123 self._hostname = None 124 self._aaURI = None 125 self._aaDN = None 126 self._loginURI = None 127 self._loginServerDN = None 128 self._loginRequestServerDN = None 129 return
130 Holder.__name__ = "getHostInfoResponse_Holder" 131 self.pyclass = Holder 132
133 - class getTrustedHostInfo_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
134 literal = "getTrustedHostInfo" 135 schema = "urn:ndg:security:attAuthority"
136 - def __init__(self, **kw):
137 ns = ns0.getTrustedHostInfo_Dec.schema 138 TClist = [ZSI.TC.String(pname="role", aname="_role", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] 139 kw["pname"] = ("urn:ndg:security:attAuthority","getTrustedHostInfo") 140 kw["aname"] = "_getTrustedHostInfo" 141 self.attribute_typecode_dict = {} 142 ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 143 class Holder: 144 __metaclass__ = pyclass_type 145 typecode = self 146 def __init__(self): 147 # pyclass 148 self._role = None 149 return
150 Holder.__name__ = "getTrustedHostInfo_Holder" 151 self.pyclass = Holder 152
153 - class getTrustedHostInfoResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
154 literal = "getTrustedHostInfoResponse" 155 schema = "urn:ndg:security:attAuthority"
156 - def __init__(self, **kw):
157 ns = ns0.getTrustedHostInfoResponse_Dec.schema 158 TClist = [GTD("urn:ndg:security:attAuthority","HostInfo",lazy=False)(pname="trustedHosts", aname="_trustedHosts", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))] 159 kw["pname"] = ("urn:ndg:security:attAuthority","getTrustedHostInfoResponse") 160 kw["aname"] = "_getTrustedHostInfoResponse" 161 self.attribute_typecode_dict = {} 162 ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 163 class Holder: 164 __metaclass__ = pyclass_type 165 typecode = self 166 def __init__(self): 167 # pyclass 168 self._trustedHosts = [] 169 return
170 Holder.__name__ = "getTrustedHostInfoResponse_Holder" 171 self.pyclass = Holder 172
173 - class getAllHostsInfo_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
174 literal = "getAllHostsInfo" 175 schema = "urn:ndg:security:attAuthority"
176 - def __init__(self, **kw):
177 ns = ns0.getAllHostsInfo_Dec.schema 178 TClist = [] 179 kw["pname"] = ("urn:ndg:security:attAuthority","getAllHostsInfo") 180 kw["aname"] = "_getAllHostsInfo" 181 self.attribute_typecode_dict = {} 182 ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 183 class Holder: 184 __metaclass__ = pyclass_type 185 typecode = self 186 def __init__(self): 187 # pyclass 188 return
189 Holder.__name__ = "getAllHostsInfo_Holder" 190 self.pyclass = Holder 191
192 - class getAllHostsInfoResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
193 literal = "getAllHostsInfoResponse" 194 schema = "urn:ndg:security:attAuthority"
195 - def __init__(self, **kw):
196 ns = ns0.getAllHostsInfoResponse_Dec.schema 197 TClist = [GTD("urn:ndg:security:attAuthority","HostInfo",lazy=False)(pname="hosts", aname="_hosts", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))] 198 kw["pname"] = ("urn:ndg:security:attAuthority","getAllHostsInfoResponse") 199 kw["aname"] = "_getAllHostsInfoResponse" 200 self.attribute_typecode_dict = {} 201 ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 202 class Holder: 203 __metaclass__ = pyclass_type 204 typecode = self 205 def __init__(self): 206 # pyclass 207 self._hosts = [] 208 return
209 Holder.__name__ = "getAllHostsInfoResponse_Holder" 210 self.pyclass = Holder 211
212 - class getX509Cert_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
213 literal = "getX509Cert" 214 schema = "urn:ndg:security:attAuthority"
215 - def __init__(self, **kw):
216 ns = ns0.getX509Cert_Dec.schema 217 TClist = [] 218 kw["pname"] = ("urn:ndg:security:attAuthority","getX509Cert") 219 kw["aname"] = "_getX509Cert" 220 self.attribute_typecode_dict = {} 221 ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 222 class Holder: 223 __metaclass__ = pyclass_type 224 typecode = self 225 def __init__(self): 226 # pyclass 227 return
228 Holder.__name__ = "getX509Cert_Holder" 229 self.pyclass = Holder 230
231 - class getX509CertResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
232 literal = "getX509CertResponse" 233 schema = "urn:ndg:security:attAuthority"
234 - def __init__(self, **kw):
235 ns = ns0.getX509CertResponse_Dec.schema 236 TClist = [ZSI.TC.String(pname="x509Cert", aname="_x509Cert", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] 237 kw["pname"] = ("urn:ndg:security:attAuthority","getX509CertResponse") 238 kw["aname"] = "_getX509CertResponse" 239 self.attribute_typecode_dict = {} 240 ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 241 class Holder: 242 __metaclass__ = pyclass_type 243 typecode = self 244 def __init__(self): 245 # pyclass 246 self._x509Cert = None 247 return
248 Holder.__name__ = "getX509CertResponse_Holder" 249 self.pyclass = Holder 250 251 # end class ns0 (tns: urn:ndg:security:attAuthority) 252