source: TI12-security/trunk/documentation/epydoc/ndg.security.client.ndgSessionClient-module.html @ 4245

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/documentation/epydoc/ndg.security.client.ndgSessionClient-module.html@4245
Revision 4245, 12.6 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.ndgSessionClient</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        Module&nbsp;ndgSessionClient
49      </span>
50    </td>
51    <td>
52      <table cellpadding="0" cellspacing="0">
53        <!-- hide/show private -->
54        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
55    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
56      </table>
57    </td>
58  </tr>
59</table>
60<!-- ==================== MODULE DESCRIPTION ==================== -->
61<h1 class="epydoc">Module ndgSessionClient</h1><p class="nomargin-top"><span class="codelink"><a href="ndg.security.client.ndgSessionClient-pysrc.html">source&nbsp;code</a></span></p>
62<p>NDG Session client script - makes requests for authentication and
63  authorisation</p>
64  <p>NERC Data Grid Project</p>
65  <p>This software may be distributed under the terms of the Q Public
66  License, version 1.0 or later.</p>
67
68<hr />
69<div class="fields">      <p><strong>Date:</strong>
70        08/03/06
71      </p>
72      <p><strong>Author:</strong>
73        P J Kershaw
74      </p>
75      <p><strong>Contact:</strong>
76        P.J.Kershaw@rl.ac.uk
77      </p>
78      <p><strong>Copyright:</strong>
79        (C) 2007 STFC &amp; NERC
80      </p>
81      <p><strong>License:</strong>
82        This software may be distributed under the terms of the Q Public
83        License, version 1.0 or later.
84      </p>
85</div><!-- ==================== FUNCTIONS ==================== -->
86<a name="section-Functions"></a>
87<table class="summary" border="1" cellpadding="3"
88       cellspacing="0" width="100%" bgcolor="white">
89<tr bgcolor="#70b0f0" class="table-header">
90  <td colspan="2" class="table-header">
91    <table border="0" cellpadding="0" cellspacing="0" width="100%">
92      <tr valign="top">
93        <td align="left"><span class="table-header">Functions</span></td>
94        <td align="right" valign="top"
95         ><span class="options">[<a href="#section-Functions"
96         class="privatelink" onclick="toggle_private();"
97         >hide private</a>]</span></td>
98      </tr>
99    </table>
100  </td>
101</tr>
102<tr>
103    <td width="15%" align="right" valign="top" class="summary">
104      <span class="summary-type">&nbsp;</span>
105    </td><td class="summary">
106      <table width="100%" cellpadding="0" cellspacing="0" border="0">
107        <tr>
108          <td><span class="summary-sig"><a name="setSoapDebug"></a><span class="summary-sig-name">setSoapDebug</span>(<span class="summary-sig-arg">option</span>,
109        <span class="summary-sig-arg">optStr</span>,
110        <span class="summary-sig-arg">value</span>,
111        <span class="summary-sig-arg">parser</span>)</span><br />
112      Parser Callback function for enabling SOAP debug output</td>
113          <td align="right" valign="top">
114            <span class="codelink"><a href="ndg.security.client.ndgSessionClient-pysrc.html#setSoapDebug">source&nbsp;code</a></span>
115           
116          </td>
117        </tr>
118      </table>
119     
120    </td>
121  </tr>
122<tr>
123    <td width="15%" align="right" valign="top" class="summary">
124      <span class="summary-type">&nbsp;</span>
125    </td><td class="summary">
126      <table width="100%" cellpadding="0" cellspacing="0" border="0">
127        <tr>
128          <td><span class="summary-sig"><a name="setSessCookie"></a><span class="summary-sig-name">setSessCookie</span>(<span class="summary-sig-arg">option</span>,
129        <span class="summary-sig-arg">optStr</span>,
130        <span class="summary-sig-arg">value</span>,
131        <span class="summary-sig-arg">parser</span>)</span><br />
132      Parser Callback function for reading session cookie from command line</td>
133          <td align="right" valign="top">
134            <span class="codelink"><a href="ndg.security.client.ndgSessionClient-pysrc.html#setSessCookie">source&nbsp;code</a></span>
135           
136          </td>
137        </tr>
138      </table>
139     
140    </td>
141  </tr>
142<tr>
143    <td width="15%" align="right" valign="top" class="summary">
144      <span class="summary-type">&nbsp;</span>
145    </td><td class="summary">
146      <table width="100%" cellpadding="0" cellspacing="0" border="0">
147        <tr>
148          <td><span class="summary-sig"><a name="setSessCookieFromStdin"></a><span class="summary-sig-name">setSessCookieFromStdin</span>(<span class="summary-sig-arg">option</span>,
149        <span class="summary-sig-arg">optStr</span>,
150        <span class="summary-sig-arg">value</span>,
151        <span class="summary-sig-arg">parser</span>)</span><br />
152      Parser Callback function for reading cookie from stdin</td>
153          <td align="right" valign="top">
154            <span class="codelink"><a href="ndg.security.client.ndgSessionClient-pysrc.html#setSessCookieFromStdin">source&nbsp;code</a></span>
155           
156          </td>
157        </tr>
158      </table>
159     
160    </td>
161  </tr>
162<tr>
163    <td width="15%" align="right" valign="top" class="summary">
164      <span class="summary-type">&nbsp;</span>
165    </td><td class="summary">
166      <table width="100%" cellpadding="0" cellspacing="0" border="0">
167        <tr>
168          <td><span class="summary-sig"><a name="setClntPriKeyPwd"></a><span class="summary-sig-name">setClntPriKeyPwd</span>(<span class="summary-sig-arg">option</span>,
169        <span class="summary-sig-arg">optStr</span>,
170        <span class="summary-sig-arg">value</span>,
171        <span class="summary-sig-arg">parser</span>)</span><br />
172      Parser Callback function for reading client private key password</td>
173          <td align="right" valign="top">
174            <span class="codelink"><a href="ndg.security.client.ndgSessionClient-pysrc.html#setClntPriKeyPwd">source&nbsp;code</a></span>
175           
176          </td>
177        </tr>
178      </table>
179     
180    </td>
181  </tr>
182<tr>
183    <td width="15%" align="right" valign="top" class="summary">
184      <span class="summary-type">&nbsp;</span>
185    </td><td class="summary">
186      <table width="100%" cellpadding="0" cellspacing="0" border="0">
187        <tr>
188          <td><span class="summary-sig"><a name="setAAcert"></a><span class="summary-sig-name">setAAcert</span>(<span class="summary-sig-arg">option</span>,
189        <span class="summary-sig-arg">optStr</span>,
190        <span class="summary-sig-arg">value</span>,
191        <span class="summary-sig-arg">parser</span>)</span><br />
192      Parser callback function for reading Attribute Authority Public key</td>
193          <td align="right" valign="top">
194            <span class="codelink"><a href="ndg.security.client.ndgSessionClient-pysrc.html#setAAcert">source&nbsp;code</a></span>
195           
196          </td>
197        </tr>
198      </table>
199     
200    </td>
201  </tr>
202<tr>
203    <td width="15%" align="right" valign="top" class="summary">
204      <span class="summary-type">&nbsp;</span>
205    </td><td class="summary">
206      <table width="100%" cellpadding="0" cellspacing="0" border="0">
207        <tr>
208          <td><span class="summary-sig"><a name="main"></a><span class="summary-sig-name">main</span>()</span></td>
209          <td align="right" valign="top">
210            <span class="codelink"><a href="ndg.security.client.ndgSessionClient-pysrc.html#main">source&nbsp;code</a></span>
211           
212          </td>
213        </tr>
214      </table>
215     
216    </td>
217  </tr>
218</table>
219<!-- ==================== VARIABLES ==================== -->
220<a name="section-Variables"></a>
221<table class="summary" border="1" cellpadding="3"
222       cellspacing="0" width="100%" bgcolor="white">
223<tr bgcolor="#70b0f0" class="table-header">
224  <td colspan="2" class="table-header">
225    <table border="0" cellpadding="0" cellspacing="0" width="100%">
226      <tr valign="top">
227        <td align="left"><span class="table-header">Variables</span></td>
228        <td align="right" valign="top"
229         ><span class="options">[<a href="#section-Variables"
230         class="privatelink" onclick="toggle_private();"
231         >hide private</a>]</span></td>
232      </tr>
233    </table>
234  </td>
235</tr>
236<tr>
237    <td width="15%" align="right" valign="top" class="summary">
238      <span class="summary-type">&nbsp;</span>
239    </td><td class="summary">
240        <a href="ndg.security.client.ndgSessionClient-module.html#__revision__" class="summary-name">__revision__</a> = <code title="&quot;$Id: ndgSessionClient.py 2909 2007-09-28 14:22:21Z pjkersha $&quot;">&quot;$Id: ndgSessionClient.py 2909 2007-09-28 14:22<code class="variable-ellipsis">...</code></code>
241    </td>
242  </tr>
243</table>
244<!-- ==================== VARIABLES DETAILS ==================== -->
245<a name="section-VariablesDetails"></a>
246<table class="details" border="1" cellpadding="3"
247       cellspacing="0" width="100%" bgcolor="white">
248<tr bgcolor="#70b0f0" class="table-header">
249  <td colspan="2" class="table-header">
250    <table border="0" cellpadding="0" cellspacing="0" width="100%">
251      <tr valign="top">
252        <td align="left"><span class="table-header">Variables Details</span></td>
253        <td align="right" valign="top"
254         ><span class="options">[<a href="#section-VariablesDetails"
255         class="privatelink" onclick="toggle_private();"
256         >hide private</a>]</span></td>
257      </tr>
258    </table>
259  </td>
260</tr>
261</table>
262<a name="__revision__"></a>
263<div>
264<table class="details" border="1" cellpadding="3"
265       cellspacing="0" width="100%" bgcolor="white">
266<tr><td>
267  <h3 class="epydoc">__revision__</h3>
268 
269  <dl class="fields">
270  </dl>
271  <dl class="fields">
272    <dt>Value:</dt>
273      <dd><table><tr><td><pre class="variable">
274&quot;$Id: ndgSessionClient.py 2909 2007-09-28 14:22:21Z pjkersha $&quot;
275</pre></td></tr></table>
276</dd>
277  </dl>
278</td></tr></table>
279</div>
280<br />
281<!-- ==================== NAVIGATION BAR ==================== -->
282<table class="navbar" border="0" width="100%" cellpadding="0"
283       bgcolor="#a0c0ff" cellspacing="0">
284  <tr valign="middle">
285  <!-- Home link -->
286      <th>&nbsp;&nbsp;&nbsp;<a
287        href="ndg-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
288
289  <!-- Tree link -->
290      <th>&nbsp;&nbsp;&nbsp;<a
291        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
292
293  <!-- Index link -->
294      <th>&nbsp;&nbsp;&nbsp;<a
295        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
296
297  <!-- Help link -->
298      <th>&nbsp;&nbsp;&nbsp;<a
299        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
300
301  <!-- Project homepage -->
302      <th class="navbar" align="right" width="100%">
303        <table border="0" cellpadding="0" cellspacing="0">
304          <tr><th class="navbar" align="center"
305            >NDG Security</th>
306          </tr></table></th>
307  </tr>
308</table>
309<table border="0" cellpadding="0" cellspacing="0" width="100%%">
310  <tr>
311    <td align="left" class="footer">
312    <a href="epydoc-log.html">Generated by Epydoc
313    3.0.1 on Thu Sep  4 09:37:40 2008</a>
314    </td>
315    <td align="right" class="footer">
316      <a target="mainFrame" href="http://epydoc.sourceforge.net"
317        >http://epydoc.sourceforge.net</a>
318    </td>
319  </tr>
320</table>
321
322<script type="text/javascript">
323  <!--
324  // Private objects are initially displayed (because if
325  // javascript is turned off then we want them to be
326  // visible); but by default, we want to hide them.  So hide
327  // them unless we have a cookie that says to show them.
328  checkCookie();
329  // -->
330</script>
331</body>
332</html>
Note: See TracBrowser for help on using the repository browser.