FARGOS/VISTA Object Management Environment Core  ..
FARGOS/VISTA Object Management Environment Core Table of Contents
OMEobjACL.cpp File Reference
#include <stdio.h>
#include <OMEobjACL.h>
#include <OMEtype.h>
#include <OMEthread.h>
#include <OMEcrypto.h>
#include <OMEcore.h>
#include <utils/logging/logging_api.hpp>

Macros

#define THIS_COMPONENT   app
 

Typedefs

typedef class OMEuserInfo * OMEuserInfoP
 

Functions

bool OMEverifyUserPassword (const char *userName, const char *password)
 
int OMEgetSystemUser (OMEstring &sysUser, OMEstring &sysPw)
 
void OMEaddToACL (OMEassoc &result, const OMEstring &entity, uint_fast32_t defaultPermission, const OMEassoc &methodList)
 
OMEassocOMEmakeACL (const OMEstring &entity, uint_fast32_t defaultPermission, const OMEassoc &methodList)
 
bool OMEcheckACL (const OMEassoc &acl, const OMEstring &methodName, const OMEthread *threadData)
 
int createACLthatAllowsOthers (OMEthread *thread, OMEtype &result, const OMEtype &args)
 
int createACLthatDisallowsOthers (OMEthread *thread, OMEtype &result, const OMEtype &args)
 
int makeDefaultACL (OMEthread *thread, OMEtype &result)
 
int makePermitEveryoneACL (OMEthread *thread, OMEtype &result)
 
int addUserToACL (OMEthread *thread, OMEtype &result, const OMEtype &acl, const OMEtype &user, const OMEtype &methods)
 
int createNewOIDthatOnlyAllowsOthers (OMEthread *thread, OMEtype &result, const OMEtype &args)
 
int becomeUser (OMEthread *thread, OMEtype &result, const OMEtype &userName, const OMEtype &password)
 
int becomePseudoUser (OMEthread *thread, OMEtype &result)
 
bool OMEcheckResourceAccess (OMEthread *thread, const OMEstring &resourceName)
 
void OMEclearUserIDtable ()
 

Variables

int OMEnoACLS
 

Macro Definition Documentation

◆ THIS_COMPONENT

#define THIS_COMPONENT   app

Typedef Documentation

◆ OMEuserInfoP

typedef class OMEuserInfo* OMEuserInfoP

Function Documentation

◆ OMEcheckACL()

bool OMEcheckACL ( const OMEassoc acl,
const OMEstring methodName,
const OMEthread threadData 
)

◆ OMEgetSystemUser()

int OMEgetSystemUser ( OMEstring sysUser,
OMEstring sysPw 
)

◆ OMEverifyUserPassword()

bool OMEverifyUserPassword ( const char *  userName,
const char *  password 
)

Variable Documentation

◆ OMEnoACLS

int OMEnoACLS
Generated: Tue Jul 28 2020 16:03:26
Support Information