|
NAMEgss_acquire_cred —
Obtain a GSS-API credential handle for pre-existing
credentials
SYNOPSIS#include <gssapi/gssapi.h>
OM_uint32
DESCRIPTIONAllows an application to acquire a handle for a pre-existing credential by name. GSS-API implementations must impose a local access-control policy on callers of this routine to prevent unauthorized callers from acquiring credentials to which they are not entitled. This routine is not intended to provide a "login to the network" function, as such a function would involve the creation of new credentials rather than merely acquiring a handle to existing credentials. Such functions, if required, should be defined in implementation-specific extensions to the API.If desired_name is Mechanisms should honor the desired_mechs parameter, and return a credential that is suitable to use only with the requested mechanisms. An exception to this is the case where one underlying credential element can be shared by multiple mechanisms; in this case it is permissible for an implementation to indicate all mechanisms with which the credential element may be used. If desired_mechs is an empty set, behavior is undefined. This routine is expected to be used primarily by context
acceptors, since implementations are likely to provide mechanism-specific
ways of obtaining GSS-API initiator credentials from the system login
process. Some implementations may therefore not support the acquisition of
If credential acquisition is time-consuming for a mechanism, the
mechanism may choose to delay the actual acquisition until the credential is
required (e.g. by PARAMETERS
RETURN VALUES
SEE ALSOgss_accept_sec_context(3), gss_init_sec_context(3), gss_inquire_context(3), gss_inquire_cred(3), gss_release_cred(3), gss_release_oid_set(3)STANDARDS
HISTORYThegss_acquire_cred function first appeared in
FreeBSD 7.0.
AUTHORSJohn Wray, Iris AssociatesCOPYRIGHTCopyright (C) The Internet Society (2000). All Rights Reserved.This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to the Internet Society or other Internet organizations, except as needed for the purpose of developing Internet standards in which case the procedures for copyrights defined in the Internet Standards process must be followed, or as required to translate it into languages other than English. The limited permissions granted above are perpetual and will not be revoked by the Internet Society or its successors or assigns. This document and the information contained herein is provided on an "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Visit the GSP FreeBSD Man Page Interface. |