CVM

cvm-sasl


Overview

cvm-sasl is a library for programs that need to do authentication via SASL (RFC 2222). It provides a generic interface for doing the authentication using CV modules.

Configuration

To configuration an application that uses cvm-sasl, set one or more of the following environment variables to the name of a CVM that can accept the indicated type of credentials:

Name SASL Mechanism CVM Credentials
CVM_SASL_CRAM_MD5 CRAM-MD5 (RFC 2195) 2: Challenge, Response
CVM_SASL_LOGIN LOGIN 1: Plain text password
CVM_SASL_PLAIN PLAIN (RFC 2595) and LOGIN 1: Plain text password

Note: as of this writing, there are no CRAM-MD5 CVMs, so that functionality is completely untested. If $CVM_SASL_LOGIN is set, it is overrides $CVM_SASL_PLAIN for LOGIN authenticaiton.