#include "lcmaps_config.h"
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <pwd.h>
#include <openssl/x509.h>
#include <openssl/asn1.h>
#include "gssapi.h"
#include "lcmaps_modules.h"
#include "lcmaps_arguments.h"
#include "lcmaps_cred_data.h"
#include "lcmaps_voms_utils.h"
#include "lcmaps_vo_data.h"
#include "voms_apic.h"
#include "globus_gss_assist.h"
#include "jobrep_api.h"
Go to the source code of this file.
Functions | |
int | lcmaps_get_jobrep_config (const char *, char **) |
Get the Job Repository configuration from file. More... | |
int | plugin_initialize (int argc, char **argv) |
initialize the plugin. More... | |
int | plugin_introspect (int *argc, lcmaps_argument_t **argv) |
Plugin asks for required arguments. More... | |
int | plugin_run (int argc, lcmaps_argument_t *argv) |
Gather credentials for user making use of the ordered arguments. More... | |
int | plugin_terminate () |
Whatever is needed to terminate the plugin module goes in here. More... |
Definition in file lcmaps_jobrep.c.
|
Get the Job Repository configuration from file.
This function tries to read the Job Repository configuration from the jobrep_config file. It also tests if the access bits of the file are correctly set.
Definition at line 2278 of file lcmaps_jobrep.c. Referenced by plugin_initialize. |
|
initialize the plugin. plugin_initialize(int argc, char **argv)
Everything that is needed to initialize the plugin should be put inside this function. Arguments as read from the LCMAPS database (argc, argv) are passed to the plugin.
Definition at line 453 of file lcmaps_jobrep.c. References lcmaps_get_jobrep_config. |
|
Plugin asks for required arguments. plugin_introspect(int *argc, lcmaps_argument_t **argv)
Definition at line 574 of file lcmaps_jobrep.c. |
|
Gather credentials for user making use of the ordered arguments. plugin_run(int argc, lcmaps_argument_t *argv)
Ask for credentials by passing the arguments (like JDL, globus DN, VOMS roles etc.) that were ordered earlier by the plugin_introspect() function
Definition at line 610 of file lcmaps_jobrep.c. |
|
Whatever is needed to terminate the plugin module goes in here.
Definition at line 2033 of file lcmaps_jobrep.c. |