#include "lcmaps_types.h"
#include "_lcmaps_credential.h"
Go to the source code of this file.
Functions | |
int | startPluginManager () |
start the PluginManager | |
int | stopPluginManager () |
Terminate the PluginManager module. | |
int | runPluginManager (lcmaps_request_t request, lcmaps_cred_id_t lcmaps_cred, int npols, char **policynames) |
Run the PluginManager. | |
int | runPlugin (const char *pluginname) |
Run a plugin. | |
int | resetCredentialData () |
Reset the Credential data. |
Definition in file _lcmaps_pluginmanager.h.
|
Reset the Credential data. Wrapper around cleanCredentialData() to be used by the Evaluation Manager, before a new policy is evaluated
Definition at line 982 of file lcmaps_pluginmanager.c. References cleanCredentialData(), and lcmaps_log_debug(). Referenced by pdl_next_plugin(). |
|
Run a plugin. Run a plugin for the Evaluation Manager the result (succes or not will be passed to the Evaluation Manager)
Definition at line 1014 of file lcmaps_pluginmanager.c. References lcmaps_log(), lcmaps_log_debug(), lcmaps_log_time(), lcmaps_plugindl_t, lcmaps_plugindl_s::next, lcmaps_plugindl_s::pluginname, lcmaps_plugindl_s::procs, lcmaps_plugindl_s::run_argc, lcmaps_plugindl_s::run_argv, and RUNPROC. Referenced by runEvaluationManager(), and runPluginManager(). |
|
Run the PluginManager. This function runs the PluginManager for user mapping. Contact Evaluation Manager --> runs plugins
Definition at line 866 of file lcmaps_pluginmanager.c. References lcmaps_cred_id_t, lcmaps_extractRunVars(), lcmaps_getRunVars(), lcmaps_log(), lcmaps_log_debug(), lcmaps_plugindl_t, lcmaps_request_t, lcmaps_setArgValue(), lcmaps_plugindl_s::next, lcmaps_plugindl_s::pluginname, print_lcmaps_plugin(), lcmaps_plugindl_s::run_argc, lcmaps_plugindl_s::run_argv, runEvaluationManager(), and runPlugin(). Referenced by lcmaps_run(), lcmaps_run_and_return_poolindex(), lcmaps_run_and_return_username(), lcmaps_run_with_fqans_and_return_account(), and lcmaps_run_without_credentials_and_return_username(). |
|
start the PluginManager start the PluginManager --> load plugins, start evaluation manager
Definition at line 160 of file lcmaps_pluginmanager.c. References clean_plugin_list(), getPluginNameAndArgs(), lcmaps_db_clean(), lcmaps_db_entry_t, lcmaps_db_read(), LCMAPS_ETC_HOME, lcmaps_genfilename(), lcmaps_log(), lcmaps_log_debug(), lcmaps_log_time(), LCMAPS_MAXPATHLEN, lcmaps_plugindl_t, lcmaps_plugindl_s::next, lcmaps_db_entry_s::next, PluginInit(), lcmaps_db_entry_s::pluginname, lcmaps_plugindl_s::pluginname, print_lcmaps_plugin(), and startEvaluationManager(). Referenced by lcmaps_init_and_logfile(). |
|
Terminate the PluginManager module. stop the PluginManager --> terminate plugins, clean plugin list, (stop evaluation manager)
Definition at line 1070 of file lcmaps_pluginmanager.c. References clean_plugin_list(), cleanCredentialData(), lcmaps_log(), lcmaps_log_debug(), printCredData(), and stopEvaluationManager(). Referenced by lcmaps_term(). |