source: TI12-security/trunk/documentation/epydoc/ndg.security.common.SessionMgr-module.html @ 4245

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/documentation/epydoc/ndg.security.common.SessionMgr-module.html@4245
Revision 4245, 11.9 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.SessionMgr</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        Package&nbsp;SessionMgr
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<!-- ==================== PACKAGE DESCRIPTION ==================== -->
61<h1 class="epydoc">Package SessionMgr</h1><p class="nomargin-top"><span class="codelink"><a href="ndg.security.common.SessionMgr-pysrc.html">source&nbsp;code</a></span></p>
62<p>NDG Security client - client interface classes to Session Manager</p>
63  <p>Make requests for authentication and 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        24/04/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</div><!-- ==================== SUBMODULES ==================== -->
82<a name="section-Submodules"></a>
83<table class="summary" border="1" cellpadding="3"
84       cellspacing="0" width="100%" bgcolor="white">
85<tr bgcolor="#70b0f0" class="table-header">
86  <td colspan="2" class="table-header">
87    <table border="0" cellpadding="0" cellspacing="0" width="100%">
88      <tr valign="top">
89        <td align="left"><span class="table-header">Submodules</span></td>
90        <td align="right" valign="top"
91         ><span class="options">[<a href="#section-Submodules"
92         class="privatelink" onclick="toggle_private();"
93         >hide private</a>]</span></td>
94      </tr>
95    </table>
96  </td>
97</tr>
98  <tr><td class="summary">
99  <ul class="nomargin">
100    <li> <strong class="uidlink"><a href="ndg.security.common.SessionMgr.SessionMgr_services-module.html">ndg.security.common.SessionMgr.SessionMgr_services</a></strong>    </li>
101    <li> <strong class="uidlink"><a href="ndg.security.common.SessionMgr.SessionMgr_services_types-module.html">ndg.security.common.SessionMgr.SessionMgr_services_types</a></strong>    </li>
102  </ul></td></tr>
103</table>
104
105<br />
106<!-- ==================== CLASSES ==================== -->
107<a name="section-Classes"></a>
108<table class="summary" border="1" cellpadding="3"
109       cellspacing="0" width="100%" bgcolor="white">
110<tr bgcolor="#70b0f0" class="table-header">
111  <td colspan="2" class="table-header">
112    <table border="0" cellpadding="0" cellspacing="0" width="100%">
113      <tr valign="top">
114        <td align="left"><span class="table-header">Classes</span></td>
115        <td align="right" valign="top"
116         ><span class="options">[<a href="#section-Classes"
117         class="privatelink" onclick="toggle_private();"
118         >hide private</a>]</span></td>
119      </tr>
120    </table>
121  </td>
122</tr>
123<tr class="private">
124    <td width="15%" align="right" valign="top" class="summary">
125      <span class="summary-type">&nbsp;</span>
126    </td><td class="summary">
127        <a href="ndg.security.common.SessionMgr.SessionMgrClientError-class.html" class="summary-name" onclick="show_private();">SessionMgrClientError</a><br />
128      Exception handling for SessionMgrClient class
129    </td>
130  </tr>
131<tr class="private">
132    <td width="15%" align="right" valign="top" class="summary">
133      <span class="summary-type">&nbsp;</span>
134    </td><td class="summary">
135        <a href="ndg.security.common.SessionMgr.SessionNotFound-class.html" class="summary-name" onclick="show_private();">SessionNotFound</a><br />
136      Raise when a session ID input doesn't match with an active session on
137      the Session Manager
138    </td>
139  </tr>
140<tr class="private">
141    <td width="15%" align="right" valign="top" class="summary">
142      <span class="summary-type">&nbsp;</span>
143    </td><td class="summary">
144        <a href="ndg.security.common.SessionMgr.SessionCertTimeError-class.html" class="summary-name" onclick="show_private();">SessionCertTimeError</a><br />
145      Session's X.509 Cert.
146    </td>
147  </tr>
148<tr class="private">
149    <td width="15%" align="right" valign="top" class="summary">
150      <span class="summary-type">&nbsp;</span>
151    </td><td class="summary">
152        <a href="ndg.security.common.SessionMgr.SessionExpired-class.html" class="summary-name" onclick="show_private();">SessionExpired</a><br />
153      Session's X.509 Cert.
154    </td>
155  </tr>
156<tr class="private">
157    <td width="15%" align="right" valign="top" class="summary">
158      <span class="summary-type">&nbsp;</span>
159    </td><td class="summary">
160        <a href="ndg.security.common.SessionMgr.InvalidSession-class.html" class="summary-name" onclick="show_private();">InvalidSession</a><br />
161      Session is invalid
162    </td>
163  </tr>
164<tr class="private">
165    <td width="15%" align="right" valign="top" class="summary">
166      <span class="summary-type">&nbsp;</span>
167    </td><td class="summary">
168        <a href="ndg.security.common.SessionMgr.InvalidAttAuthorityClientCtx-class.html" class="summary-name" onclick="show_private();">InvalidAttAuthorityClientCtx</a><br />
169      Attribute Authority ZSI Client is not initialised
170    </td>
171  </tr>
172<tr class="private">
173    <td width="15%" align="right" valign="top" class="summary">
174      <span class="summary-type">&nbsp;</span>
175    </td><td class="summary">
176        <a href="ndg.security.common.SessionMgr.AttributeRequestDenied-class.html" class="summary-name" onclick="show_private();">AttributeRequestDenied</a><br />
177      Raise when a getAttCert call to the Attribute Authority is denied
178    </td>
179  </tr>
180<tr class="private">
181    <td width="15%" align="right" valign="top" class="summary">
182      <span class="summary-type">&nbsp;</span>
183    </td><td class="summary">
184        <a href="ndg.security.common.SessionMgr.SessionMgrClient-class.html" class="summary-name" onclick="show_private();">SessionMgrClient</a><br />
185      Client interface to Session Manager Web Service
186    </td>
187  </tr>
188</table>
189<!-- ==================== VARIABLES ==================== -->
190<a name="section-Variables"></a>
191<table class="summary" border="1" cellpadding="3"
192       cellspacing="0" width="100%" bgcolor="white">
193<tr bgcolor="#70b0f0" class="table-header">
194  <td colspan="2" class="table-header">
195    <table border="0" cellpadding="0" cellspacing="0" width="100%">
196      <tr valign="top">
197        <td align="left"><span class="table-header">Variables</span></td>
198        <td align="right" valign="top"
199         ><span class="options">[<a href="#section-Variables"
200         class="privatelink" onclick="toggle_private();"
201         >hide private</a>]</span></td>
202      </tr>
203    </table>
204  </td>
205</tr>
206<tr class="private">
207    <td width="15%" align="right" valign="top" class="summary">
208      <span class="summary-type">&nbsp;</span>
209    </td><td class="summary">
210        <a href="ndg.security.common.SessionMgr-module.html#__revision__" class="summary-name" onclick="show_private();">__revision__</a> = <code title="&quot;$Id: __init__.py 4129 2008-08-20 13:03:20Z cbyrom $&quot;">&quot;$Id: __init__.py 4129 2008-08-20 13:03:20Z cby<code class="variable-ellipsis">...</code></code>
211    </td>
212  </tr>
213<tr class="private">
214    <td width="15%" align="right" valign="top" class="summary">
215      <span class="summary-type">&nbsp;</span>
216    </td><td class="summary">
217        <a name="log"></a><span class="summary-name">log</span> = <code title="logging.getLogger(__name__)">logging.getLogger(__name__)</code>
218    </td>
219  </tr>
220</table>
221<!-- ==================== VARIABLES DETAILS ==================== -->
222<a name="section-VariablesDetails"></a>
223<table class="details" border="1" cellpadding="3"
224       cellspacing="0" width="100%" bgcolor="white">
225<tr bgcolor="#70b0f0" class="table-header">
226  <td colspan="2" class="table-header">
227    <table border="0" cellpadding="0" cellspacing="0" width="100%">
228      <tr valign="top">
229        <td align="left"><span class="table-header">Variables Details</span></td>
230        <td align="right" valign="top"
231         ><span class="options">[<a href="#section-VariablesDetails"
232         class="privatelink" onclick="toggle_private();"
233         >hide private</a>]</span></td>
234      </tr>
235    </table>
236  </td>
237</tr>
238</table>
239<a name="__revision__"></a>
240<div class="private">
241<table class="details" border="1" cellpadding="3"
242       cellspacing="0" width="100%" bgcolor="white">
243<tr><td>
244  <h3 class="epydoc">__revision__</h3>
245 
246  <dl class="fields">
247  </dl>
248  <dl class="fields">
249    <dt>Value:</dt>
250      <dd><table><tr><td><pre class="variable">
251&quot;$Id: __init__.py 4129 2008-08-20 13:03:20Z cbyrom $&quot;
252</pre></td></tr></table>
253</dd>
254  </dl>
255</td></tr></table>
256</div>
257<br />
258<!-- ==================== NAVIGATION BAR ==================== -->
259<table class="navbar" border="0" width="100%" cellpadding="0"
260       bgcolor="#a0c0ff" cellspacing="0">
261  <tr valign="middle">
262  <!-- Home link -->
263      <th>&nbsp;&nbsp;&nbsp;<a
264        href="ndg-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
265
266  <!-- Tree link -->
267      <th>&nbsp;&nbsp;&nbsp;<a
268        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
269
270  <!-- Index link -->
271      <th>&nbsp;&nbsp;&nbsp;<a
272        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
273
274  <!-- Help link -->
275      <th>&nbsp;&nbsp;&nbsp;<a
276        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
277
278  <!-- Project homepage -->
279      <th class="navbar" align="right" width="100%">
280        <table border="0" cellpadding="0" cellspacing="0">
281          <tr><th class="navbar" align="center"
282            >NDG Security</th>
283          </tr></table></th>
284  </tr>
285</table>
286<table border="0" cellpadding="0" cellspacing="0" width="100%%">
287  <tr>
288    <td align="left" class="footer">
289    <a href="epydoc-log.html">Generated by Epydoc
290    3.0.1 on Thu Sep  4 09:37:40 2008</a>
291    </td>
292    <td align="right" class="footer">
293      <a target="mainFrame" href="http://epydoc.sourceforge.net"
294        >http://epydoc.sourceforge.net</a>
295    </td>
296  </tr>
297</table>
298
299<script type="text/javascript">
300  <!--
301  // Private objects are initially displayed (because if
302  // javascript is turned off then we want them to be
303  // visible); but by default, we want to hide them.  So hide
304  // them unless we have a cookie that says to show them.
305  checkCookie();
306  // -->
307</script>
308</body>
309</html>
Note: See TracBrowser for help on using the repository browser.