source: TI12-security/trunk/documentation/epydoc/ndg.security.server.twisted.WSSecurityHandler-class.html @ 4245

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/documentation/epydoc/ndg.security.server.twisted.WSSecurityHandler-class.html@4245
Revision 4245, 10.1 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.server.twisted.WSSecurityHandler</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.server-module.html">Package&nbsp;server</a> ::
48        <a href="ndg.security.server.twisted-module.html">Module&nbsp;twisted</a> ::
49        Class&nbsp;WSSecurityHandler
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 WSSecurityHandler</h1><p class="nomargin-top"><span class="codelink"><a href="ndg.security.server.twisted-pysrc.html#WSSecurityHandler">source&nbsp;code</a></span></p>
63<!-- ==================== CLASS METHODS ==================== -->
64<a name="section-ClassMethods"></a>
65<table class="summary" border="1" cellpadding="3"
66       cellspacing="0" width="100%" bgcolor="white">
67<tr bgcolor="#70b0f0" class="table-header">
68  <td colspan="2" class="table-header">
69    <table border="0" cellpadding="0" cellspacing="0" width="100%">
70      <tr valign="top">
71        <td align="left"><span class="table-header">Class Methods</span></td>
72        <td align="right" valign="top"
73         ><span class="options">[<a href="#section-ClassMethods"
74         class="privatelink" onclick="toggle_private();"
75         >hide private</a>]</span></td>
76      </tr>
77    </table>
78  </td>
79</tr>
80<tr>
81    <td width="15%" align="right" valign="top" class="summary">
82      <span class="summary-type">&nbsp;</span>
83    </td><td class="summary">
84      <table width="100%" cellpadding="0" cellspacing="0" border="0">
85        <tr>
86          <td><span class="summary-sig"><a href="ndg.security.server.twisted.WSSecurityHandler-class.html#processRequest" class="summary-sig-name">processRequest</a>(<span class="summary-sig-arg">cls</span>,
87        <span class="summary-sig-arg">ps</span>,
88        <span class="summary-sig-arg">**kw</span>)</span><br />
89      Callback for verifying a signature.</td>
90          <td align="right" valign="top">
91            <span class="codelink"><a href="ndg.security.server.twisted-pysrc.html#WSSecurityHandler.processRequest">source&nbsp;code</a></span>
92           
93          </td>
94        </tr>
95      </table>
96     
97    </td>
98  </tr>
99<tr>
100    <td width="15%" align="right" valign="top" class="summary">
101      <span class="summary-type">&nbsp;</span>
102    </td><td class="summary">
103      <table width="100%" cellpadding="0" cellspacing="0" border="0">
104        <tr>
105          <td><span class="summary-sig"><a href="ndg.security.server.twisted.WSSecurityHandler-class.html#processResponse" class="summary-sig-name">processResponse</a>(<span class="summary-sig-arg">cls</span>,
106        <span class="summary-sig-arg">sw</span>,
107        <span class="summary-sig-arg">**kw</span>)</span><br />
108      Callback for signing an outbound message.</td>
109          <td align="right" valign="top">
110            <span class="codelink"><a href="ndg.security.server.twisted-pysrc.html#WSSecurityHandler.processResponse">source&nbsp;code</a></span>
111           
112          </td>
113        </tr>
114      </table>
115     
116    </td>
117  </tr>
118</table>
119<!-- ==================== CLASS VARIABLES ==================== -->
120<a name="section-ClassVariables"></a>
121<table class="summary" border="1" cellpadding="3"
122       cellspacing="0" width="100%" bgcolor="white">
123<tr bgcolor="#70b0f0" class="table-header">
124  <td colspan="2" class="table-header">
125    <table border="0" cellpadding="0" cellspacing="0" width="100%">
126      <tr valign="top">
127        <td align="left"><span class="table-header">Class Variables</span></td>
128        <td align="right" valign="top"
129         ><span class="options">[<a href="#section-ClassVariables"
130         class="privatelink" onclick="toggle_private();"
131         >hide private</a>]</span></td>
132      </tr>
133    </table>
134  </td>
135</tr>
136<tr>
137    <td width="15%" align="right" valign="top" class="summary">
138      <span class="summary-type">&nbsp;</span>
139    </td><td class="summary">
140        <a name="signatureHandler"></a><span class="summary-name">signatureHandler</span> = <code title="None">None</code>
141    </td>
142  </tr>
143</table>
144<!-- ==================== METHOD DETAILS ==================== -->
145<a name="section-MethodDetails"></a>
146<table class="details" border="1" cellpadding="3"
147       cellspacing="0" width="100%" bgcolor="white">
148<tr bgcolor="#70b0f0" class="table-header">
149  <td colspan="2" class="table-header">
150    <table border="0" cellpadding="0" cellspacing="0" width="100%">
151      <tr valign="top">
152        <td align="left"><span class="table-header">Method Details</span></td>
153        <td align="right" valign="top"
154         ><span class="options">[<a href="#section-MethodDetails"
155         class="privatelink" onclick="toggle_private();"
156         >hide private</a>]</span></td>
157      </tr>
158    </table>
159  </td>
160</tr>
161</table>
162<a name="processRequest"></a>
163<div>
164<table class="details" border="1" cellpadding="3"
165       cellspacing="0" width="100%" bgcolor="white">
166<tr><td>
167  <table width="100%" cellpadding="0" cellspacing="0" border="0">
168  <tr valign="top"><td>
169  <h3 class="epydoc"><span class="sig"><span class="sig-name">processRequest</span>(<span class="sig-arg">cls</span>,
170        <span class="sig-arg">ps</span>,
171        <span class="sig-arg">**kw</span>)</span>
172    <br /><em class="fname">Class Method</em>
173  </h3>
174  </td><td align="right" valign="top"
175    ><span class="codelink"><a href="ndg.security.server.twisted-pysrc.html#WSSecurityHandler.processRequest">source&nbsp;code</a></span>&nbsp;
176    </td>
177  </tr></table>
178 
179  <p>Callback for verifying a signature.</p>
180  <dl class="fields">
181    <dt>Parameters:</dt>
182    <dd><ul class="nomargin-top">
183        <li><strong class="pname"><code>ps</code></strong> (ZSI.parse.ParsedSoap) - instance representing SOAP request Body.</li>
184    </ul></dd>
185  </dl>
186</td></tr></table>
187</div>
188<a name="processResponse"></a>
189<div>
190<table class="details" border="1" cellpadding="3"
191       cellspacing="0" width="100%" bgcolor="white">
192<tr><td>
193  <table width="100%" cellpadding="0" cellspacing="0" border="0">
194  <tr valign="top"><td>
195  <h3 class="epydoc"><span class="sig"><span class="sig-name">processResponse</span>(<span class="sig-arg">cls</span>,
196        <span class="sig-arg">sw</span>,
197        <span class="sig-arg">**kw</span>)</span>
198    <br /><em class="fname">Class Method</em>
199  </h3>
200  </td><td align="right" valign="top"
201    ><span class="codelink"><a href="ndg.security.server.twisted-pysrc.html#WSSecurityHandler.processResponse">source&nbsp;code</a></span>&nbsp;
202    </td>
203  </tr></table>
204 
205  <p>Callback for signing an outbound message.</p>
206  <dl class="fields">
207    <dt>Parameters:</dt>
208    <dd><ul class="nomargin-top">
209        <li><strong class="pname"><code>ps</code></strong> (ZSI.writer.SoapWriter) - instance representing SOAP response Body.</li>
210    </ul></dd>
211  </dl>
212</td></tr></table>
213</div>
214<br />
215<!-- ==================== NAVIGATION BAR ==================== -->
216<table class="navbar" border="0" width="100%" cellpadding="0"
217       bgcolor="#a0c0ff" cellspacing="0">
218  <tr valign="middle">
219  <!-- Home link -->
220      <th>&nbsp;&nbsp;&nbsp;<a
221        href="ndg-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
222
223  <!-- Tree link -->
224      <th>&nbsp;&nbsp;&nbsp;<a
225        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
226
227  <!-- Index link -->
228      <th>&nbsp;&nbsp;&nbsp;<a
229        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
230
231  <!-- Help link -->
232      <th>&nbsp;&nbsp;&nbsp;<a
233        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
234
235  <!-- Project homepage -->
236      <th class="navbar" align="right" width="100%">
237        <table border="0" cellpadding="0" cellspacing="0">
238          <tr><th class="navbar" align="center"
239            >NDG Security</th>
240          </tr></table></th>
241  </tr>
242</table>
243<table border="0" cellpadding="0" cellspacing="0" width="100%%">
244  <tr>
245    <td align="left" class="footer">
246    <a href="epydoc-log.html">Generated by Epydoc
247    3.0.1 on Thu Sep  4 09:37:51 2008</a>
248    </td>
249    <td align="right" class="footer">
250      <a target="mainFrame" href="http://epydoc.sourceforge.net"
251        >http://epydoc.sourceforge.net</a>
252    </td>
253  </tr>
254</table>
255
256<script type="text/javascript">
257  <!--
258  // Private objects are initially displayed (because if
259  // javascript is turned off then we want them to be
260  // visible); but by default, we want to hide them.  So hide
261  // them unless we have a cookie that says to show them.
262  checkCookie();
263  // -->
264</script>
265</body>
266</html>
Note: See TracBrowser for help on using the repository browser.