1 \input texinfo @c -*-texinfo-*-
6 @settitle Emacs SASL Library @value{VERSION}
9 This file describes the Emacs SASL library, version @value{VERSION}.
11 Copyright @copyright{} 2000, 2004, 2005, 2006, 2007, 2008, 2009
12 Free Software Foundation, Inc.
15 Permission is granted to copy, distribute and/or modify this document
16 under the terms of the GNU Free Documentation License, Version 1.3 or
17 any later version published by the Free Software Foundation; with no
18 Invariant Sections, with the Front-Cover texts being ``A GNU Manual,''
19 and with the Back-Cover Texts as in (a) below. A copy of the license
20 is included in the section entitled ``GNU Free Documentation License''
23 (a) The FSF's Back-Cover Text is: ``You have the freedom to copy and
24 modify this GNU manual. Buying copies from the FSF supports it in
25 developing GNU and promoting software freedom.''
27 This document is part of a collection distributed under the GNU Free
28 Documentation License. If you want to distribute this document
29 separately from the collection, you can do so by adding a copy of the
30 license to the document, as described in section 6 of the license.
36 * SASL: (sasl). The Emacs SASL library.
41 @title Emacs SASL Library @value{VERSION}
46 @vskip 0pt plus 1filll
54 SASL is a common interface to share several authentication mechanisms between
55 applications using different protocols.
62 * Overview:: What Emacs SASL library is.
63 * How to use:: Adding authentication support to your applications.
65 * Back end drivers:: Writing your own drivers.
74 @sc{sasl} is short for @dfn{Simple Authentication and Security Layer}.
75 This standard is documented in RFC2222. It provides a simple method for
76 adding authentication support to various application protocols.
78 The toplevel interface of this library is inspired by Java @sc{sasl}
79 Application Program Interface. It defines an abstraction over a series
80 of authentication mechanism drivers (@ref{Back end drivers}).
82 Back end drivers are designed to be close as possible to the
83 authentication mechanism. You can access the additional configuration
84 information anywhere from the implementation.
91 To use Emacs SASL library, please evaluate following expression at the
92 beginning of your application program.
98 If you want to check existence of sasl.el at runtime, instead you
99 can list autoload settings for functions you want.
104 There are three data types to be used for carrying a negotiated
105 security layer---a mechanism, a client parameter and an authentication
117 A mechanism (@code{sasl-mechanism} object) is a schema of the @sc{sasl}
118 authentication mechanism driver.
120 @defvar sasl-mechanisms
121 A list of mechanism names.
124 @defun sasl-find-mechanism mechanisms
126 Retrieve an appropriate mechanism.
127 This function compares @var{mechanisms} and @code{sasl-mechanisms} then
128 returns appropriate @code{sasl-mechanism} object.