#include <gssapi.h>
#include "lcas_types.h"
#include "lcas_utils.h"
Go to the source code of this file.
CREDENTIAL FUNCTIONS | |
int | lcas_fill_cred (char *dn, gss_cred_id_t cred, lcas_cred_id_t *plcas_cred) |
Fill cedential from distinghuished name and globus credential. | |
int | lcas_release_cred (lcas_cred_id_t *plcas_cred) |
Release the LCAS credential. | |
OTHER FUNCTIONS | |
int | lcas_tokenize (const char *command, char **args, int *n, char *sep) |
Break the argument string up into tokens. |
Definition in file _lcas_utils.h.
|
Fill cedential from distinghuished name and globus credential. The LCAS credential only differs from the GLOBUS credential by the extra entry for the dn. This allows (temporarily) the passed delegated GLOBUS credential to be empty.
Definition at line 60 of file lcas_utils.c. References lcas_cred_id_s::cred, cred_to_dn(), lcas_cred_id_s::dn, and lcas_cred_id_t. Referenced by lcas_get_fabric_authorization(). |
|
Release the LCAS credential.
Definition at line 90 of file lcas_utils.c. References lcas_cred_id_s::dn, and lcas_cred_id_t. Referenced by lcas_get_fabric_authorization(). |
|
Break the argument string up into tokens. Breakup the command in to arguments, pointing the args array at the tokens. Replace white space at the end of each token with a null. A token maybe in quotes. (Copied (and modified) from GLOBUS gatekeeper.c)
Definition at line 366 of file lcas_utils.c. Referenced by lcas_setup(), and parse_args_plugin(). |