NAME
gss_import_sec_context() — transfer a security context to another process on a single machine
SYNOPSIS
#include <gssapi.h>
OM_uint32 gss_import_sec_context (
OM_uint32 *minor_status,
const gss_buffer_t interprocess_token)
gss_ctx_id_t *context_handle)
DESCRIPTION
The
gss_import_sec_context()
routine lets a process to import a security
context established by another process. A given interprocess token may
be imported only once.
Input Parameters
- interprocess_token
Specifies the token to be transferred to target process.
Output Parameters
- context_handle
Specifies the context handle of newly reactivated context.
- minor_status
Returns a status code from the security mechanism.
STATUS CODES
The following status codes can be returned:
- GSS_S_COMPLETE
The routine was completed successfully.
- GSS_S_NO_CONTEXT
The supplied context handle did not refer to a valid context.
- GSS_S_DEFECTIVE_TOKEN
The token was invalid.
- GSS_S_UNAVAILABLE
The operation is not supported.
- GSS_S_UNAUTHORIZED
Local policy prevents the import of this context by the current process.
AUTHOR
gss_import_sec_context()
was developed by Sun Microsystems, Inc.
SEE ALSO
gss_export_sec_context(3).
The manpages for DCE-GSSAPI are included with the DCE-CoreTools product.
To see those manpages add
/opt/dce/share/man
to
MANPATH.