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

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/documentation/epydoc/ndg.security.server.MyProxy.CmdLineClient-class.html@4245
Revision 4245, 26.2 KB checked in by pjkersha, 12 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.MyProxy.CmdLineClient</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.MyProxy-module.html">Module&nbsp;MyProxy</a> ::
49        Class&nbsp;CmdLineClient
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 CmdLineClient</h1><p class="nomargin-top"><span class="codelink"><a href="ndg.security.server.MyProxy-pysrc.html#CmdLineClient">source&nbsp;code</a></span></p>
63<center>
64<center>  <map id="uml_class_diagram_for_ndg_secu_200" name="uml_class_diagram_for_ndg_secu_200">
65<area shape="rect" href="ndg.security.server.MyProxy.CmdLineClient&#45;class.html#run" title="ndg.security.server.MyProxy.CmdLineClient.run" alt="" coords="17,28,188,47"/>
66<area shape="rect" href="ndg.security.server.MyProxy.CmdLineClient&#45;class.html#initOpts" title="ndg.security.server.MyProxy.CmdLineClient.initOpts" alt="" coords="17,47,188,66"/>
67<area shape="rect" href="ndg.security.server.MyProxy.CmdLineClient&#45;class.html#cmdUsage" title="ndg.security.server.MyProxy.CmdLineClient.cmdUsage" alt="" coords="17,66,188,84"/>
68<area shape="rect" href="ndg.security.server.MyProxy.CmdLineClient&#45;class.html#usage" title="ndg.security.server.MyProxy.CmdLineClient.usage" alt="" coords="17,84,188,103"/>
69<area shape="rect" href="ndg.security.server.MyProxy.CmdLineClient&#45;class.html#version" title="ndg.security.server.MyProxy.CmdLineClient.version" alt="" coords="17,103,188,122"/>
70<area shape="rect" href="ndg.security.server.MyProxy.CmdLineClient&#45;class.html#__init__" title="Parse the command line and run the appropriate command" alt="" coords="17,124,188,143"/>
71<area shape="rect" href="ndg.security.server.MyProxy.CmdLineClient&#45;class.html#runGetDelegation" title="Call MyProxyClient.getDelegation" alt="" coords="17,143,188,162"/>
72<area shape="rect" href="ndg.security.server.MyProxy.CmdLineClient&#45;class.html#runLogon" title="Call MyProxyClient.logon" alt="" coords="17,162,188,180"/>
73<area shape="rect" href="ndg.security.server.MyProxy.CmdLineClient&#45;class.html#runChangePassphrase" title="Call MyProxyClient.changePassphrase" alt="" coords="17,180,188,199"/>
74<area shape="rect" href="ndg.security.server.MyProxy.CmdLineClient&#45;class.html#runInfo" title="Call MyProxyClient.info" alt="" coords="17,199,188,218"/>
75<area shape="rect" href="ndg.security.server.MyProxy.CmdLineClient&#45;class.html#runDestroy" title="Call MyProxyClient.destroy" alt="" coords="17,218,188,236"/>
76<area shape="rect" href="ndg.security.server.MyProxy.CmdLineClient&#45;class.html#runStore" title="ndg.security.server.MyProxy.CmdLineClient.runStore" alt="" coords="17,236,188,255"/>
77<area shape="rect" href="ndg.security.server.MyProxy.CmdLineClient&#45;class.html" title="Command line interface to MyProxyClient class." alt="" coords="16,11,189,256"/>
78</map>
79  <img src="uml_class_diagram_for_ndg_secu_200.gif" alt='' usemap="#uml_class_diagram_for_ndg_secu_200" ismap="ismap" class="graph-without-title" />
80</center>
81</center>
82<hr />
83<p>Command line interface to MyProxyClient class.  Where possible it
84  supports the same options as the Globus myproxy-* client commands</p>
85
86<!-- ==================== INSTANCE METHODS ==================== -->
87<a name="section-InstanceMethods"></a>
88<table class="summary" border="1" cellpadding="3"
89       cellspacing="0" width="100%" bgcolor="white">
90<tr bgcolor="#70b0f0" class="table-header">
91  <td colspan="2" class="table-header">
92    <table border="0" cellpadding="0" cellspacing="0" width="100%">
93      <tr valign="top">
94        <td align="left"><span class="table-header">Instance Methods</span></td>
95        <td align="right" valign="top"
96         ><span class="options">[<a href="#section-InstanceMethods"
97         class="privatelink" onclick="toggle_private();"
98         >hide private</a>]</span></td>
99      </tr>
100    </table>
101  </td>
102</tr>
103<tr>
104    <td width="15%" align="right" valign="top" class="summary">
105      <span class="summary-type">&nbsp;</span>
106    </td><td class="summary">
107      <table width="100%" cellpadding="0" cellspacing="0" border="0">
108        <tr>
109          <td><span class="summary-sig"><a href="ndg.security.server.MyProxy.CmdLineClient-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>)</span><br />
110      Parse the command line and run the appropriate command</td>
111          <td align="right" valign="top">
112            <span class="codelink"><a href="ndg.security.server.MyProxy-pysrc.html#CmdLineClient.__init__">source&nbsp;code</a></span>
113           
114          </td>
115        </tr>
116      </table>
117     
118    </td>
119  </tr>
120<tr class="private">
121    <td width="15%" align="right" valign="top" class="summary">
122      <span class="summary-type">&nbsp;</span>
123    </td><td class="summary">
124      <table width="100%" cellpadding="0" cellspacing="0" border="0">
125        <tr>
126          <td><span class="summary-sig"><a name="_addGenericOpts"></a><span class="summary-sig-name">_addGenericOpts</span>(<span class="summary-sig-arg">self</span>)</span><br />
127      Generic options applying to all commands</td>
128          <td align="right" valign="top">
129            <span class="codelink"><a href="ndg.security.server.MyProxy-pysrc.html#CmdLineClient._addGenericOpts">source&nbsp;code</a></span>
130           
131          </td>
132        </tr>
133      </table>
134     
135    </td>
136  </tr>
137<tr class="private">
138    <td width="15%" align="right" valign="top" class="summary">
139      <span class="summary-type">&nbsp;</span>
140    </td><td class="summary">
141      <table width="100%" cellpadding="0" cellspacing="0" border="0">
142        <tr>
143          <td><span class="summary-sig"><a name="_addInfoOpts"></a><span class="summary-sig-name">_addInfoOpts</span>(<span class="summary-sig-arg">self</span>)</span><br />
144      Add command line options for info</td>
145          <td align="right" valign="top">
146            <span class="codelink"><a href="ndg.security.server.MyProxy-pysrc.html#CmdLineClient._addInfoOpts">source&nbsp;code</a></span>
147           
148          </td>
149        </tr>
150      </table>
151     
152    </td>
153  </tr>
154<tr class="private">
155    <td width="15%" align="right" valign="top" class="summary">
156      <span class="summary-type">&nbsp;</span>
157    </td><td class="summary">
158      <table width="100%" cellpadding="0" cellspacing="0" border="0">
159        <tr>
160          <td><span class="summary-sig"><a name="_addLogonOpts"></a><span class="summary-sig-name">_addLogonOpts</span>(<span class="summary-sig-arg">self</span>)</span><br />
161      Add command line options for logon</td>
162          <td align="right" valign="top">
163            <span class="codelink"><a href="ndg.security.server.MyProxy-pysrc.html#CmdLineClient._addLogonOpts">source&nbsp;code</a></span>
164           
165          </td>
166        </tr>
167      </table>
168     
169    </td>
170  </tr>
171<tr class="private">
172    <td width="15%" align="right" valign="top" class="summary">
173      <span class="summary-type">&nbsp;</span>
174    </td><td class="summary">
175      <table width="100%" cellpadding="0" cellspacing="0" border="0">
176        <tr>
177          <td><span class="summary-sig"><a name="_addGetDelegationOpts"></a><span class="summary-sig-name">_addGetDelegationOpts</span>(<span class="summary-sig-arg">self</span>)</span><br />
178      Add command line options for Get Delegation</td>
179          <td align="right" valign="top">
180            <span class="codelink"><a href="ndg.security.server.MyProxy-pysrc.html#CmdLineClient._addGetDelegationOpts">source&nbsp;code</a></span>
181           
182          </td>
183        </tr>
184      </table>
185     
186    </td>
187  </tr>
188<tr class="private">
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="_addDestroyOpts"></a><span class="summary-sig-name">_addDestroyOpts</span>(<span class="summary-sig-arg">self</span>)</span><br />
195      Add command line options for destroy</td>
196          <td align="right" valign="top">
197            <span class="codelink"><a href="ndg.security.server.MyProxy-pysrc.html#CmdLineClient._addDestroyOpts">source&nbsp;code</a></span>
198           
199          </td>
200        </tr>
201      </table>
202     
203    </td>
204  </tr>
205<tr class="private">
206    <td width="15%" align="right" valign="top" class="summary">
207      <span class="summary-type">&nbsp;</span>
208    </td><td class="summary">
209      <table width="100%" cellpadding="0" cellspacing="0" border="0">
210        <tr>
211          <td><span class="summary-sig"><a name="_addChangePassphraseOpts"></a><span class="summary-sig-name">_addChangePassphraseOpts</span>(<span class="summary-sig-arg">self</span>)</span><br />
212      Add command line options for change pass-phrase</td>
213          <td align="right" valign="top">
214            <span class="codelink"><a href="ndg.security.server.MyProxy-pysrc.html#CmdLineClient._addChangePassphraseOpts">source&nbsp;code</a></span>
215           
216          </td>
217        </tr>
218      </table>
219     
220    </td>
221  </tr>
222<tr class="private">
223    <td width="15%" align="right" valign="top" class="summary">
224      <span class="summary-type">&nbsp;</span>
225    </td><td class="summary">
226      <table width="100%" cellpadding="0" cellspacing="0" border="0">
227        <tr>
228          <td><span class="summary-sig"><a name="_addStoreOpts"></a><span class="summary-sig-name">_addStoreOpts</span>(<span class="summary-sig-arg">self</span>)</span><br />
229      Add command line options for store</td>
230          <td align="right" valign="top">
231            <span class="codelink"><a href="ndg.security.server.MyProxy-pysrc.html#CmdLineClient._addStoreOpts">source&nbsp;code</a></span>
232           
233          </td>
234        </tr>
235      </table>
236     
237    </td>
238  </tr>
239<tr>
240    <td width="15%" align="right" valign="top" class="summary">
241      <span class="summary-type">&nbsp;</span>
242    </td><td class="summary">
243      <table width="100%" cellpadding="0" cellspacing="0" border="0">
244        <tr>
245          <td><span class="summary-sig"><a name="runGetDelegation"></a><span class="summary-sig-name">runGetDelegation</span>(<span class="summary-sig-arg">self</span>)</span><br />
246      Call MyProxyClient.getDelegation</td>
247          <td align="right" valign="top">
248            <span class="codelink"><a href="ndg.security.server.MyProxy-pysrc.html#CmdLineClient.runGetDelegation">source&nbsp;code</a></span>
249           
250          </td>
251        </tr>
252      </table>
253     
254    </td>
255  </tr>
256<tr>
257    <td width="15%" align="right" valign="top" class="summary">
258      <span class="summary-type">&nbsp;</span>
259    </td><td class="summary">
260      <table width="100%" cellpadding="0" cellspacing="0" border="0">
261        <tr>
262          <td><span class="summary-sig"><a name="runLogon"></a><span class="summary-sig-name">runLogon</span>(<span class="summary-sig-arg">self</span>)</span><br />
263      Call MyProxyClient.logon</td>
264          <td align="right" valign="top">
265            <span class="codelink"><a href="ndg.security.server.MyProxy-pysrc.html#CmdLineClient.runLogon">source&nbsp;code</a></span>
266           
267          </td>
268        </tr>
269      </table>
270     
271    </td>
272  </tr>
273<tr>
274    <td width="15%" align="right" valign="top" class="summary">
275      <span class="summary-type">&nbsp;</span>
276    </td><td class="summary">
277      <table width="100%" cellpadding="0" cellspacing="0" border="0">
278        <tr>
279          <td><span class="summary-sig"><a name="runChangePassphrase"></a><span class="summary-sig-name">runChangePassphrase</span>(<span class="summary-sig-arg">self</span>)</span><br />
280      Call MyProxyClient.changePassphrase</td>
281          <td align="right" valign="top">
282            <span class="codelink"><a href="ndg.security.server.MyProxy-pysrc.html#CmdLineClient.runChangePassphrase">source&nbsp;code</a></span>
283           
284          </td>
285        </tr>
286      </table>
287     
288    </td>
289  </tr>
290<tr>
291    <td width="15%" align="right" valign="top" class="summary">
292      <span class="summary-type">&nbsp;</span>
293    </td><td class="summary">
294      <table width="100%" cellpadding="0" cellspacing="0" border="0">
295        <tr>
296          <td><span class="summary-sig"><a name="runInfo"></a><span class="summary-sig-name">runInfo</span>(<span class="summary-sig-arg">self</span>)</span><br />
297      Call MyProxyClient.info</td>
298          <td align="right" valign="top">
299            <span class="codelink"><a href="ndg.security.server.MyProxy-pysrc.html#CmdLineClient.runInfo">source&nbsp;code</a></span>
300           
301          </td>
302        </tr>
303      </table>
304     
305    </td>
306  </tr>
307<tr>
308    <td width="15%" align="right" valign="top" class="summary">
309      <span class="summary-type">&nbsp;</span>
310    </td><td class="summary">
311      <table width="100%" cellpadding="0" cellspacing="0" border="0">
312        <tr>
313          <td><span class="summary-sig"><a name="runDestroy"></a><span class="summary-sig-name">runDestroy</span>(<span class="summary-sig-arg">self</span>)</span><br />
314      Call MyProxyClient.destroy</td>
315          <td align="right" valign="top">
316            <span class="codelink"><a href="ndg.security.server.MyProxy-pysrc.html#CmdLineClient.runDestroy">source&nbsp;code</a></span>
317           
318          </td>
319        </tr>
320      </table>
321     
322    </td>
323  </tr>
324<tr>
325    <td width="15%" align="right" valign="top" class="summary">
326      <span class="summary-type">&nbsp;</span>
327    </td><td class="summary">
328      <table width="100%" cellpadding="0" cellspacing="0" border="0">
329        <tr>
330          <td><span class="summary-sig"><a name="runStore"></a><span class="summary-sig-name">runStore</span>(<span class="summary-sig-arg">self</span>)</span></td>
331          <td align="right" valign="top">
332            <span class="codelink"><a href="ndg.security.server.MyProxy-pysrc.html#CmdLineClient.runStore">source&nbsp;code</a></span>
333           
334          </td>
335        </tr>
336      </table>
337     
338    </td>
339  </tr>
340  <tr>
341    <td colspan="2" class="summary">
342    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
343      <code>__delattr__</code>,
344      <code>__getattribute__</code>,
345      <code>__hash__</code>,
346      <code>__new__</code>,
347      <code>__reduce__</code>,
348      <code>__reduce_ex__</code>,
349      <code>__repr__</code>,
350      <code>__setattr__</code>,
351      <code>__str__</code>
352      </p>
353    </td>
354  </tr>
355</table>
356<!-- ==================== CLASS VARIABLES ==================== -->
357<a name="section-ClassVariables"></a>
358<table class="summary" border="1" cellpadding="3"
359       cellspacing="0" width="100%" bgcolor="white">
360<tr bgcolor="#70b0f0" class="table-header">
361  <td colspan="2" class="table-header">
362    <table border="0" cellpadding="0" cellspacing="0" width="100%">
363      <tr valign="top">
364        <td align="left"><span class="table-header">Class Variables</span></td>
365        <td align="right" valign="top"
366         ><span class="options">[<a href="#section-ClassVariables"
367         class="privatelink" onclick="toggle_private();"
368         >hide private</a>]</span></td>
369      </tr>
370    </table>
371  </td>
372</tr>
373<tr>
374    <td width="15%" align="right" valign="top" class="summary">
375      <span class="summary-type">&nbsp;</span>
376    </td><td class="summary">
377        <a href="ndg.security.server.MyProxy.CmdLineClient-class.html#run" class="summary-name">run</a> = <code title="{'info': 'runInfo', 'logon': 'runLogon', 'get-delegation': 'runGetDele\
378gation', 'destroy': 'runDestroy', 'change-pass': 'runChangePassphrase'\
379, 'store': 'runStore'}">{'info': 'runInfo', 'logon': 'runLogon', 'get-delegation<code class="variable-ellipsis">...</code></code>
380    </td>
381  </tr>
382<tr>
383    <td width="15%" align="right" valign="top" class="summary">
384      <span class="summary-type">&nbsp;</span>
385    </td><td class="summary">
386        <a href="ndg.security.server.MyProxy.CmdLineClient-class.html#initOpts" class="summary-name">initOpts</a> = <code title="{'info': '_addInfoOpts', 'logon': '_addLogonOpts', 'get-delegation': '\
387_addGetDelegationOpts', 'destroy': '_addDestroyOpts', 'change-pass': '\
388_addChangePassphraseOpts', 'store': '_addStoreOpts'}">{'info': '_addInfoOpts', 'logon': '_addLogonOpts', <code class="variable-ellipsis">...</code></code>
389    </td>
390  </tr>
391<tr>
392    <td width="15%" align="right" valign="top" class="summary">
393      <span class="summary-type">&nbsp;</span>
394    </td><td class="summary">
395        <a href="ndg.security.server.MyProxy.CmdLineClient-class.html#cmdUsage" class="summary-name">cmdUsage</a> = <code title="{'info': &quot;usage: %prog info arg1 arg2&quot;, 'logon': &quot;usage: %prog logon a\
396rg1 arg2&quot;, 'get-delegation': &quot;usage: %prog get-delegation arg1 arg2&quot;, \
397'destroy': &quot;usage: %prog destroy arg1 arg2&quot;, 'change-pass': &quot;usage: %p\
398rog change-pass arg1 arg2&quot;, 'store': &quot;usage: %prog store arg1 arg2&quot;}">{'info': &quot;usage: %prog info arg1 arg2&quot;, 'logon': &quot;u<code class="variable-ellipsis">...</code></code>
399    </td>
400  </tr>
401<tr>
402    <td width="15%" align="right" valign="top" class="summary">
403      <span class="summary-type">&nbsp;</span>
404    </td><td class="summary">
405        <a name="usage"></a><span class="summary-name">usage</span> = <code title="&quot;usage: %prog&quot;+ &quot; [%s] arg1 arg2&quot; % '|'.join(run.keys())">&quot;usage: %prog&quot;+ &quot; [%s] arg1 arg2&quot; % '|'.join(run.keys())</code>
406    </td>
407  </tr>
408<tr>
409    <td width="15%" align="right" valign="top" class="summary">
410      <span class="summary-type">&nbsp;</span>
411    </td><td class="summary">
412        <a name="version"></a><span class="summary-name">version</span> = <code title="&quot;%prog 0.8.7&quot;">&quot;%prog 0.8.7&quot;</code>
413    </td>
414  </tr>
415</table>
416<!-- ==================== PROPERTIES ==================== -->
417<a name="section-Properties"></a>
418<table class="summary" border="1" cellpadding="3"
419       cellspacing="0" width="100%" bgcolor="white">
420<tr bgcolor="#70b0f0" class="table-header">
421  <td colspan="2" class="table-header">
422    <table border="0" cellpadding="0" cellspacing="0" width="100%">
423      <tr valign="top">
424        <td align="left"><span class="table-header">Properties</span></td>
425        <td align="right" valign="top"
426         ><span class="options">[<a href="#section-Properties"
427         class="privatelink" onclick="toggle_private();"
428         >hide private</a>]</span></td>
429      </tr>
430    </table>
431  </td>
432</tr>
433  <tr>
434    <td colspan="2" class="summary">
435    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
436      <code>__class__</code>
437      </p>
438    </td>
439  </tr>
440</table>
441<!-- ==================== METHOD DETAILS ==================== -->
442<a name="section-MethodDetails"></a>
443<table class="details" border="1" cellpadding="3"
444       cellspacing="0" width="100%" bgcolor="white">
445<tr bgcolor="#70b0f0" class="table-header">
446  <td colspan="2" class="table-header">
447    <table border="0" cellpadding="0" cellspacing="0" width="100%">
448      <tr valign="top">
449        <td align="left"><span class="table-header">Method Details</span></td>
450        <td align="right" valign="top"
451         ><span class="options">[<a href="#section-MethodDetails"
452         class="privatelink" onclick="toggle_private();"
453         >hide private</a>]</span></td>
454      </tr>
455    </table>
456  </td>
457</tr>
458</table>
459<a name="__init__"></a>
460<div>
461<table class="details" border="1" cellpadding="3"
462       cellspacing="0" width="100%" bgcolor="white">
463<tr><td>
464  <table width="100%" cellpadding="0" cellspacing="0" border="0">
465  <tr valign="top"><td>
466  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>)</span>
467    <br /><em class="fname">(Constructor)</em>
468  </h3>
469  </td><td align="right" valign="top"
470    ><span class="codelink"><a href="ndg.security.server.MyProxy-pysrc.html#CmdLineClient.__init__">source&nbsp;code</a></span>&nbsp;
471    </td>
472  </tr></table>
473 
474  <p>Parse the command line and run the appropriate command</p>
475  <dl class="fields">
476    <dt>Overrides:
477        object.__init__
478    </dt>
479  </dl>
480</td></tr></table>
481</div>
482<br />
483<!-- ==================== CLASS VARIABLE DETAILS ==================== -->
484<a name="section-ClassVariableDetails"></a>
485<table class="details" border="1" cellpadding="3"
486       cellspacing="0" width="100%" bgcolor="white">
487<tr bgcolor="#70b0f0" class="table-header">
488  <td colspan="2" class="table-header">
489    <table border="0" cellpadding="0" cellspacing="0" width="100%">
490      <tr valign="top">
491        <td align="left"><span class="table-header">Class Variable Details</span></td>
492        <td align="right" valign="top"
493         ><span class="options">[<a href="#section-ClassVariableDetails"
494         class="privatelink" onclick="toggle_private();"
495         >hide private</a>]</span></td>
496      </tr>
497    </table>
498  </td>
499</tr>
500</table>
501<a name="run"></a>
502<div>
503<table class="details" border="1" cellpadding="3"
504       cellspacing="0" width="100%" bgcolor="white">
505<tr><td>
506  <h3 class="epydoc">run</h3>
507 
508  <dl class="fields">
509  </dl>
510  <dl class="fields">
511    <dt>Value:</dt>
512      <dd><table><tr><td><pre class="variable">
513{'info': 'runInfo', 'logon': 'runLogon', 'get-delegation': 'runGetDele<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
514gation', 'destroy': 'runDestroy', 'change-pass': 'runChangePassphrase'<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
515, 'store': 'runStore'}
516</pre></td></tr></table>
517</dd>
518  </dl>
519</td></tr></table>
520</div>
521<a name="initOpts"></a>
522<div>
523<table class="details" border="1" cellpadding="3"
524       cellspacing="0" width="100%" bgcolor="white">
525<tr><td>
526  <h3 class="epydoc">initOpts</h3>
527 
528  <dl class="fields">
529  </dl>
530  <dl class="fields">
531    <dt>Value:</dt>
532      <dd><table><tr><td><pre class="variable">
533{'info': '_addInfoOpts', 'logon': '_addLogonOpts', 'get-delegation': '<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
534_addGetDelegationOpts', 'destroy': '_addDestroyOpts', 'change-pass': '<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
535_addChangePassphraseOpts', 'store': '_addStoreOpts'}
536</pre></td></tr></table>
537</dd>
538  </dl>
539</td></tr></table>
540</div>
541<a name="cmdUsage"></a>
542<div>
543<table class="details" border="1" cellpadding="3"
544       cellspacing="0" width="100%" bgcolor="white">
545<tr><td>
546  <h3 class="epydoc">cmdUsage</h3>
547 
548  <dl class="fields">
549  </dl>
550  <dl class="fields">
551    <dt>Value:</dt>
552      <dd><table><tr><td><pre class="variable">
553{'info': &quot;usage: %prog info arg1 arg2&quot;, 'logon': &quot;usage: %prog logon a<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
554rg1 arg2&quot;, 'get-delegation': &quot;usage: %prog get-delegation arg1 arg2&quot;, <span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
555'destroy': &quot;usage: %prog destroy arg1 arg2&quot;, 'change-pass': &quot;usage: %p<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
556rog change-pass arg1 arg2&quot;, 'store': &quot;usage: %prog store arg1 arg2&quot;}
557</pre></td></tr></table>
558</dd>
559  </dl>
560</td></tr></table>
561</div>
562<br />
563<!-- ==================== NAVIGATION BAR ==================== -->
564<table class="navbar" border="0" width="100%" cellpadding="0"
565       bgcolor="#a0c0ff" cellspacing="0">
566  <tr valign="middle">
567  <!-- Home link -->
568      <th>&nbsp;&nbsp;&nbsp;<a
569        href="ndg-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
570
571  <!-- Tree link -->
572      <th>&nbsp;&nbsp;&nbsp;<a
573        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
574
575  <!-- Index link -->
576      <th>&nbsp;&nbsp;&nbsp;<a
577        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
578
579  <!-- Help link -->
580      <th>&nbsp;&nbsp;&nbsp;<a
581        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
582
583  <!-- Project homepage -->
584      <th class="navbar" align="right" width="100%">
585        <table border="0" cellpadding="0" cellspacing="0">
586          <tr><th class="navbar" align="center"
587            >NDG Security</th>
588          </tr></table></th>
589  </tr>
590</table>
591<table border="0" cellpadding="0" cellspacing="0" width="100%%">
592  <tr>
593    <td align="left" class="footer">
594    <a href="epydoc-log.html">Generated by Epydoc
595    3.0.1 on Mon Sep  1 11:59:19 2008</a>
596    </td>
597    <td align="right" class="footer">
598      <a target="mainFrame" href="http://epydoc.sourceforge.net"
599        >http://epydoc.sourceforge.net</a>
600    </td>
601  </tr>
602</table>
603
604<script type="text/javascript">
605  <!--
606  // Private objects are initially displayed (because if
607  // javascript is turned off then we want them to be
608  // visible); but by default, we want to hide them.  So hide
609  // them unless we have a cookie that says to show them.
610  checkCookie();
611  // -->
612</script>
613</body>
614</html>
Note: See TracBrowser for help on using the repository browser.