#include "lcas_config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "lcas_modules.h"
Include dependency graph for lcas_plugin_example.c:
Go to the source code of this file.
Functions | |
int | plugin_initialize (int argc, char **argv) |
initialize the plugin. More... | |
int | plugin_confirm_authorization (lcas_request_t request, lcas_cred_id_t lcas_cred) |
******************************************************************************. More... | |
int | plugin_terminate () |
Whatever is needed to terminate the plugin module goes in here. More... |
Definition in file lcas_plugin_example.c.
|
******************************************************************************.
Ask for authorization by passing the RSL (later JDL) and the user credential. The user credential will contain information on the role the user wants to have. In the RSL (JDL) the user might specify the resources he wants to use. The authorization decision has to be made using this information. The LCAS provides no library for parsing the RSL (JDL).
Definition at line 132 of file lcas_plugin_example.c. |
|
initialize the plugin.
Everything that is needed to initialize the plugin should be put inside this function. Arguments as read from the LCAS database (argc, argv) are passed to the plugin.
Definition at line 84 of file lcas_plugin_example.c. |
|
Whatever is needed to terminate the plugin module goes in here.
Definition at line 186 of file lcas_plugin_example.c. |