Veil2 Functions and Triggers
The following functions, defined in
sql/veil2--&version_number;.sql, are for
managing Referential Integrity:
context_exists_chk();
These functions are for managing user-provided database objects
(functions and views):
function_definition();
replace_function();
restore_system_functions();
install_user_functions();
function_exists();
view_exists();
replace_view();
restore_system_views();
install_user_views();
init();
deferred_install_fn().
These functions are for authentication handling:
authenticate_false();
authenticate_plaintext();
authenticate_bcrypt();
authenticate().
These functions are for session handling:
session_ready();
reset_session();
reset_session_privs();
get_accessor();
new_session_context();
have_accessor_context();
create_accessor_session();
create_session();
check_nonce();
update_nonces();
filter_privs();
load_ancestor_privs();
filter_session_privs();
all_accessor_roles();
base_accessor_roleprivs();
session_context();
session_privileges();
add_session_privileges();
update_session_privileges();
load_and_cache_session_privs();
load_cached_privs();
update_session();
load_connection_privs();
reload_session_context();
reload_connection_privs();
check_continuation();
open_connection();
close_connection();
hello();
check_become_user_priv();
check_accessor_context();
become_accessor();
become_user().
These functions are for testing session privileges:
always_true();
i_have_global_priv();
i_have_personal_priv();
i_have_priv_in_scope();
i_have_priv_in_scope_or_global();
i_have_priv_in_superior_scope();
i_have_priv_in_scope_or_superior();
i_have_priv_in_scope_orsuperior_or_global().
Utility and administration functions:
result_counts();
delete_expired_sessions();
docpath();
datapath();
bcrypt().
Functions for refreshing materialized views:
refresh_all_matviews();
refresh_scopes_matviews();
refresh_privs_matviews();
refresh_roles_matviews();
clear_accessor_privs_cache();
clear_accessor_privs_cache_entry();
Functions for checking the status of your Veil2
secured database implementation:
have_user_scope_types();
have_user_privileges();
have_user_roles();
have_role_privileges();
have_role_roles();
have_accessors();
have_user_scopes();
check_table_security();
implementation_status().
Other trigger functions:
system_parameters_check();
make_user_defined().
And these triggers exist:
context_role__context_fk;
role_role__context_fk;
accessor_role__context_fk;
scopes__aiudt;
deferred_install_trg;
system_parameters_biu;
authentication_types_biu.
Functions for managing Referential Integrity context_exists_chk()Functions for Management of User-Provided Database Objectsfunction_definition()replace_function()restore_system_functions()install_user_functions()function_exists()view_exists()replace_view()restore_system_views()install_user_views()init()deferred_install_fn()Authentication Functionsauthenticate_false()authenticate_plaintext()authenticate_bcrypt()authenticate()Session Functionssession_ready()
The Doxygen documentation for this can be found
.
reset_session()
The Doxygen documentation for this can be found
.
reset_session_privs()
The Doxygen documentation for this can be found
.
get_accessor()new_session_context()have_accessor_context()create_accessor_session()create_session()check_nonce()update_nonces()filter_privs()load_ancestor_privs()filter_session_privs()all_accessor_roles()base_accessor_roleprivs()session_context()
The Doxygen documentation for this can be found
.
session_privileges()
The Doxygen documentation for this can be found
.
add_session_privileges()
The Doxygen documentation for this can be found
.
update_session_privileges()
The Doxygen documentation for this can be found
.
load_and_cache_session_privs()load_cached_privs()update_session()load_connection_privs()reload_session_context()reload_connection_privs()check_continuation()open_connection()close_connection()hello()check_become_user_priv()check_accessor_context()become_accessor()become_user()Privilege Testing Functionsalways_true()
The Doxygen documentation for this can be found
.
i_have_global_priv()
The Doxygen documentation for this can be found
.
i_have_personal_priv()
The Doxygen documentation for this can be found
.
i_have_priv_in_scope()
The Doxygen documentation for this can be found
.
i_have_priv_in_scope_or_global()
The Doxygen documentation for this can be found
.
i_have_priv_in_superior_scope()
The Doxygen documentation for this can be found
.
i_have_priv_in_scope_or_superior()
The Doxygen documentation for this can be found
.
i_have_priv_in_scope_or_superior_or_global()
The Doxygen documentation for this can be found
.
Utility and Administration Functionsresult_counts()
The Doxygen documentation for this can be found
.
delete_expired_sessions()func_docpath()func_datapath()func_bcrypt()Materialized View FunctionsRefresh All Matviews FunctionRefresh Scopes Matviews FunctionRefresh Roles Matviews FunctionRefresh Privs Matviews FunctionClear Accessor Privs Cache FunctionClear Accessor Privs Cache Entry FunctionFunctions For Checking Your Implementationfunc_have_user_scope_types()have_user_privileges()have_user_roles()have_role_privileges()have_role_roles()have_accessors()have_user_scopes()check_table_security()implementation_status()Other Trigger Functionssystem_parameters_check()make_user_defined()Built-in Triggerscontext_role__context_fkrole_role__context_fkaccessor_role__context_fkscopes__aiudtdeferred_install_trgsystem_parameters_biuauthentication_types_biu