Skip to content

Class authenticate_context

ClassList > authenticate_context

  • #include <authenticate_context.hpp>

Public Attributes

Type Name
char Au_user_password
MOP authorization_class
authenticate_cache caches
MOP current_user
MOP dba_user
bool disable_auth_check
bool ignore_passwords
MOP password_class
MOP public_user
MOP root
MOP root_class
MOP user_class
char user_name = { '\0' }
char user_password_des_oldstyle = { '\0' }
char user_password_sha1 = { '\0' }
char user_password_sha2_512 = { '\0' }
std::stack< MOP > user_stack

Public Functions

Type Name
authenticate_context (void)
int check_user (void)
void disable_passwords (void)
void final_ctx (void)
const char * get_current_user_name (void)
MOP get_dba_user (void)
MOP get_public_user (void)
const char * get_public_user_name (void)
const char * get_user_class_name (void)
bool has_user_name (void)
void init_ctx (void)
int install (void)
int login (const char * name, const char * password, bool ignore_dba_privilege)
int pop_user ()
int push_user (MOP user)
int set_password (MOP user, const char * password)
int set_password (MOP user, const char * password, int encode, char encrypt_prefix)
int set_user (MOP newuser)
int start (void)
~authenticate_context ()

Public Attributes Documentation

variable Au_user_password

char authenticate_context::Au_user_password[AU_MAX_PASSWORD_BUF+4];

variable authorization_class

MOP authenticate_context::authorization_class;

variable caches

authenticate_cache authenticate_context::caches;

variable current_user

MOP authenticate_context::current_user;

variable dba_user

MOP authenticate_context::dba_user;

variable disable_auth_check

bool authenticate_context::disable_auth_check;

variable ignore_passwords

bool authenticate_context::ignore_passwords;

variable password_class

MOP authenticate_context::password_class;

variable public_user

MOP authenticate_context::public_user;

variable root

MOP authenticate_context::root;

variable root_class

MOP authenticate_context::root_class;

variable user_class

MOP authenticate_context::user_class;

variable user_name

char authenticate_context::user_name[DB_MAX_USER_LENGTH+4];

variable user_password_des_oldstyle

char authenticate_context::user_password_des_oldstyle[AU_MAX_PASSWORD_BUF+4];

variable user_password_sha1

char authenticate_context::user_password_sha1[AU_MAX_PASSWORD_BUF+4];

variable user_password_sha2_512

char authenticate_context::user_password_sha2_512[AU_MAX_PASSWORD_BUF+4];

variable user_stack

std::stack<MOP> authenticate_context::user_stack;

Public Functions Documentation

function authenticate_context

authenticate_context::authenticate_context (
    void
) 

function check_user

int authenticate_context::check_user (
    void
) 

function disable_passwords

void authenticate_context::disable_passwords (
    void
) 

function final_ctx

void authenticate_context::final_ctx (
    void
) 

function get_current_user_name

const  char * authenticate_context::get_current_user_name (
    void
) 

function get_dba_user

MOP authenticate_context::get_dba_user (
    void
) 

function get_public_user

MOP authenticate_context::get_public_user (
    void
) 

function get_public_user_name

const  char * authenticate_context::get_public_user_name (
    void
) 

function get_user_class_name

const  char * authenticate_context::get_user_class_name (
    void
) 

function has_user_name

bool authenticate_context::has_user_name (
    void
) 

function init_ctx

void authenticate_context::init_ctx (
    void
) 

function install

int authenticate_context::install (
    void
) 

function login

int authenticate_context::login (
    const  char * name,
    const  char * password,
    bool ignore_dba_privilege
) 

function pop_user

int authenticate_context::pop_user () 

function push_user

int authenticate_context::push_user (
    MOP user
) 

function set_password [1/2]

int authenticate_context::set_password (
    MOP user,
    const  char * password
) 

function set_password [2/2]

int authenticate_context::set_password (
    MOP user,
    const  char * password,
    int encode,
    char encrypt_prefix
) 

function set_user

int authenticate_context::set_user (
    MOP newuser
) 

function start

int authenticate_context::start (
    void
) 

function ~authenticate_context

authenticate_context::~authenticate_context () 


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