| 1 |
<html> |
| 2 |
<body> |
| 3 |
|
| 4 |
<h2><a href="cvm.html">CVM</a></h2> |
| 5 |
|
| 6 |
<h1>The cvm-chain Module</h1> |
| 7 |
|
| 8 |
<h2>Synopsis:</h2> <p>multi-module chaining shim</p> |
| 9 |
|
| 10 |
<h2>Credentials:</h2> |
| 11 |
|
| 12 |
<p>This module passes all its input credentials to the configured client |
| 13 |
modules. <b>NOTE:</b> The version 2 client library now supports |
| 14 |
chaining internally. As such, this module is deprecated.</p> |
| 15 |
|
| 16 |
<h2>Description:</h2> |
| 17 |
|
| 18 |
<p>This module invokes a sequence of other modules. If the first module |
| 19 |
returns success (no error), the module passes the results back to its |
| 20 |
caller, otherwise it calls the second module and so on. If no module |
| 21 |
succeeds, the error code from the last module is returned.</p> |
| 22 |
|
| 23 |
<p>If any of the modules reports the <a href="facts.html">"out of scope" |
| 24 |
fact</a> in a permanent failure, this module will report it as well. |
| 25 |
The output fact will be true unless any module reported a false value. |
| 26 |
This way, if any module reports that the credentials were within its |
| 27 |
scope, so will cvm-chain.</p> |
| 28 |
|
| 29 |
<h2>Configuration Variables:</h2> |
| 30 |
|
| 31 |
<dl> |
| 32 |
|
| 33 |
<dt><tt>$CVM_CHAIN0</tt> through <tt>$CVM_CHAIN9</tt></dt> <dd>These 10 |
| 34 |
variables specify the modules to be called. They are called in order |
| 35 |
from 0 through 9, if set.</dd> |
| 36 |
|
| 37 |
</dl> |
| 38 |
|
| 39 |
<p><b>Note:</b> The previous versions of this module (not part of the |
| 40 |
main cvm package) used the environment variable <tt>$CVM_CHAIN</tt> to |
| 41 |
configure the list of modules. This will not work with this module. If |
| 42 |
you were using one of these previous versions you will need to change |
| 43 |
your configuration to match the above usage.</p> |
| 44 |
|
| 45 |
</body> |
| 46 |
</html> |