source: TI12-security/trunk/documentation/epydoc/ndg.security.common.CredWallet.CredWalletAttributeRequestDenied-class.html @ 4245

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/documentation/epydoc/ndg.security.common.CredWallet.CredWalletAttributeRequestDenied-class.html@4245
Revision 4245, 19.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.CredWallet.CredWalletAttributeRequestDenied</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.CredWallet-module.html">Module&nbsp;CredWallet</a> ::
49        Class&nbsp;CredWalletAttributeRequestDenied
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 CredWalletAttributeRequestDenied</h1><p class="nomargin-top"><span class="codelink"><a href="ndg.security.common.CredWallet-pysrc.html#CredWalletAttributeRequestDenied">source&nbsp;code</a></span></p>
63<center>
64<center>  <map id="uml_class_diagram_for_ndg_secu_42" name="uml_class_diagram_for_ndg_secu_42">
65<area shape="rect" href="ndg.security.common.CredWallet.CredWalletError&#45;class.html" title="Exception handling for NDG Credential Wallet class." alt="" coords="72,403,171,435"/>
66<area shape="rect" href="ndg.security.common.CredWallet.CredWalletAttributeRequestDenied&#45;class.html#trustedHostInfo" title="ndg.security.common.CredWallet.CredWalletAttributeRequestDenied.trustedHostInfo" alt="" coords="17,481,225,500"/>
67<area shape="rect" href="ndg.security.common.CredWallet.CredWalletAttributeRequestDenied&#45;class.html#extAttCertList" title="ndg.security.common.CredWallet.CredWalletAttributeRequestDenied.extAttCertList" alt="" coords="17,500,225,519"/>
68<area shape="rect" href="ndg.security.common.CredWallet.CredWalletAttributeRequestDenied&#45;class.html#__init__" title="Raise exception for attribute request denied with option to give caller &#160;hint to certificates that could used to try to obtain a mapped certificate" alt="" coords="17,521,225,540"/>
69<area shape="rect" href="ndg.security.common.CredWallet.CredWalletAttributeRequestDenied&#45;class.html" title="Handling exception where CredWallet is denied authorisation by an Attribute Authority." alt="" coords="16,464,227,541"/>
70<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="43,28,200,47"/>
71<area shape="rect" href="javascript:void(0);" title="exception message" alt="" coords="43,47,200,65"/>
72<area shape="rect" href="javascript:void(0);" title="x.__delattr__(&#39;name&#39;) &lt;==&gt; del x.name" alt="" coords="43,68,200,87"/>
73<area shape="rect" href="javascript:void(0);" title="x.__getattribute__(&#39;name&#39;) &lt;==&gt; x.name" alt="" coords="43,87,200,105"/>
74<area shape="rect" href="javascript:void(0);" title="x[y]" alt="" coords="43,105,200,124"/>
75<area shape="rect" href="javascript:void(0);" title="x[i:j]" alt="" coords="43,124,200,143"/>
76<area shape="rect" href="javascript:void(0);" title="helper for pickle" alt="" coords="43,143,200,161"/>
77<area shape="rect" href="javascript:void(0);" title="repr(x)" alt="" coords="43,161,200,180"/>
78<area shape="rect" href="javascript:void(0);" title="x.__setattr__(&#39;name&#39;, value) &lt;==&gt; x.name = value" alt="" coords="43,180,200,199"/>
79<area shape="rect" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="43,199,200,217"/>
80<area shape="rect" href="javascript:void(0);" title="str(x)" alt="" coords="43,217,200,236"/>
81<area shape="rect" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="41,11,201,237"/>
82<area shape="rect" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="59,292,184,311"/>
83<area shape="rect" href="javascript:void(0);" title="Common base class for all non&#45;exit exceptions." alt="" coords="57,267,185,312"/>
84<area shape="rect" href="ndg.security.common.CredWallet._CredWalletException&#45;class.html" title="Generic Exception class for CredWallet module." alt="" coords="55,341,188,373"/>
85</map>
86  <img src="uml_class_diagram_for_ndg_secu_42.gif" alt='' usemap="#uml_class_diagram_for_ndg_secu_42" ismap="ismap" class="graph-without-title" />
87</center>
88</center>
89<hr />
90<p>Handling exception where CredWallet is denied authorisation by an
91  Attribute Authority.</p>
92
93<!-- ==================== INSTANCE METHODS ==================== -->
94<a name="section-InstanceMethods"></a>
95<table class="summary" border="1" cellpadding="3"
96       cellspacing="0" width="100%" bgcolor="white">
97<tr bgcolor="#70b0f0" class="table-header">
98  <td colspan="2" class="table-header">
99    <table border="0" cellpadding="0" cellspacing="0" width="100%">
100      <tr valign="top">
101        <td align="left"><span class="table-header">Instance Methods</span></td>
102        <td align="right" valign="top"
103         ><span class="options">[<a href="#section-InstanceMethods"
104         class="privatelink" onclick="toggle_private();"
105         >hide private</a>]</span></td>
106      </tr>
107    </table>
108  </td>
109</tr>
110<tr>
111    <td width="15%" align="right" valign="top" class="summary">
112      <span class="summary-type">&nbsp;</span>
113    </td><td class="summary">
114      <table width="100%" cellpadding="0" cellspacing="0" border="0">
115        <tr>
116          <td><span class="summary-sig"><a href="ndg.security.common.CredWallet.CredWalletAttributeRequestDenied-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
117        <span class="summary-sig-arg">*args</span>,
118        <span class="summary-sig-arg">**kw</span>)</span><br />
119      Raise exception for attribute request denied with option to give
120      caller hint to certificates that could used to try to obtain a mapped
121      certificate</td>
122          <td align="right" valign="top">
123            <span class="codelink"><a href="ndg.security.common.CredWallet-pysrc.html#CredWalletAttributeRequestDenied.__init__">source&nbsp;code</a></span>
124           
125          </td>
126        </tr>
127      </table>
128     
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      <table width="100%" cellpadding="0" cellspacing="0" border="0">
136        <tr>
137          <td><span class="summary-sig"><a name="__getTrustedHostInfo"></a><span class="summary-sig-name">__getTrustedHostInfo</span>(<span class="summary-sig-arg">self</span>)</span><br />
138      Get message text</td>
139          <td align="right" valign="top">
140            <span class="codelink"><a href="ndg.security.common.CredWallet-pysrc.html#CredWalletAttributeRequestDenied.__getTrustedHostInfo">source&nbsp;code</a></span>
141           
142          </td>
143        </tr>
144      </table>
145     
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      <table width="100%" cellpadding="0" cellspacing="0" border="0">
153        <tr>
154          <td><span class="summary-sig"><a name="__getExtAttCertList"></a><span class="summary-sig-name">__getExtAttCertList</span>(<span class="summary-sig-arg">self</span>)</span><br />
155      Return list of candidate Attribute Certificates that could be used to
156      try to get a mapped certificate from the target Attribute Authority</td>
157          <td align="right" valign="top">
158            <span class="codelink"><a href="ndg.security.common.CredWallet-pysrc.html#CredWalletAttributeRequestDenied.__getExtAttCertList">source&nbsp;code</a></span>
159           
160          </td>
161        </tr>
162      </table>
163     
164    </td>
165  </tr>
166  <tr>
167    <td colspan="2" class="summary">
168    <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.Exception</code></b>:
169      <code>__new__</code>
170      </p>
171    <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
172      <code>__delattr__</code>,
173      <code>__getattribute__</code>,
174      <code>__getitem__</code>,
175      <code>__getslice__</code>,
176      <code>__reduce__</code>,
177      <code>__repr__</code>,
178      <code>__setattr__</code>,
179      <code>__setstate__</code>,
180      <code>__str__</code>
181      </p>
182    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
183      <code>__hash__</code>,
184      <code>__reduce_ex__</code>
185      </p>
186    </td>
187  </tr>
188</table>
189<!-- ==================== CLASS VARIABLES ==================== -->
190<a name="section-ClassVariables"></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">Class Variables</span></td>
198        <td align="right" valign="top"
199         ><span class="options">[<a href="#section-ClassVariables"
200         class="privatelink" onclick="toggle_private();"
201         >hide private</a>]</span></td>
202      </tr>
203    </table>
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        <a href="ndg.security.common.CredWallet.CredWalletAttributeRequestDenied-class.html#trustedHostInfo" class="summary-name">trustedHostInfo</a> = <code title="property(fget= __getTrustedHostInfo, doc= &quot;URI and roles details for t\
211rusted hosts&quot;)">property(fget= __getTrustedHostInfo, doc= &quot;U<code class="variable-ellipsis">...</code></code>
212    </td>
213  </tr>
214<tr>
215    <td width="15%" align="right" valign="top" class="summary">
216      <span class="summary-type">&nbsp;</span>
217    </td><td class="summary">
218        <a href="ndg.security.common.CredWallet.CredWalletAttributeRequestDenied-class.html#extAttCertList" class="summary-name">extAttCertList</a> = <code title="property(fget= __getExtAttCertList, doc= &quot;list of candidate Attribute \
219&quot;+ &quot;Certificates that could be used &quot;+ &quot;to try to get a mapped certifi\
220cate &quot;+ &quot;from the target Attribute Authority&quot;)">property(fget= __getExtAttCertList, doc= &quot;lis<code class="variable-ellipsis">...</code></code>
221    </td>
222  </tr>
223</table>
224<!-- ==================== INSTANCE VARIABLES ==================== -->
225<a name="section-InstanceVariables"></a>
226<table class="summary" border="1" cellpadding="3"
227       cellspacing="0" width="100%" bgcolor="white">
228<tr bgcolor="#70b0f0" class="table-header">
229  <td colspan="2" class="table-header">
230    <table border="0" cellpadding="0" cellspacing="0" width="100%">
231      <tr valign="top">
232        <td align="left"><span class="table-header">Instance Variables</span></td>
233        <td align="right" valign="top"
234         ><span class="options">[<a href="#section-InstanceVariables"
235         class="privatelink" onclick="toggle_private();"
236         >hide private</a>]</span></td>
237      </tr>
238    </table>
239  </td>
240</tr>
241<tr class="private">
242    <td width="15%" align="right" valign="top" class="summary">
243      <span class="summary-type">list</span>
244    </td><td class="summary">
245        <a name="__extAttCertList"></a><span class="summary-name">__extAttCertList</span><br />
246      list of candidate Attribute Certificates that could be used to try to
247      get a mapped certificate from the target Attribute Authority
248    </td>
249  </tr>
250<tr class="private">
251    <td width="15%" align="right" valign="top" class="summary">
252      <span class="summary-type">dict</span>
253    </td><td class="summary">
254        <a name="__trustedHostInfo"></a><span class="summary-name">__trustedHostInfo</span><br />
255      dictionary indexed by host name giving details of Attribute Authority
256      URI and roles for trusted hosts
257    </td>
258  </tr>
259</table>
260<!-- ==================== PROPERTIES ==================== -->
261<a name="section-Properties"></a>
262<table class="summary" border="1" cellpadding="3"
263       cellspacing="0" width="100%" bgcolor="white">
264<tr bgcolor="#70b0f0" class="table-header">
265  <td colspan="2" class="table-header">
266    <table border="0" cellpadding="0" cellspacing="0" width="100%">
267      <tr valign="top">
268        <td align="left"><span class="table-header">Properties</span></td>
269        <td align="right" valign="top"
270         ><span class="options">[<a href="#section-Properties"
271         class="privatelink" onclick="toggle_private();"
272         >hide private</a>]</span></td>
273      </tr>
274    </table>
275  </td>
276</tr>
277  <tr>
278    <td colspan="2" class="summary">
279    <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
280      <code>args</code>,
281      <code>message</code>
282      </p>
283    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
284      <code>__class__</code>
285      </p>
286    </td>
287  </tr>
288</table>
289<!-- ==================== METHOD DETAILS ==================== -->
290<a name="section-MethodDetails"></a>
291<table class="details" border="1" cellpadding="3"
292       cellspacing="0" width="100%" bgcolor="white">
293<tr bgcolor="#70b0f0" class="table-header">
294  <td colspan="2" class="table-header">
295    <table border="0" cellpadding="0" cellspacing="0" width="100%">
296      <tr valign="top">
297        <td align="left"><span class="table-header">Method Details</span></td>
298        <td align="right" valign="top"
299         ><span class="options">[<a href="#section-MethodDetails"
300         class="privatelink" onclick="toggle_private();"
301         >hide private</a>]</span></td>
302      </tr>
303    </table>
304  </td>
305</tr>
306</table>
307<a name="__init__"></a>
308<div>
309<table class="details" border="1" cellpadding="3"
310       cellspacing="0" width="100%" bgcolor="white">
311<tr><td>
312  <table width="100%" cellpadding="0" cellspacing="0" border="0">
313  <tr valign="top"><td>
314  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
315        <span class="sig-arg">*args</span>,
316        <span class="sig-arg">**kw</span>)</span>
317    <br /><em class="fname">(Constructor)</em>
318  </h3>
319  </td><td align="right" valign="top"
320    ><span class="codelink"><a href="ndg.security.common.CredWallet-pysrc.html#CredWalletAttributeRequestDenied.__init__">source&nbsp;code</a></span>&nbsp;
321    </td>
322  </tr></table>
323 
324  <p>Raise exception for attribute request denied with option to give
325  caller hint to certificates that could used to try to obtain a mapped
326  certificate</p>
327  <dl class="fields">
328    <dt>Parameters:</dt>
329    <dd><ul class="nomargin-top">
330        <li><strong class="pname"><code>extAttCertList</code></strong> (list) - list of candidate Attribute Certificates that could be used to
331          try to get a mapped certificate from the target Attribute
332          Authority</li>
333        <li><strong class="pname"><code>trustedHostInfo</code></strong> (dict) - dictionary indexed by host name giving details of Attribute
334          Authority URI and roles for trusted hosts</li>
335    </ul></dd>
336    <dt>Overrides:
337        object.__init__
338    </dt>
339  </dl>
340</td></tr></table>
341</div>
342<br />
343<!-- ==================== CLASS VARIABLE DETAILS ==================== -->
344<a name="section-ClassVariableDetails"></a>
345<table class="details" border="1" cellpadding="3"
346       cellspacing="0" width="100%" bgcolor="white">
347<tr bgcolor="#70b0f0" class="table-header">
348  <td colspan="2" class="table-header">
349    <table border="0" cellpadding="0" cellspacing="0" width="100%">
350      <tr valign="top">
351        <td align="left"><span class="table-header">Class Variable Details</span></td>
352        <td align="right" valign="top"
353         ><span class="options">[<a href="#section-ClassVariableDetails"
354         class="privatelink" onclick="toggle_private();"
355         >hide private</a>]</span></td>
356      </tr>
357    </table>
358  </td>
359</tr>
360</table>
361<a name="trustedHostInfo"></a>
362<div>
363<table class="details" border="1" cellpadding="3"
364       cellspacing="0" width="100%" bgcolor="white">
365<tr><td>
366  <h3 class="epydoc">trustedHostInfo</h3>
367 
368  <dl class="fields">
369  </dl>
370  <dl class="fields">
371    <dt>Value:</dt>
372      <dd><table><tr><td><pre class="variable">
373property(fget= __getTrustedHostInfo, doc= &quot;URI and roles details for t<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
374rusted hosts&quot;)
375</pre></td></tr></table>
376</dd>
377  </dl>
378</td></tr></table>
379</div>
380<a name="extAttCertList"></a>
381<div>
382<table class="details" border="1" cellpadding="3"
383       cellspacing="0" width="100%" bgcolor="white">
384<tr><td>
385  <h3 class="epydoc">extAttCertList</h3>
386 
387  <dl class="fields">
388  </dl>
389  <dl class="fields">
390    <dt>Value:</dt>
391      <dd><table><tr><td><pre class="variable">
392property(fget= __getExtAttCertList, doc= &quot;list of candidate Attribute <span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
393&quot;+ &quot;Certificates that could be used &quot;+ &quot;to try to get a mapped certifi<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
394cate &quot;+ &quot;from the target Attribute Authority&quot;)
395</pre></td></tr></table>
396</dd>
397  </dl>
398</td></tr></table>
399</div>
400<br />
401<!-- ==================== NAVIGATION BAR ==================== -->
402<table class="navbar" border="0" width="100%" cellpadding="0"
403       bgcolor="#a0c0ff" cellspacing="0">
404  <tr valign="middle">
405  <!-- Home link -->
406      <th>&nbsp;&nbsp;&nbsp;<a
407        href="ndg-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
408
409  <!-- Tree link -->
410      <th>&nbsp;&nbsp;&nbsp;<a
411        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
412
413  <!-- Index link -->
414      <th>&nbsp;&nbsp;&nbsp;<a
415        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
416
417  <!-- Help link -->
418      <th>&nbsp;&nbsp;&nbsp;<a
419        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
420
421  <!-- Project homepage -->
422      <th class="navbar" align="right" width="100%">
423        <table border="0" cellpadding="0" cellspacing="0">
424          <tr><th class="navbar" align="center"
425            >NDG Security</th>
426          </tr></table></th>
427  </tr>
428</table>
429<table border="0" cellpadding="0" cellspacing="0" width="100%%">
430  <tr>
431    <td align="left" class="footer">
432    <a href="epydoc-log.html">Generated by Epydoc
433    3.0.1 on Thu Sep  4 09:37:43 2008</a>
434    </td>
435    <td align="right" class="footer">
436      <a target="mainFrame" href="http://epydoc.sourceforge.net"
437        >http://epydoc.sourceforge.net</a>
438    </td>
439  </tr>
440</table>
441
442<script type="text/javascript">
443  <!--
444  // Private objects are initially displayed (because if
445  // javascript is turned off then we want them to be
446  // visible); but by default, we want to hide them.  So hide
447  // them unless we have a cookie that says to show them.
448  checkCookie();
449  // -->
450</script>
451</body>
452</html>
Note: See TracBrowser for help on using the repository browser.