Icinga-core 1.4.0
next gen monitoring
cgi/cgiauth.c File Reference
#include "../include/config.h"
#include "../include/common.h"
#include "../include/objects.h"
#include "../include/cgiutils.h"
#include "../include/cgiauth.h"

Go to the source code of this file.

Functions

int get_authentication_information (authdata *authinfo)
int parse_authorization_config_file (char *filename, authdata *authinfo)
int set_authz_permissions (char *permission, authdata *authinfo)
int is_authorized_for_host (host *hst, authdata *authinfo)
int is_authorized_for_hostgroup (hostgroup *hg, authdata *authinfo)
int is_authorized_for_servicegroup (servicegroup *sg, authdata *authinfo)
int is_authorized_for_read_only (authdata *authinfo)
int is_authorized_for_service (service *svc, authdata *authinfo)
int is_authorized_for_all_hosts (authdata *authinfo)
int is_authorized_for_all_services (authdata *authinfo)
int is_authorized_for_system_information (authdata *authinfo)
int is_authorized_for_configuration_information (authdata *authinfo)
int is_authorized_for_system_commands (authdata *authinfo)
int is_authorized_for_service_commands (service *svc, authdata *authinfo)
int is_authorized_for_host_commands (host *hst, authdata *authinfo)

Variables

char main_config_file [MAX_FILENAME_LENGTH]
hostgrouphostgroup_list
servicegroupservicegroup_list
int use_authentication
int use_ssl_authentication
int show_all_services_host_is_authorized_for

Function Documentation

int get_authentication_information ( authdata authinfo)

Definition at line 43 of file cgiauth.c.

int is_authorized_for_all_hosts ( authdata authinfo)

Definition at line 689 of file cgiauth.c.

int is_authorized_for_all_services ( authdata authinfo)

Definition at line 704 of file cgiauth.c.

int is_authorized_for_configuration_information ( authdata authinfo)

Definition at line 734 of file cgiauth.c.

int is_authorized_for_host ( host hst,
authdata authinfo 
)

Definition at line 309 of file cgiauth.c.

int is_authorized_for_host_commands ( host hst,
authdata authinfo 
)

Definition at line 820 of file cgiauth.c.

int is_authorized_for_hostgroup ( hostgroup hg,
authdata authinfo 
)

Definition at line 449 of file cgiauth.c.

int is_authorized_for_read_only ( authdata authinfo)

Definition at line 488 of file cgiauth.c.

int is_authorized_for_service ( service svc,
authdata authinfo 
)

Definition at line 502 of file cgiauth.c.

int is_authorized_for_service_commands ( service svc,
authdata authinfo 
)

Definition at line 764 of file cgiauth.c.

int is_authorized_for_servicegroup ( servicegroup sg,
authdata authinfo 
)

Definition at line 470 of file cgiauth.c.

int is_authorized_for_system_commands ( authdata authinfo)

Definition at line 749 of file cgiauth.c.

int is_authorized_for_system_information ( authdata authinfo)

Definition at line 719 of file cgiauth.c.

int parse_authorization_config_file ( char *  filename,
authdata authinfo 
)

Definition at line 199 of file cgiauth.c.

int set_authz_permissions ( char *  permission,
authdata authinfo 
)

Definition at line 287 of file cgiauth.c.


Variable Documentation

Definition at line 56 of file objects.c.

char main_config_file[MAX_FILENAME_LENGTH]

Definition at line 50 of file icingastats.c.

Definition at line 57 of file objects.c.

Definition at line 109 of file cgiutils.c.

Definition at line 104 of file cgiutils.c.

Definition at line 123 of file cgiutils.c.

 All Data Structures Files Functions Variables Typedefs Defines