|
NAMErpc_gss_set_callback —
Register a security context creation callback
LIBRARYRPC GSS-API Authentication Library (librpcsec_gss, -lrpcsec_gss)SYNOPSIS#include <rpc/rpcsec_gss.h>
bool_t
bool_t
DESCRIPTIONRegister a function which will be called when new security contexts are created on a server. This function will be called on the first RPC request which uses that context and has the opportunity of rejecting the request (for instance after matching the request credentials to an access control list). To accept the new security context, the callback should returnTRUE , otherwise FALSE . If the
callback accepts a context, it becomes responsible for the lifetime of the
delegated client credentials (if any).
It is also possible to 'lock' the values of service and quality of protection used by the context. If a context is locked, any subsequent requests which use different values for service and quality of protection will be rejected. PARAMETERS
RETURN VALUESReturnsTRUE if the callback was registered successfully
or FALSE otherwise
SEE ALSOgssapi(3), rpc(3), rpc_gss_getcred(3), rpcset_gss(3)HISTORYTherpc_gss_set_callback function first appeared in
FreeBSD 8.0.
AUTHORSThis manual page was written by Doug Rabson <dfr@FreeBSD.org>.BUGSThere is no mechanism for informing a server when a security context has been deleted. This makes it difficult to allocate resources (e.g. to return via the callback's cookie argument).
Visit the GSP FreeBSD Man Page Interface. |