SASL_GETPROP(3SASL) | Simple Authentication Security Layer Library Functions | SASL_GETPROP(3SASL) |
sasl_getprop - get a SASL property
cc [ flag ... ] file ... -lsasl [ library ... ] #include <sasl/sasl.h> int sasl_getprop(sasl_conn_t *conn, int propnum, const void **pvalue);
Use the sasl_getprop() interface to get the value of a SASL property. For example, after successful authentication, a server may want to know the authorization name. Similarly, a client application may want to know the strength of the security level that was negotiated.
conn
propnum
pvalue
SASL_USERNAME
SASL_SSF
SASL_MAXOUTBUF
SASL_DEFUSERREALM
SASL_GETOPTCTX
SASL_IPLOCALPORT
SASL_IPREMOTEPORT
SASL_SERVICE
SASL_SERVERFQDN
SASL_AUTHSOURCE
SASL_MECHNAME
SASL_PLUGERR
SASL_OK
See sasl_errors(3SASL) for information on SASL error codes.
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Evolving |
MT-Level | MT-Safe |
October 14, 2003 | OmniOS |