Skip to content

File authenticate_access_auth.cpp

FileList > cubrid > src > object > authenticate_access_auth.cpp

Go to the source code of this file

  • #include "authenticate_access_auth.hpp"
  • #include "authenticate.h"
  • #include "authenticate_grant.hpp"
  • #include "set_object.h"
  • #include "dbtype.h"
  • #include "error_manager.h"
  • #include "object_accessor.h"
  • #include "object_primitive.h"
  • #include "db.h"
  • #include "dbi.h"
  • #include "schema_manager.h"
  • #include "schema_system_catalog_constants.h"
  • #include "jsp_cl.h"

Classes

Type Name
struct TupleHashHelper <typename Tuple, Index>
struct TupleHashHelper< Tuple, 0 > <typename Tuple>
struct tuple_equal <typename Tuple>
struct tuple_hash <typename Tuple>

Public Types

Type Name
typedef std::tuple< MOP, MOP, MOP, DB_AUTH > AuthKey
typedef std::tuple< MOP, MOP, MOP > AuthorizationKey

Public Attributes

Type Name
const char * AU_TYPE_SET = /* multi line expression */
constexpr int AU_TYPE_SET_LEN = /* multi line expression */

Public Functions

Type Name
int au_delete_auth_of_dropping_database_object (DB_OBJECT_TYPE obj_type, const char * name)
int au_delete_auth_of_dropping_user (MOP user)
int au_delete_authorizartion_of_dropping_user (MOP user)
int au_object_owner_change_privileges (DB_OBJECT_TYPE obj_type, MOP object_mop, MOP old_owner_mop, MOP new_owner_mop, const char * unique_name)
int au_object_revoke_all_privileges (DB_OBJECT_TYPE obj_type, MOP grantor_mop, const char * unique_name)
int au_user_revoke_all_privileges (MOP user_mop)
void hash_combine (std::size_t & seed, std::size_t hash)

Public Static Functions

Type Name
int update_auth_for_new_owner (DB_OBJECT_TYPE obj_type, MOP old_owner_mop, MOP new_owner_mop, const char * unique_name)
int update_authorization_for_new_owner (DB_OBJECT_TYPE obj_type, MOP old_owner_mop, MOP new_owner_mop, const char * unique_name, int * row_count)

Public Types Documentation

typedef AuthKey

using AuthKey =  std::tuple<MOP, MOP, MOP, DB_AUTH>;

typedef AuthorizationKey

using AuthorizationKey =  std::tuple<MOP, MOP, MOP>;

Public Attributes Documentation

variable AU_TYPE_SET

const char* AU_TYPE_SET[];

variable AU_TYPE_SET_LEN

constexpr int AU_TYPE_SET_LEN[];

Public Functions Documentation

function au_delete_auth_of_dropping_database_object

int au_delete_auth_of_dropping_database_object (
    DB_OBJECT_TYPE obj_type,
    const  char * name
) 

function au_delete_auth_of_dropping_user

int au_delete_auth_of_dropping_user (
    MOP user
) 

function au_delete_authorizartion_of_dropping_user

int au_delete_authorizartion_of_dropping_user (
    MOP user
) 

function au_object_owner_change_privileges

int au_object_owner_change_privileges (
    DB_OBJECT_TYPE obj_type,
    MOP object_mop,
    MOP old_owner_mop,
    MOP new_owner_mop,
    const  char * unique_name
) 

function au_object_revoke_all_privileges

int au_object_revoke_all_privileges (
    DB_OBJECT_TYPE obj_type,
    MOP grantor_mop,
    const  char * unique_name
) 

function au_user_revoke_all_privileges

int au_user_revoke_all_privileges (
    MOP user_mop
) 

function hash_combine

inline void hash_combine (
    std::size_t & seed,
    std::size_t hash
) 

Public Static Functions Documentation

function update_auth_for_new_owner

static int update_auth_for_new_owner (
    DB_OBJECT_TYPE obj_type,
    MOP old_owner_mop,
    MOP new_owner_mop,
    const  char * unique_name
) 

function update_authorization_for_new_owner

static int update_authorization_for_new_owner (
    DB_OBJECT_TYPE obj_type,
    MOP old_owner_mop,
    MOP new_owner_mop,
    const  char * unique_name,
    int * row_count
) 


The documentation for this class was generated from the following file cubrid/src/object/authenticate_access_auth.cpp