1libsasl(3LIB) Interface Libraries libsasl(3LIB)
2
3
4
6 libsasl - simple authentication and security layer library
7
9 cc [ flag... ] file... -lsasl [ library... ]
10 #include <sasl/sasl.h>
11 #include <sasl/prop.h>
12 #include <sasl/saslutil.h>
13
14
16 SASL is a security framework used by connection-oriented network appli‐
17 cations primarily for authentication. Another way to describe SASL is
18 that it is a glue layer between a network application and some security
19 mechanisms that allow applications to authenticate each other and pro‐
20 vide additional security services such as data encryption. As a glue
21 layer, SASL hides the interface specifics of the security mechanism
22 from the application, which allows greater portability and flexibility
23 as new security mechanisms are implemented. SASL is similar to the
24 GSS-API in that it provides a layer of abstraction between an applica‐
25 tion and one or more security mechanisms.
26
27
28 libsasl provides both an API for applications and an SPI for various
29 plug-ins. To link with this library, specify -lsasl on the cc command
30 line.
31
33 The shared object libsasl.so.1 and associated include files provide the
34 public interfaces defined below. The *_t interfaces are function proto‐
35 types for callbacks that are defined in the public SASL header files.
36 While libsasl provides default versions for some of the callbacks, this
37 structure allows an application to define its own version of the some
38 of the callback functions.
39
40
41 See Intro(3) for additional information on shared object interfaces.
42
43
44
45
46 prop_clear prop_dispose
47 prop_dup prop_erase
48 prop_format prop_get
49 prop_getnames prop_new
50 prop_request prop_set
51 prop_setvals sasl_authorize_t
52 sasl_auxprop sasl_auxprop_add_plugin
53 sasl_auxprop_getctx sasl_auxprop_request
54 sasl_canon_user_t sasl_canonuser_add_plugin
55 sasl_chalprompt_t sasl_checkapop
56 sasl_checkpass sasl_client_add_plugin
57 sasl_client_init sasl_client_new
58 sasl_client_plug_init_t sasl_client_start
59 sasl_client_step sasl_decode
60 sasl_decode64 sasl_dispose
61 sasl_done sasl_encode
62 sasl_encode64 sasl_encodev
63 sasl_erasebuffer sasl_errdetail
64 sasl_errors sasl_errstring
65 sasl_getcallback_t sasl_getopt_t
66
67 sasl_getpath_t sasl_getprop
68 sasl_getrealm_t sasl_getsecret_t
69 sasl_getsimple_t sasl_global_listmech
70 sasl_idle sasl_listmech
71 sasl_log_t sasl_server_add_plugin
72 sasl_server_init sasl_server_new
73 sasl_server_plug_init_t sasl_server_start
74 sasl_server_step sasl_server_userdb_checkpass_t
75 sasl_server_userdb_setpass_t sasl_set_alloc
76 sasl_set_mutex sasl_seterror
77 sasl_setpass sasl_setprop
78 sasl_utf8verify sasl_verifyfile_t
79 sasl_version
80
81
83 /usr/lib/libsasl.so.1 shared object
84
85
87 See attributes(5) for descriptions of the following attributes:
88
89
90
91
92 ┌─────────────────────────────┬─────────────────────────────┐
93 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
94 ├─────────────────────────────┼─────────────────────────────┤
95 │Availability │SUNWlibsasl │
96 ├─────────────────────────────┼─────────────────────────────┤
97 │Interface Stability │Evolving │
98 └─────────────────────────────┴─────────────────────────────┘
99
101 Intro(3), attributes(5),
102
103
104
105SunOS 5.11 27 Oct 2003 libsasl(3LIB)