2 * Copyright (c) 1997-2000 Messaging Direct Ltd.
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
14 * THIS SOFTWARE IS PROVIDED BY MESSAGING DIRECT LTD. ``AS IS'' AND ANY
15 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MESSAGING DIRECT LTD. OR
18 * ITS EMPLOYEES OR AGENTS BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
20 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
21 * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
23 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
24 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
29 * mechanisms[] contains the NULL terminated list of supported
30 * authentication drivers.
34 #ident "$Id: mechanisms.c,v 1.8 2006/03/13 20:17:09 mel Exp $"
37 /* PUBLIC DEPENDENCIES */
38 #include "mechanisms.h"
41 # include "auth_dce.h"
44 # include "auth_shadow.h"
45 #endif /* AUTH_SHADOW */
47 # include "auth_sia.h"
49 #include "auth_krb4.h"
50 #include "auth_krb5.h"
51 #include "auth_getpwent.h"
52 #include "auth_sasldb.h"
53 #include "auth_rimap.h"
55 # include "auth_pam.h"
58 #include "auth_ldap.h"
61 #include "auth_httpform.h"
63 /* END PUBLIC DEPENDENCIES */
65 authmech_t mechanisms[] =
68 { "sasldb", 0, auth_sasldb },
69 #endif /* AUTH_SASLDB */
71 { "dce", 0, auth_dce },
73 { "getpwent", 0, auth_getpwent },
75 { "kerberos4", auth_krb4_init, auth_krb4 },
76 #endif /* AUTH_KRB4 */
78 { "kerberos5", auth_krb5_init, auth_krb5 },
79 #endif /* AUTH_KRB5 */
81 { "pam", 0, auth_pam },
83 { "rimap", auth_rimap_init, auth_rimap },
85 { "shadow", 0, auth_shadow },
86 #endif /* AUTH_SHADOW */
88 { "sia", 0, auth_sia },
91 { "ldap", auth_ldap_init, auth_ldap },
92 #endif /* AUTH_LDAP */
94 { "httpform", auth_httpform_init, auth_httpform },
95 #endif /* AUTH_LDAP */