source: TI12-security/trunk/documentation/epydoc/ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getTrustedHostInfo_Dec-class.html @ 4245

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/documentation/epydoc/ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getTrustedHostInfo_Dec-class.html@4245
Revision 4245, 19.0 KB checked in by pjkersha, 11 years ago (diff)

Working unit tests for WSGI based Attribute Authority.

  • Altered so that all Attribute Config is picked up from the Paste ini file. Separate cfg or xml based config file is still supported.

TODO:

  • Simplify unit test config for client.
Line 
1<?xml version="1.0" encoding="ascii"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3          "DTD/xhtml1-transitional.dtd">
4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5<head>
6  <title>ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getTrustedHostInfo_Dec</title>
7  <link rel="stylesheet" href="epydoc.css" type="text/css" />
8  <script type="text/javascript" src="epydoc.js"></script>
9</head>
10
11<body bgcolor="white" text="black" link="blue" vlink="#204080"
12      alink="#204080">
13<!-- ==================== NAVIGATION BAR ==================== -->
14<table class="navbar" border="0" width="100%" cellpadding="0"
15       bgcolor="#a0c0ff" cellspacing="0">
16  <tr valign="middle">
17  <!-- Home link -->
18      <th>&nbsp;&nbsp;&nbsp;<a
19        href="ndg-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
20
21  <!-- Tree link -->
22      <th>&nbsp;&nbsp;&nbsp;<a
23        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
24
25  <!-- Index link -->
26      <th>&nbsp;&nbsp;&nbsp;<a
27        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
28
29  <!-- Help link -->
30      <th>&nbsp;&nbsp;&nbsp;<a
31        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
32
33  <!-- Project homepage -->
34      <th class="navbar" align="right" width="100%">
35        <table border="0" cellpadding="0" cellspacing="0">
36          <tr><th class="navbar" align="center"
37            >NDG Security</th>
38          </tr></table></th>
39  </tr>
40</table>
41<table width="100%" cellpadding="0" cellspacing="0">
42  <tr valign="top">
43    <td width="100%">
44      <span class="breadcrumbs">
45        <a href="ndg-module.html">Package&nbsp;ndg</a> ::
46        <a href="ndg.security-module.html">Package&nbsp;security</a> ::
47        <a href="ndg.security.common-module.html">Package&nbsp;common</a> ::
48        <a href="ndg.security.common.AttAuthority-module.html">Package&nbsp;AttAuthority</a> ::
49        <a href="ndg.security.common.AttAuthority.AttAuthority_services_types-module.html">Module&nbsp;AttAuthority_services_types</a> ::
50        <a href="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0-class.html">Class&nbsp;ns0</a> ::
51        Class&nbsp;getTrustedHostInfo_Dec
52      </span>
53    </td>
54    <td>
55      <table cellpadding="0" cellspacing="0">
56        <!-- hide/show private -->
57        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
58    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
59      </table>
60    </td>
61  </tr>
62</table>
63<!-- ==================== CLASS DESCRIPTION ==================== -->
64<h1 class="epydoc">Class getTrustedHostInfo_Dec</h1><p class="nomargin-top"><span class="codelink"><a href="ndg.security.common.AttAuthority.AttAuthority_services_types-pysrc.html#ns0.getTrustedHostInfo_Dec">source&nbsp;code</a></span></p>
65<center>
66<center>  <map id="uml_class_diagram_for_ndg_secu_30" name="uml_class_diagram_for_ndg_secu_30">
67<area shape="rect" href="javascript:void(0);" title="ZSI.TCcompound.ComplexType.logger" alt="" coords="263,433,665,452"/>
68<area shape="rect" href="javascript:void(0);" title="Parameters: &#160;&#160;&#160;&#160;elt &#45;&#45; the DOM element being parsed &#160;&#160;&#160;&#160;ps &#45;&#45; the ParsedSoap object." alt="" coords="263,455,665,473"/>
69<area shape="rect" href="javascript:void(0);" title="Parameters:..." alt="" coords="263,473,665,492"/>
70<area shape="rect" href="javascript:void(0);" title="ZSI.TCcompound.ComplexType.cb" alt="" coords="263,492,665,511"/>
71<area shape="rect" href="javascript:void(0);" title="For derived types set appropriate parameter and" alt="" coords="263,511,665,529"/>
72<area shape="rect" href="javascript:void(0);" title="Represents an element of complexType, potentially containing other elements." alt="" coords="261,416,667,531"/>
73<area shape="rect" href="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getTrustedHostInfo_Dec&#45;class.html#literal" title="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getTrustedHostInfo_Dec.literal" alt="" coords="216,577,360,596"/>
74<area shape="rect" href="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getTrustedHostInfo_Dec&#45;class.html#schema" title="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getTrustedHostInfo_Dec.schema" alt="" coords="216,596,360,615"/>
75<area shape="rect" href="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getTrustedHostInfo_Dec&#45;class.html#__init__" title="pyclass &#45;&#45; the Python class to hold the fields ofwhat &#45;&#45; a list of fields &#160;to be in the complexType inorder &#45;&#45; fields must be in exact order or not &#160;inline &#45;&#45; don&#39;t href/id when serializing mutable &#45;&#45; object could change &#160;between multiple serializations type &#45;&#45; the (URI,localname) of the datatype mixed &#45;&#45; mixed content model? True/False mixed_aname &#45;&#45; if mixed is True, &#160;specify text content here." alt="" coords="216,617,360,636"/>
76<area shape="rect" href="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getTrustedHostInfo_Dec&#45;class.html" title="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getTrustedHostInfo_Dec" alt="" coords="215,560,361,637"/>
77<area shape="rect" href="javascript:void(0);" title="ZSI.TC.TypeCode.attribute_typecode_dict" alt="" coords="356,28,572,47"/>
78<area shape="rect" href="javascript:void(0);" title="ZSI.TC.TypeCode.tag" alt="" coords="356,47,572,65"/>
79<area shape="rect" href="javascript:void(0);" title="ZSI.TC.TypeCode.type" alt="" coords="356,65,572,84"/>
80<area shape="rect" href="javascript:void(0);" title="ZSI.TC.TypeCode.typechecks" alt="" coords="356,84,572,103"/>
81<area shape="rect" href="javascript:void(0);" title="Simple HREF for non&#45;string and non&#45;struct and non&#45;array." alt="" coords="356,105,572,124"/>
82<area shape="rect" href="javascript:void(0);" title="See if the name and type of the &quot;elt&quot; element is what we&#39;re looking for." alt="" coords="356,124,572,143"/>
83<area shape="rect" href="javascript:void(0);" title="See if the type of the &quot;elt&quot; element is what we&#39;re looking for." alt="" coords="356,143,572,161"/>
84<area shape="rect" href="javascript:void(0);" title="Paramters:..." alt="" coords="356,161,572,180"/>
85<area shape="rect" href="javascript:void(0);" title="Get the parselist and human&#45;readable version, errorlist is returned, &#160;because it is used in error messages." alt="" coords="356,180,572,199"/>
86<area shape="rect" href="javascript:void(0);" title="Return True if Attributes are declared outside the scope of SOAP (&#39;root&#39;, &#160;&#39;id&#39;, &#39;href&#39;), and some attributes automatically handled (xmlns, xsi:type)." alt="" coords="356,199,572,217"/>
87<area shape="rect" href="javascript:void(0);" title="Simple boolean test to see if we match the element name." alt="" coords="356,217,572,236"/>
88<area shape="rect" href="javascript:void(0);" title="Is the element NIL, and is that okay? Parameters: &#160;&#160;&#160;&#160;elt &#45;&#45; the DOM element being parsed &#160;&#160;&#160;&#160;ps &#45;&#45; the ParsedSoap object." alt="" coords="356,236,572,255"/>
89<area shape="rect" href="javascript:void(0);" title="find all attributes specified in the attribute_typecode_dict in current element tag, if an attribute is found set it in the &#160;self.attributes dictionary." alt="" coords="356,255,572,273"/>
90<area shape="rect" href="javascript:void(0);" title="Parameters:..." alt="" coords="356,273,572,292"/>
91<area shape="rect" href="javascript:void(0);" title="set href attribute..." alt="" coords="356,292,572,311"/>
92<area shape="rect" href="javascript:void(0);" title="set id attribute..." alt="" coords="356,311,572,329"/>
93<area shape="rect" href="javascript:void(0);" title="if typed, set the xsi:type attribute ..." alt="" coords="356,329,572,348"/>
94<area shape="rect" href="javascript:void(0);" title="convert text into typecode specific data." alt="" coords="356,367,572,385"/>
95<area shape="rect" href="javascript:void(0);" title="The parent class for all parseable SOAP types." alt="" coords="355,11,573,387"/>
96<area shape="rect" href="ZSI.schema.SchemaInstanceType&#45;class.html" title="Register all types/elements, when hit already defined &#160;class dont create a new one just give back reference." alt="" coords="17,468,209,487"/>
97<area shape="rect" href="javascript:void(0);" title="Typecodes subclass to represent a Global Element Declaration by setting class variables schema and literal." alt="" coords="16,451,211,496"/>
98</map>
99  <img src="uml_class_diagram_for_ndg_secu_30.gif" alt='' usemap="#uml_class_diagram_for_ndg_secu_30" ismap="ismap" class="graph-without-title" />
100</center>
101</center>
102<hr />
103<!-- ==================== NESTED CLASSES ==================== -->
104<a name="section-NestedClasses"></a>
105<table class="summary" border="1" cellpadding="3"
106       cellspacing="0" width="100%" bgcolor="white">
107<tr bgcolor="#70b0f0" class="table-header">
108  <td colspan="2" class="table-header">
109    <table border="0" cellpadding="0" cellspacing="0" width="100%">
110      <tr valign="top">
111        <td align="left"><span class="table-header">Nested Classes</span></td>
112        <td align="right" valign="top"
113         ><span class="options">[<a href="#section-NestedClasses"
114         class="privatelink" onclick="toggle_private();"
115         >hide private</a>]</span></td>
116      </tr>
117    </table>
118  </td>
119</tr>
120  <tr>
121    <td colspan="2" class="summary">
122    <p class="indent-wrapped-lines"><b>Inherited from <code>ZSI.schema.ElementDeclaration</code></b>:
123      <code><a href="ZSI.schema.SchemaInstanceType-class.html">__metaclass__</a></code>
124      </p>
125    </td>
126  </tr>
127</table>
128<!-- ==================== INSTANCE METHODS ==================== -->
129<a name="section-InstanceMethods"></a>
130<table class="summary" border="1" cellpadding="3"
131       cellspacing="0" width="100%" bgcolor="white">
132<tr bgcolor="#70b0f0" class="table-header">
133  <td colspan="2" class="table-header">
134    <table border="0" cellpadding="0" cellspacing="0" width="100%">
135      <tr valign="top">
136        <td align="left"><span class="table-header">Instance Methods</span></td>
137        <td align="right" valign="top"
138         ><span class="options">[<a href="#section-InstanceMethods"
139         class="privatelink" onclick="toggle_private();"
140         >hide private</a>]</span></td>
141      </tr>
142    </table>
143  </td>
144</tr>
145<tr>
146    <td width="15%" align="right" valign="top" class="summary">
147      <span class="summary-type">&nbsp;</span>
148    </td><td class="summary">
149      <table width="100%" cellpadding="0" cellspacing="0" border="0">
150        <tr>
151          <td><span class="summary-sig"><a href="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getTrustedHostInfo_Dec-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
152        <span class="summary-sig-arg">**kw</span>)</span><br />
153      pyclass -- the Python class to hold the fields ofwhat -- a list of
154      fields to be in the complexType inorder -- fields must be in exact
155      order or not inline -- don't href/id when serializing mutable --
156      object could change between multiple serializations type -- the
157      (URI,localname) of the datatype mixed -- mixed content model?
158      True/False mixed_aname -- if mixed is True, specify text content
159      here.</td>
160          <td align="right" valign="top">
161            <span class="codelink"><a href="ndg.security.common.AttAuthority.AttAuthority_services_types-pysrc.html#ns0.getTrustedHostInfo_Dec.__init__">source&nbsp;code</a></span>
162           
163          </td>
164        </tr>
165      </table>
166     
167    </td>
168  </tr>
169  <tr>
170    <td colspan="2" class="summary">
171    <p class="indent-wrapped-lines"><b>Inherited from <code>ZSI.TCcompound.ComplexType</code></b>:
172      <code>cb</code>,
173      <code>parse</code>,
174      <code>serialize</code>,
175      <code>setDerivedTypeContents</code>
176      </p>
177    <p class="indent-wrapped-lines"><b>Inherited from <code>ZSI.TC.TypeCode</code></b>:
178      <code>SimpleHREF</code>,
179      <code>checkname</code>,
180      <code>checktype</code>,
181      <code>get_name</code>,
182      <code>get_parse_and_errorlist</code>,
183      <code>has_attributes</code>,
184      <code>name_match</code>,
185      <code>nilled</code>,
186      <code>parse_attributes</code>,
187      <code>serialize_as_nil</code>,
188      <code>set_attribute_href</code>,
189      <code>set_attribute_id</code>,
190      <code>set_attribute_xsi_type</code>,
191      <code>set_attributes</code>,
192      <code>simple_value</code>,
193      <code>text_to_data</code>
194      </p>
195    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
196      <code>__delattr__</code>,
197      <code>__getattribute__</code>,
198      <code>__hash__</code>,
199      <code>__new__</code>,
200      <code>__reduce__</code>,
201      <code>__reduce_ex__</code>,
202      <code>__repr__</code>,
203      <code>__setattr__</code>,
204      <code>__str__</code>
205      </p>
206    </td>
207  </tr>
208</table>
209<!-- ==================== CLASS VARIABLES ==================== -->
210<a name="section-ClassVariables"></a>
211<table class="summary" border="1" cellpadding="3"
212       cellspacing="0" width="100%" bgcolor="white">
213<tr bgcolor="#70b0f0" class="table-header">
214  <td colspan="2" class="table-header">
215    <table border="0" cellpadding="0" cellspacing="0" width="100%">
216      <tr valign="top">
217        <td align="left"><span class="table-header">Class Variables</span></td>
218        <td align="right" valign="top"
219         ><span class="options">[<a href="#section-ClassVariables"
220         class="privatelink" onclick="toggle_private();"
221         >hide private</a>]</span></td>
222      </tr>
223    </table>
224  </td>
225</tr>
226<tr>
227    <td width="15%" align="right" valign="top" class="summary">
228      <span class="summary-type">&nbsp;</span>
229    </td><td class="summary">
230        <a name="literal"></a><span class="summary-name">literal</span> = <code title="&quot;getTrustedHostInfo&quot;">&quot;getTrustedHostInfo&quot;</code>
231    </td>
232  </tr>
233<tr>
234    <td width="15%" align="right" valign="top" class="summary">
235      <span class="summary-type">&nbsp;</span>
236    </td><td class="summary">
237        <a name="schema"></a><span class="summary-name">schema</span> = <code title="&quot;urn:ndg:security:attAuthority&quot;">&quot;urn:ndg:security:attAuthority&quot;</code>
238    </td>
239  </tr>
240  <tr>
241    <td colspan="2" class="summary">
242    <p class="indent-wrapped-lines"><b>Inherited from <code>ZSI.TCcompound.ComplexType</code></b>:
243      <code>logger</code>
244      </p>
245    <p class="indent-wrapped-lines"><b>Inherited from <code>ZSI.TC.TypeCode</code></b>:
246      <code>attribute_typecode_dict</code>,
247      <code>tag</code>,
248      <code>type</code>,
249      <code>typechecks</code>
250      </p>
251    </td>
252  </tr>
253</table>
254<!-- ==================== PROPERTIES ==================== -->
255<a name="section-Properties"></a>
256<table class="summary" border="1" cellpadding="3"
257       cellspacing="0" width="100%" bgcolor="white">
258<tr bgcolor="#70b0f0" class="table-header">
259  <td colspan="2" class="table-header">
260    <table border="0" cellpadding="0" cellspacing="0" width="100%">
261      <tr valign="top">
262        <td align="left"><span class="table-header">Properties</span></td>
263        <td align="right" valign="top"
264         ><span class="options">[<a href="#section-Properties"
265         class="privatelink" onclick="toggle_private();"
266         >hide private</a>]</span></td>
267      </tr>
268    </table>
269  </td>
270</tr>
271  <tr>
272    <td colspan="2" class="summary">
273    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
274      <code>__class__</code>
275      </p>
276    </td>
277  </tr>
278</table>
279<!-- ==================== METHOD DETAILS ==================== -->
280<a name="section-MethodDetails"></a>
281<table class="details" border="1" cellpadding="3"
282       cellspacing="0" width="100%" bgcolor="white">
283<tr bgcolor="#70b0f0" class="table-header">
284  <td colspan="2" class="table-header">
285    <table border="0" cellpadding="0" cellspacing="0" width="100%">
286      <tr valign="top">
287        <td align="left"><span class="table-header">Method Details</span></td>
288        <td align="right" valign="top"
289         ><span class="options">[<a href="#section-MethodDetails"
290         class="privatelink" onclick="toggle_private();"
291         >hide private</a>]</span></td>
292      </tr>
293    </table>
294  </td>
295</tr>
296</table>
297<a name="__init__"></a>
298<div>
299<table class="details" border="1" cellpadding="3"
300       cellspacing="0" width="100%" bgcolor="white">
301<tr><td>
302  <table width="100%" cellpadding="0" cellspacing="0" border="0">
303  <tr valign="top"><td>
304  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
305        <span class="sig-arg">**kw</span>)</span>
306    <br /><em class="fname">(Constructor)</em>
307  </h3>
308  </td><td align="right" valign="top"
309    ><span class="codelink"><a href="ndg.security.common.AttAuthority.AttAuthority_services_types-pysrc.html#ns0.getTrustedHostInfo_Dec.__init__">source&nbsp;code</a></span>&nbsp;
310    </td>
311  </tr></table>
312 
313  <p>pyclass -- the Python class to hold the fields ofwhat -- a list of
314  fields to be in the complexType inorder -- fields must be in exact order
315  or not inline -- don't href/id when serializing mutable -- object could
316  change between multiple serializations type -- the (URI,localname) of the
317  datatype mixed -- mixed content model? True/False mixed_aname -- if mixed
318  is True, specify text content here. Default _text</p>
319  <dl class="fields">
320    <dt>Overrides:
321        object.__init__
322        <dd><em class="note">(inherited documentation)</em></dd>
323    </dt>
324  </dl>
325</td></tr></table>
326</div>
327<br />
328<!-- ==================== NAVIGATION BAR ==================== -->
329<table class="navbar" border="0" width="100%" cellpadding="0"
330       bgcolor="#a0c0ff" cellspacing="0">
331  <tr valign="middle">
332  <!-- Home link -->
333      <th>&nbsp;&nbsp;&nbsp;<a
334        href="ndg-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
335
336  <!-- Tree link -->
337      <th>&nbsp;&nbsp;&nbsp;<a
338        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
339
340  <!-- Index link -->
341      <th>&nbsp;&nbsp;&nbsp;<a
342        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
343
344  <!-- Help link -->
345      <th>&nbsp;&nbsp;&nbsp;<a
346        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
347
348  <!-- Project homepage -->
349      <th class="navbar" align="right" width="100%">
350        <table border="0" cellpadding="0" cellspacing="0">
351          <tr><th class="navbar" align="center"
352            >NDG Security</th>
353          </tr></table></th>
354  </tr>
355</table>
356<table border="0" cellpadding="0" cellspacing="0" width="100%%">
357  <tr>
358    <td align="left" class="footer">
359    <a href="epydoc-log.html">Generated by Epydoc
360    3.0.1 on Thu Sep  4 09:37:42 2008</a>
361    </td>
362    <td align="right" class="footer">
363      <a target="mainFrame" href="http://epydoc.sourceforge.net"
364        >http://epydoc.sourceforge.net</a>
365    </td>
366  </tr>
367</table>
368
369<script type="text/javascript">
370  <!--
371  // Private objects are initially displayed (because if
372  // javascript is turned off then we want them to be
373  // visible); but by default, we want to hide them.  So hide
374  // them unless we have a cookie that says to show them.
375  checkCookie();
376  // -->
377</script>
378</body>
379</html>
Note: See TracBrowser for help on using the repository browser.