| 1 |
<html> |
| 2 |
<body> |
| 3 |
|
| 4 |
<h2><a href="cvm.html">CVM</a></h2> |
| 5 |
|
| 6 |
<h1>cvm-sasl</h1> |
| 7 |
|
| 8 |
<hr> |
| 9 |
|
| 10 |
<h2>Overview</h2> |
| 11 |
|
| 12 |
<p>cvm-sasl is a library for programs that need to do authentication |
| 13 |
via SASL (RFC 2222). It provides a generic interface for doing the |
| 14 |
authentication using CV modules.</p> |
| 15 |
|
| 16 |
<h2>Configuration</h2> |
| 17 |
|
| 18 |
<p>To configuration an application that uses cvm-sasl, set one or more |
| 19 |
of the following environment variables to the name of a CVM that can |
| 20 |
accept the indicated type of credentials:</p> |
| 21 |
|
| 22 |
<table border=1> |
| 23 |
|
| 24 |
<tr> <th>Name</th> <th>SASL Mechanism</th> <th>CVM Credentials</th> |
| 25 |
</tr> |
| 26 |
|
| 27 |
<tr> <td>CVM_SASL_CRAM_MD5</td> <td>CRAM-MD5 (RFC 2195)</td> <td>2: |
| 28 |
Challenge, Response</td> </tr> |
| 29 |
|
| 30 |
<tr> <td>CVM_SASL_LOGIN</td> <td>LOGIN</td> <td>1: Plain text |
| 31 |
password</td> </tr> |
| 32 |
|
| 33 |
<tr> <td>CVM_SASL_PLAIN</td> <td>PLAIN (RFC 2595) and LOGIN</td> |
| 34 |
<td>1: Plain text password</td> </tr> |
| 35 |
|
| 36 |
</table> |
| 37 |
|
| 38 |
<p>Note: as of this writing, there are no CRAM-MD5 CVMs, so that |
| 39 |
functionality is completely untested. If <tt>$CVM_SASL_LOGIN</tt> is |
| 40 |
set, it is overrides <tt>$CVM_SASL_PLAIN</tt> for LOGIN |
| 41 |
authenticaiton.</p> |
| 42 |
|
| 43 |
</body> |
| 44 |
</html> |