#include <gssapi.h>
#include "lcmaps_types.h"
#include "lcmaps_utils.h"
Go to the source code of this file.
CREDENTIAL FUNCTIONS | |
int | lcmaps_fill_cred (char *dn, gss_cred_id_t cred, lcmaps_cred_id_t *lcmaps_credential) |
Fill cedential from distinghuished name and globus credential. More... | |
int | lcmaps_release_cred (lcmaps_cred_id_t *lcmaps_credential) |
Release the LCMAPS credential. More... | |
OTHER FUNCTIONS | |
int | lcmaps_tokenize (const char *command, char **args, int *n, char *sep) |
Break the argument string up into tokens. More... |
Definition in file _lcmaps_utils.h.
|
Fill cedential from distinghuished name and globus credential.
The LCMAPS 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 74 of file lcmaps_utils.c. |
|
Release the LCMAPS credential.
Definition at line 117 of file lcmaps_utils.c. |
|
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 464 of file lcmaps_utils.c. |