source: TI12-security/trunk/documentation/epydoc/ndg.security.client.LogClient.LogClient-class.html @ 4245

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/documentation/epydoc/ndg.security.client.LogClient.LogClient-class.html@4245
Revision 4245, 16.4 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.client.LogClient.LogClient</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.client-module.html">Package&nbsp;client</a> ::
48        <a href="ndg.security.client.LogClient-module.html">Module&nbsp;LogClient</a> ::
49        Class&nbsp;LogClient
50      </span>
51    </td>
52    <td>
53      <table cellpadding="0" cellspacing="0">
54        <!-- hide/show private -->
55        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
56    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
57      </table>
58    </td>
59  </tr>
60</table>
61<!-- ==================== CLASS DESCRIPTION ==================== -->
62<h1 class="epydoc">Class LogClient</h1><p class="nomargin-top"><span class="codelink"><a href="ndg.security.client.LogClient-pysrc.html#LogClient">source&nbsp;code</a></span></p>
63<center>
64<center>  <map id="uml_class_diagram_for_ndg_secu_3" name="uml_class_diagram_for_ndg_secu_3">
65<area shape="rect" href="ndg.security.client.LogClient.LogClient&#45;class.html#uri" title="ndg.security.client.LogClient.LogClient.uri" alt="" coords="17,28,753,46"/>
66<area shape="rect" href="ndg.security.client.LogClient.LogClient&#45;class.html#__init__" title="uri: &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;URI for Logging WS." alt="" coords="17,49,753,68"/>
67<area shape="rect" href="ndg.security.client.LogClient.LogClient&#45;class.html#serviceProxy" title="Set the WS proxy for the Logging" alt="" coords="17,68,753,86"/>
68<area shape="rect" href="ndg.security.client.LogClient.LogClient&#45;class.html#debug" title="Send a debug message to the log" alt="" coords="17,86,753,105"/>
69<area shape="rect" href="ndg.security.client.LogClient.LogClient&#45;class.html#info" title="Send a information message to the log" alt="" coords="17,105,753,124"/>
70<area shape="rect" href="ndg.security.client.LogClient.LogClient&#45;class.html#warning" title="Send a warning message to the log" alt="" coords="17,124,753,142"/>
71<area shape="rect" href="ndg.security.client.LogClient.LogClient&#45;class.html#error" title="Send a error message to the log" alt="" coords="17,142,753,161"/>
72<area shape="rect" href="ndg.security.client.LogClient.LogClient&#45;class.html" title="ndg.security.client.LogClient.LogClient" alt="" coords="16,10,755,162"/>
73</map>
74  <img src="uml_class_diagram_for_ndg_secu_3.gif" alt='' usemap="#uml_class_diagram_for_ndg_secu_3" ismap="ismap" class="graph-without-title" />
75</center>
76</center>
77<hr />
78<!-- ==================== INSTANCE METHODS ==================== -->
79<a name="section-InstanceMethods"></a>
80<table class="summary" border="1" cellpadding="3"
81       cellspacing="0" width="100%" bgcolor="white">
82<tr bgcolor="#70b0f0" class="table-header">
83  <td colspan="2" class="table-header">
84    <table border="0" cellpadding="0" cellspacing="0" width="100%">
85      <tr valign="top">
86        <td align="left"><span class="table-header">Instance Methods</span></td>
87        <td align="right" valign="top"
88         ><span class="options">[<a href="#section-InstanceMethods"
89         class="privatelink" onclick="toggle_private();"
90         >hide private</a>]</span></td>
91      </tr>
92    </table>
93  </td>
94</tr>
95<tr>
96    <td width="15%" align="right" valign="top" class="summary">
97      <span class="summary-type">&nbsp;</span>
98    </td><td class="summary">
99      <table width="100%" cellpadding="0" cellspacing="0" border="0">
100        <tr>
101          <td><span class="summary-sig"><a href="ndg.security.client.LogClient.LogClient-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
102        <span class="summary-sig-arg">uri</span>=<span class="summary-sig-default">None</span>,
103        <span class="summary-sig-arg">signingCertFilePath</span>=<span class="summary-sig-default">None</span>,
104        <span class="summary-sig-arg">signingPriKeyFilePath</span>=<span class="summary-sig-default">None</span>,
105        <span class="summary-sig-arg">signingPriKeyPwd</span>=<span class="summary-sig-default">None</span>,
106        <span class="summary-sig-arg">traceFile</span>=<span class="summary-sig-default">None</span>)</span><br />
107      uri:                   URI for Logging WS.</td>
108          <td align="right" valign="top">
109            <span class="codelink"><a href="ndg.security.client.LogClient-pysrc.html#LogClient.__init__">source&nbsp;code</a></span>
110           
111          </td>
112        </tr>
113      </table>
114     
115    </td>
116  </tr>
117<tr class="private">
118    <td width="15%" align="right" valign="top" class="summary">
119      <span class="summary-type">&nbsp;</span>
120    </td><td class="summary">
121      <table width="100%" cellpadding="0" cellspacing="0" border="0">
122        <tr>
123          <td><span class="summary-sig"><a name="__setWSDL"></a><span class="summary-sig-name">__setWSDL</span>(<span class="summary-sig-arg">self</span>,
124        <span class="summary-sig-arg">uri</span>)</span></td>
125          <td align="right" valign="top">
126            <span class="codelink"><a href="ndg.security.client.LogClient-pysrc.html#LogClient.__setWSDL">source&nbsp;code</a></span>
127           
128          </td>
129        </tr>
130      </table>
131     
132    </td>
133  </tr>
134<tr>
135    <td width="15%" align="right" valign="top" class="summary">
136      <span class="summary-type">&nbsp;</span>
137    </td><td class="summary">
138      <table width="100%" cellpadding="0" cellspacing="0" border="0">
139        <tr>
140          <td><span class="summary-sig"><a name="serviceProxy"></a><span class="summary-sig-name">serviceProxy</span>(<span class="summary-sig-arg">self</span>,
141        <span class="summary-sig-arg">uri</span>=<span class="summary-sig-default">None</span>)</span><br />
142      Set the WS proxy for the Logging</td>
143          <td align="right" valign="top">
144            <span class="codelink"><a href="ndg.security.client.LogClient-pysrc.html#LogClient.serviceProxy">source&nbsp;code</a></span>
145           
146          </td>
147        </tr>
148      </table>
149     
150    </td>
151  </tr>
152<tr>
153    <td width="15%" align="right" valign="top" class="summary">
154      <span class="summary-type">&nbsp;</span>
155    </td><td class="summary">
156      <table width="100%" cellpadding="0" cellspacing="0" border="0">
157        <tr>
158          <td><span class="summary-sig"><a name="debug"></a><span class="summary-sig-name">debug</span>(<span class="summary-sig-arg">self</span>,
159        <span class="summary-sig-arg">msg</span>)</span><br />
160      Send a debug message to the log</td>
161          <td align="right" valign="top">
162            <span class="codelink"><a href="ndg.security.client.LogClient-pysrc.html#LogClient.debug">source&nbsp;code</a></span>
163           
164          </td>
165        </tr>
166      </table>
167     
168    </td>
169  </tr>
170<tr>
171    <td width="15%" align="right" valign="top" class="summary">
172      <span class="summary-type">&nbsp;</span>
173    </td><td class="summary">
174      <table width="100%" cellpadding="0" cellspacing="0" border="0">
175        <tr>
176          <td><span class="summary-sig"><a name="info"></a><span class="summary-sig-name">info</span>(<span class="summary-sig-arg">self</span>,
177        <span class="summary-sig-arg">msg</span>)</span><br />
178      Send a information message to the log</td>
179          <td align="right" valign="top">
180            <span class="codelink"><a href="ndg.security.client.LogClient-pysrc.html#LogClient.info">source&nbsp;code</a></span>
181           
182          </td>
183        </tr>
184      </table>
185     
186    </td>
187  </tr>
188<tr>
189    <td width="15%" align="right" valign="top" class="summary">
190      <span class="summary-type">&nbsp;</span>
191    </td><td class="summary">
192      <table width="100%" cellpadding="0" cellspacing="0" border="0">
193        <tr>
194          <td><span class="summary-sig"><a name="warning"></a><span class="summary-sig-name">warning</span>(<span class="summary-sig-arg">self</span>,
195        <span class="summary-sig-arg">msg</span>)</span><br />
196      Send a warning message to the log</td>
197          <td align="right" valign="top">
198            <span class="codelink"><a href="ndg.security.client.LogClient-pysrc.html#LogClient.warning">source&nbsp;code</a></span>
199           
200          </td>
201        </tr>
202      </table>
203     
204    </td>
205  </tr>
206<tr>
207    <td width="15%" align="right" valign="top" class="summary">
208      <span class="summary-type">&nbsp;</span>
209    </td><td class="summary">
210      <table width="100%" cellpadding="0" cellspacing="0" border="0">
211        <tr>
212          <td><span class="summary-sig"><a name="error"></a><span class="summary-sig-name">error</span>(<span class="summary-sig-arg">self</span>,
213        <span class="summary-sig-arg">msg</span>)</span><br />
214      Send a error message to the log</td>
215          <td align="right" valign="top">
216            <span class="codelink"><a href="ndg.security.client.LogClient-pysrc.html#LogClient.error">source&nbsp;code</a></span>
217           
218          </td>
219        </tr>
220      </table>
221     
222    </td>
223  </tr>
224  <tr>
225    <td colspan="2" class="summary">
226    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
227      <code>__delattr__</code>,
228      <code>__getattribute__</code>,
229      <code>__hash__</code>,
230      <code>__new__</code>,
231      <code>__reduce__</code>,
232      <code>__reduce_ex__</code>,
233      <code>__repr__</code>,
234      <code>__setattr__</code>,
235      <code>__str__</code>
236      </p>
237    </td>
238  </tr>
239</table>
240<!-- ==================== CLASS VARIABLES ==================== -->
241<a name="section-ClassVariables"></a>
242<table class="summary" border="1" cellpadding="3"
243       cellspacing="0" width="100%" bgcolor="white">
244<tr bgcolor="#70b0f0" class="table-header">
245  <td colspan="2" class="table-header">
246    <table border="0" cellpadding="0" cellspacing="0" width="100%">
247      <tr valign="top">
248        <td align="left"><span class="table-header">Class Variables</span></td>
249        <td align="right" valign="top"
250         ><span class="options">[<a href="#section-ClassVariables"
251         class="privatelink" onclick="toggle_private();"
252         >hide private</a>]</span></td>
253      </tr>
254    </table>
255  </td>
256</tr>
257<tr>
258    <td width="15%" align="right" valign="top" class="summary">
259      <span class="summary-type">&nbsp;</span>
260    </td><td class="summary">
261        <a name="uri"></a><span class="summary-name">uri</span> = <code title="property(fset= __setURI, doc= &quot;Set Logging WSDL URI&quot;)">property(fset= __setURI, doc= &quot;Set Logging WSDL URI&quot;)</code>
262    </td>
263  </tr>
264</table>
265<!-- ==================== PROPERTIES ==================== -->
266<a name="section-Properties"></a>
267<table class="summary" border="1" cellpadding="3"
268       cellspacing="0" width="100%" bgcolor="white">
269<tr bgcolor="#70b0f0" class="table-header">
270  <td colspan="2" class="table-header">
271    <table border="0" cellpadding="0" cellspacing="0" width="100%">
272      <tr valign="top">
273        <td align="left"><span class="table-header">Properties</span></td>
274        <td align="right" valign="top"
275         ><span class="options">[<a href="#section-Properties"
276         class="privatelink" onclick="toggle_private();"
277         >hide private</a>]</span></td>
278      </tr>
279    </table>
280  </td>
281</tr>
282  <tr>
283    <td colspan="2" class="summary">
284    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
285      <code>__class__</code>
286      </p>
287    </td>
288  </tr>
289</table>
290<!-- ==================== METHOD DETAILS ==================== -->
291<a name="section-MethodDetails"></a>
292<table class="details" border="1" cellpadding="3"
293       cellspacing="0" width="100%" bgcolor="white">
294<tr bgcolor="#70b0f0" class="table-header">
295  <td colspan="2" class="table-header">
296    <table border="0" cellpadding="0" cellspacing="0" width="100%">
297      <tr valign="top">
298        <td align="left"><span class="table-header">Method Details</span></td>
299        <td align="right" valign="top"
300         ><span class="options">[<a href="#section-MethodDetails"
301         class="privatelink" onclick="toggle_private();"
302         >hide private</a>]</span></td>
303      </tr>
304    </table>
305  </td>
306</tr>
307</table>
308<a name="__init__"></a>
309<div>
310<table class="details" border="1" cellpadding="3"
311       cellspacing="0" width="100%" bgcolor="white">
312<tr><td>
313  <table width="100%" cellpadding="0" cellspacing="0" border="0">
314  <tr valign="top"><td>
315  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
316        <span class="sig-arg">uri</span>=<span class="sig-default">None</span>,
317        <span class="sig-arg">signingCertFilePath</span>=<span class="sig-default">None</span>,
318        <span class="sig-arg">signingPriKeyFilePath</span>=<span class="sig-default">None</span>,
319        <span class="sig-arg">signingPriKeyPwd</span>=<span class="sig-default">None</span>,
320        <span class="sig-arg">traceFile</span>=<span class="sig-default">None</span>)</span>
321    <br /><em class="fname">(Constructor)</em>
322  </h3>
323  </td><td align="right" valign="top"
324    ><span class="codelink"><a href="ndg.security.client.LogClient-pysrc.html#LogClient.__init__">source&nbsp;code</a></span>&nbsp;
325    </td>
326  </tr></table>
327 
328  <pre class="literalblock">
329
330uri:                   URI for Logging WS.  Setting
331                       it will set the Service Proxy
332traceFile:             set to file object such as sys.stderr to
333                       give extra WS debug information
334
335</pre>
336  <dl class="fields">
337    <dt>Overrides:
338        object.__init__
339    </dt>
340  </dl>
341</td></tr></table>
342</div>
343<br />
344<!-- ==================== NAVIGATION BAR ==================== -->
345<table class="navbar" border="0" width="100%" cellpadding="0"
346       bgcolor="#a0c0ff" cellspacing="0">
347  <tr valign="middle">
348  <!-- Home link -->
349      <th>&nbsp;&nbsp;&nbsp;<a
350        href="ndg-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
351
352  <!-- Tree link -->
353      <th>&nbsp;&nbsp;&nbsp;<a
354        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
355
356  <!-- Index link -->
357      <th>&nbsp;&nbsp;&nbsp;<a
358        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
359
360  <!-- Help link -->
361      <th>&nbsp;&nbsp;&nbsp;<a
362        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
363
364  <!-- Project homepage -->
365      <th class="navbar" align="right" width="100%">
366        <table border="0" cellpadding="0" cellspacing="0">
367          <tr><th class="navbar" align="center"
368            >NDG Security</th>
369          </tr></table></th>
370  </tr>
371</table>
372<table border="0" cellpadding="0" cellspacing="0" width="100%%">
373  <tr>
374    <td align="left" class="footer">
375    <a href="epydoc-log.html">Generated by Epydoc
376    3.0.1 on Thu Sep  4 09:37:41 2008</a>
377    </td>
378    <td align="right" class="footer">
379      <a target="mainFrame" href="http://epydoc.sourceforge.net"
380        >http://epydoc.sourceforge.net</a>
381    </td>
382  </tr>
383</table>
384
385<script type="text/javascript">
386  <!--
387  // Private objects are initially displayed (because if
388  // javascript is turned off then we want them to be
389  // visible); but by default, we want to hide them.  So hide
390  // them unless we have a cookie that says to show them.
391  checkCookie();
392  // -->
393</script>
394</body>
395</html>
Note: See TracBrowser for help on using the repository browser.