local-procs.tcl

Procs for local authentication.

Location:
packages/acs-authentication/tcl/local-procs.tcl
Created:
2003-05-13
Author:
Lars Pind <lars@collaobraid.biz>
CVS Identification:
$Id: local-procs.tcl,v 1.47.2.8 2022/09/19 13:24:22 antoniop Exp $

Procedures in this file

Detailed information

auth::local::authentication::Authenticate (private)

 auth::local::authentication::Authenticate username password \
    [ parameters ] [ authority_id ]

Implements the Authenticate operation of the auth_authentication service contract for the local account implementation.

Parameters:
username (required)
password (required)
parameters (optional)
authority_id (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_acs_sc_impl_new_from_spec acs_sc_impl_new_from_spec (test acs-service-contract) auth::local::authentication::Authenticate auth::local::authentication::Authenticate test_acs_sc_impl_new_from_spec->auth::local::authentication::Authenticate _ _ (public) auth::local::authentication::Authenticate->_ acs_user::get_by_username acs_user::get_by_username (public) auth::local::authentication::Authenticate->acs_user::get_by_username ad_check_password ad_check_password (public) auth::local::authentication::Authenticate->ad_check_password auth::authority::local auth::authority::local (public) auth::local::authentication::Authenticate->auth::authority::local AcsSc.auth_authentication.authenticate.local AcsSc.auth_authentication.authenticate.local (private) AcsSc.auth_authentication.authenticate.local->auth::local::authentication::Authenticate auth::local::authentication::register_impl auth::local::authentication::register_impl (private) auth::local::authentication::register_impl->auth::local::authentication::Authenticate

Testcases:
acs_sc_impl_new_from_spec

auth::local::authentication::GetParameters (private)

 auth::local::authentication::GetParameters

Implements the GetParameters operation of the auth_authentication service contract for the local account implementation.

Partial Call Graph (max 5 caller/called nodes):
%3 test_acs_sc_impl_new_from_spec acs_sc_impl_new_from_spec (test acs-service-contract) auth::local::authentication::GetParameters auth::local::authentication::GetParameters test_acs_sc_impl_new_from_spec->auth::local::authentication::GetParameters AcsSc.auth_authentication.getparameters.local AcsSc.auth_authentication.getparameters.local (private) AcsSc.auth_authentication.getparameters.local->auth::local::authentication::GetParameters auth::local::authentication::register_impl auth::local::authentication::register_impl (private) auth::local::authentication::register_impl->auth::local::authentication::GetParameters

Testcases:
acs_sc_impl_new_from_spec

auth::local::authentication::MergeUser (private)

 auth::local::authentication::MergeUser from_user_id to_user_id \
    [ authority_id ]

Merge Implementation of local authentication. This will merge the names, emails, usernames, permissions, etc of the two users to merge.

Parameters:
from_user_id (required)
to_user_id (required)
authority_id (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_authentication_implementations auth_authentication_implementations (test acs-authentication) auth::local::authentication::MergeUser auth::local::authentication::MergeUser test_auth_authentication_implementations->auth::local::authentication::MergeUser acs_user::update acs_user::update (public) auth::local::authentication::MergeUser->acs_user::update db_string db_string (public) auth::local::authentication::MergeUser->db_string db_transaction db_transaction (public) auth::local::authentication::MergeUser->db_transaction membership_rel::change_state membership_rel::change_state (public) auth::local::authentication::MergeUser->membership_rel::change_state party::update party::update (public) auth::local::authentication::MergeUser->party::update AcsSc.auth_authentication.mergeuser.local AcsSc.auth_authentication.mergeuser.local (private) AcsSc.auth_authentication.mergeuser.local->auth::local::authentication::MergeUser auth::local::authentication::register_impl auth::local::authentication::register_impl (private) auth::local::authentication::register_impl->auth::local::authentication::MergeUser

Testcases:
auth_authentication_implementations

auth::local::authentication::register_impl (private)

 auth::local::authentication::register_impl

Register the 'local' implementation of the 'auth_authentication' service contract.

Returns:
impl_id of the newly created implementation.

Partial Call Graph (max 5 caller/called nodes):
%3 auth::local::install auth::local::install (private) auth::local::authentication::register_impl auth::local::authentication::register_impl auth::local::install->auth::local::authentication::register_impl acs_sc::impl::new_from_spec acs_sc::impl::new_from_spec (public) auth::local::authentication::register_impl->acs_sc::impl::new_from_spec auth::local::authentication::Authenticate auth::local::authentication::Authenticate (private) auth::local::authentication::register_impl->auth::local::authentication::Authenticate auth::local::authentication::GetParameters auth::local::authentication::GetParameters (private) auth::local::authentication::register_impl->auth::local::authentication::GetParameters auth::local::authentication::MergeUser auth::local::authentication::MergeUser (private) auth::local::authentication::register_impl->auth::local::authentication::MergeUser

Testcases:
No testcase defined.

auth::local::authentication::unregister_impl (private)

 auth::local::authentication::unregister_impl

Unregister the 'local' implementation of the 'auth_authentication' service contract.

Partial Call Graph (max 5 caller/called nodes):
%3 auth::local::uninstall auth::local::uninstall (private) auth::local::authentication::unregister_impl auth::local::authentication::unregister_impl auth::local::uninstall->auth::local::authentication::unregister_impl acs_sc::impl::delete acs_sc::impl::delete (public) auth::local::authentication::unregister_impl->acs_sc::impl::delete

Testcases:
No testcase defined.

auth::local::install (private)

 auth::local::install

Register local service contract implementations, and update the local authority with live information.

Partial Call Graph (max 5 caller/called nodes):
%3 auth::package_install auth::package_install (private) auth::local::install auth::local::install auth::package_install->auth::local::install ad_system_name ad_system_name (public) auth::local::install->ad_system_name auth::authority::edit auth::authority::edit (public) auth::local::install->auth::authority::edit auth::authority::local auth::authority::local (public) auth::local::install->auth::authority::local auth::local::authentication::register_impl auth::local::authentication::register_impl (private) auth::local::install->auth::local::authentication::register_impl auth::local::password::register_impl auth::local::password::register_impl (private) auth::local::install->auth::local::password::register_impl

Testcases:
No testcase defined.

auth::local::password::CanChangePassword (private)

 auth::local::password::CanChangePassword [ parameters ]

Implements the CanChangePassword operation of the auth_password service contract for the local account implementation.

Parameters:
parameters (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_password_implementations auth_password_implementations (test acs-authentication) auth::local::password::CanChangePassword auth::local::password::CanChangePassword test_auth_password_implementations->auth::local::password::CanChangePassword AcsSc.auth_password.canchangepassword.local AcsSc.auth_password.canchangepassword.local (private) AcsSc.auth_password.canchangepassword.local->auth::local::password::CanChangePassword auth::local::password::register_impl auth::local::password::register_impl (private) auth::local::password::register_impl->auth::local::password::CanChangePassword

Testcases:
auth_password_implementations

auth::local::password::CanResetPassword (private)

 auth::local::password::CanResetPassword [ parameters ]

Implements the CanResetPassword operation of the auth_password service contract for the local account implementation.

Parameters:
parameters (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_password_implementations auth_password_implementations (test acs-authentication) auth::local::password::CanResetPassword auth::local::password::CanResetPassword test_auth_password_implementations->auth::local::password::CanResetPassword AcsSc.auth_password.canresetpassword.local AcsSc.auth_password.canresetpassword.local (private) AcsSc.auth_password.canresetpassword.local->auth::local::password::CanResetPassword auth::local::password::register_impl auth::local::password::register_impl (private) auth::local::password::register_impl->auth::local::password::CanResetPassword

Testcases:
auth_password_implementations

auth::local::password::CanRetrievePassword (private)

 auth::local::password::CanRetrievePassword [ parameters ]

Implements the CanRetrievePassword operation of the auth_password service contract for the local account implementation.

Parameters:
parameters (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_password_implementations auth_password_implementations (test acs-authentication) auth::local::password::CanRetrievePassword auth::local::password::CanRetrievePassword test_auth_password_implementations->auth::local::password::CanRetrievePassword AcsSc.auth_password.canretrievepassword.local AcsSc.auth_password.canretrievepassword.local (private) AcsSc.auth_password.canretrievepassword.local->auth::local::password::CanRetrievePassword auth::local::password::register_impl auth::local::password::register_impl (private) auth::local::password::register_impl->auth::local::password::CanRetrievePassword

Testcases:
auth_password_implementations

auth::local::password::ChangePassword (private)

 auth::local::password::ChangePassword username new_password \
    [ old_password ] [ parameters ] [ authority_id ]

Implements the ChangePassword operation of the auth_password service contract for the local account implementation.

Parameters:
username (required)
new_password (required)
old_password (optional)
parameters (optional)
authority_id (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_password_implementations auth_password_implementations (test acs-authentication) auth::local::password::ChangePassword auth::local::password::ChangePassword test_auth_password_implementations->auth::local::password::ChangePassword _ _ (public) auth::local::password::ChangePassword->_ acs_mail_lite::send acs_mail_lite::send (public) auth::local::password::ChangePassword->acs_mail_lite::send acs_user::get_by_username acs_user::get_by_username (public) auth::local::password::ChangePassword->acs_user::get_by_username acs_user::get_user_info acs_user::get_user_info (public) auth::local::password::ChangePassword->acs_user::get_user_info ad_acs_kernel_id ad_acs_kernel_id (public) auth::local::password::ChangePassword->ad_acs_kernel_id AcsSc.auth_password.changepassword.local AcsSc.auth_password.changepassword.local (private) AcsSc.auth_password.changepassword.local->auth::local::password::ChangePassword auth::local::password::register_impl auth::local::password::register_impl (private) auth::local::password::register_impl->auth::local::password::ChangePassword

Testcases:
auth_password_implementations

auth::local::password::GetParameters (private)

 auth::local::password::GetParameters

Implements the GetParameters operation of the auth_password service contract for the local account implementation.

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_password_implementations auth_password_implementations (test acs-authentication) auth::local::password::GetParameters auth::local::password::GetParameters test_auth_password_implementations->auth::local::password::GetParameters AcsSc.auth_password.getparameters.local AcsSc.auth_password.getparameters.local (private) AcsSc.auth_password.getparameters.local->auth::local::password::GetParameters auth::local::password::register_impl auth::local::password::register_impl (private) auth::local::password::register_impl->auth::local::password::GetParameters

Testcases:
auth_password_implementations

auth::local::password::ResetPassword (private)

 auth::local::password::ResetPassword username parameters \
    [ authority_id ]

Implements the ResetPassword operation of the auth_password service contract for the local account implementation.

Parameters:
username (required)
parameters (required)
authority_id (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_password_implementations auth_password_implementations (test acs-authentication) auth::local::password::ResetPassword auth::local::password::ResetPassword test_auth_password_implementations->auth::local::password::ResetPassword acs_user::get_by_username acs_user::get_by_username (public) auth::local::password::ResetPassword->acs_user::get_by_username ad_change_password ad_change_password (public) auth::local::password::ResetPassword->ad_change_password ad_generate_random_string ad_generate_random_string (public) auth::local::password::ResetPassword->ad_generate_random_string AcsSc.auth_password.resetpassword.local AcsSc.auth_password.resetpassword.local (private) AcsSc.auth_password.resetpassword.local->auth::local::password::ResetPassword auth::local::password::register_impl auth::local::password::register_impl (private) auth::local::password::register_impl->auth::local::password::ResetPassword

Testcases:
auth_password_implementations

auth::local::password::RetrievePassword (private)

 auth::local::password::RetrievePassword username parameters

Implements the RetrievePassword operation of the auth_password service contract for the local account implementation.

Parameters:
username (required)
parameters (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_password_implementations auth_password_implementations (test acs-authentication) auth::local::password::RetrievePassword auth::local::password::RetrievePassword test_auth_password_implementations->auth::local::password::RetrievePassword _ _ (public) auth::local::password::RetrievePassword->_ acs_mail_lite::send acs_mail_lite::send (public) auth::local::password::RetrievePassword->acs_mail_lite::send ad_outgoing_sender ad_outgoing_sender (public) auth::local::password::RetrievePassword->ad_outgoing_sender ad_system_name ad_system_name (public) auth::local::password::RetrievePassword->ad_system_name ad_url ad_url (public) auth::local::password::RetrievePassword->ad_url AcsSc.auth_password.retrievepassword.local AcsSc.auth_password.retrievepassword.local (private) AcsSc.auth_password.retrievepassword.local->auth::local::password::RetrievePassword auth::local::password::register_impl auth::local::password::register_impl (private) auth::local::password::register_impl->auth::local::password::RetrievePassword

Testcases:
auth_password_implementations

auth::local::password::register_impl (private)

 auth::local::password::register_impl

Register the 'local' implementation of the 'auth_password' service contract.

Returns:
impl_id of the newly created implementation.

Partial Call Graph (max 5 caller/called nodes):
%3 auth::local::install auth::local::install (private) auth::local::password::register_impl auth::local::password::register_impl auth::local::install->auth::local::password::register_impl acs_sc::impl::new_from_spec acs_sc::impl::new_from_spec (public) auth::local::password::register_impl->acs_sc::impl::new_from_spec auth::local::password::CanChangePassword auth::local::password::CanChangePassword (private) auth::local::password::register_impl->auth::local::password::CanChangePassword auth::local::password::CanResetPassword auth::local::password::CanResetPassword (private) auth::local::password::register_impl->auth::local::password::CanResetPassword auth::local::password::CanRetrievePassword auth::local::password::CanRetrievePassword (private) auth::local::password::register_impl->auth::local::password::CanRetrievePassword auth::local::password::ChangePassword auth::local::password::ChangePassword (private) auth::local::password::register_impl->auth::local::password::ChangePassword

Testcases:
No testcase defined.

auth::local::password::unregister_impl (private)

 auth::local::password::unregister_impl

Unregister the 'local' implementation of the 'auth_password' service contract.

Partial Call Graph (max 5 caller/called nodes):
%3 auth::local::uninstall auth::local::uninstall (private) auth::local::password::unregister_impl auth::local::password::unregister_impl auth::local::uninstall->auth::local::password::unregister_impl acs_sc::impl::delete acs_sc::impl::delete (public) auth::local::password::unregister_impl->acs_sc::impl::delete

Testcases:
No testcase defined.

auth::local::registration::GetElements (private)

 auth::local::registration::GetElements [ parameters ]

Implements the GetElements operation of the auth_registration service contract for the local account implementation.

Parameters:
parameters (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_registration_implementations auth_registration_implementations (test acs-authentication) auth::local::registration::GetElements auth::local::registration::GetElements test_auth_registration_implementations->auth::local::registration::GetElements ad_acs_kernel_id ad_acs_kernel_id (public) auth::local::registration::GetElements->ad_acs_kernel_id ad_conn ad_conn (public) auth::local::registration::GetElements->ad_conn auth::UseEmailForLoginP auth::UseEmailForLoginP (public) auth::local::registration::GetElements->auth::UseEmailForLoginP parameter::get parameter::get (public) auth::local::registration::GetElements->parameter::get AcsSc.auth_registration.getelements.acs_testing AcsSc.auth_registration.getelements.acs_testing (private) AcsSc.auth_registration.getelements.acs_testing->auth::local::registration::GetElements AcsSc.auth_registration.getelements.local AcsSc.auth_registration.getelements.local (private) AcsSc.auth_registration.getelements.local->auth::local::registration::GetElements auth::local::registration::register_impl auth::local::registration::register_impl (private) auth::local::registration::register_impl->auth::local::registration::GetElements

Testcases:
auth_registration_implementations

auth::local::registration::GetParameters (private)

 auth::local::registration::GetParameters

Implements the GetParameters operation of the auth_registration service contract for the local account implementation.

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_registration_implementations auth_registration_implementations (test acs-authentication) auth::local::registration::GetParameters auth::local::registration::GetParameters test_auth_registration_implementations->auth::local::registration::GetParameters AcsSc.auth_registration.getparameters.acs_testing AcsSc.auth_registration.getparameters.acs_testing (private) AcsSc.auth_registration.getparameters.acs_testing->auth::local::registration::GetParameters AcsSc.auth_registration.getparameters.local AcsSc.auth_registration.getparameters.local (private) AcsSc.auth_registration.getparameters.local->auth::local::registration::GetParameters auth::local::registration::register_impl auth::local::registration::register_impl (private) auth::local::registration::register_impl->auth::local::registration::GetParameters

Testcases:
auth_registration_implementations

auth::local::registration::Register (private)

 auth::local::registration::Register parameters username authority_id \
    first_names last_name screen_name email url password \
    secret_question secret_answer

Implements the Register operation of the auth_registration service contract for the local account implementation.

Parameters:
parameters (required)
username (required)
authority_id (required)
first_names (required)
last_name (required)
screen_name (required)
email (required)
url (required)
password (required)
secret_question (required)
secret_answer (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_registration_implementations auth_registration_implementations (test acs-authentication) auth::local::registration::Register auth::local::registration::Register test_auth_registration_implementations->auth::local::registration::Register acs_mail_lite::send acs_mail_lite::send (public) auth::local::registration::Register->acs_mail_lite::send acs_user::get_by_username acs_user::get_by_username (public) auth::local::registration::Register->acs_user::get_by_username ad_change_password ad_change_password (public) auth::local::registration::Register->ad_change_password ad_conn ad_conn (public) auth::local::registration::Register->ad_conn ad_generate_random_string ad_generate_random_string (public) auth::local::registration::Register->ad_generate_random_string AcsSc.auth_registration.register.local AcsSc.auth_registration.register.local (private) AcsSc.auth_registration.register.local->auth::local::registration::Register auth::local::registration::register_impl auth::local::registration::register_impl (private) auth::local::registration::register_impl->auth::local::registration::Register

Testcases:
auth_registration_implementations

auth::local::registration::register_impl (private)

 auth::local::registration::register_impl

Register the 'local' implementation of the 'auth_registration' service contract.

Returns:
impl_id of the newly created implementation.

Partial Call Graph (max 5 caller/called nodes):
%3 auth::local::install auth::local::install (private) auth::local::registration::register_impl auth::local::registration::register_impl auth::local::install->auth::local::registration::register_impl acs_sc::impl::new_from_spec acs_sc::impl::new_from_spec (public) auth::local::registration::register_impl->acs_sc::impl::new_from_spec auth::local::registration::GetElements auth::local::registration::GetElements (private) auth::local::registration::register_impl->auth::local::registration::GetElements auth::local::registration::GetParameters auth::local::registration::GetParameters (private) auth::local::registration::register_impl->auth::local::registration::GetParameters auth::local::registration::Register auth::local::registration::Register (private) auth::local::registration::register_impl->auth::local::registration::Register

Testcases:
No testcase defined.

auth::local::registration::unregister_impl (private)

 auth::local::registration::unregister_impl

Unregister the 'local' implementation of the 'auth_register' service contract.

Partial Call Graph (max 5 caller/called nodes):
%3 auth::local::uninstall auth::local::uninstall (private) auth::local::registration::unregister_impl auth::local::registration::unregister_impl auth::local::uninstall->auth::local::registration::unregister_impl acs_sc::impl::delete acs_sc::impl::delete (public) auth::local::registration::unregister_impl->acs_sc::impl::delete

Testcases:
No testcase defined.

auth::local::search::GetParameters (private)

 auth::local::search::GetParameters

Implements the GetParameters operation of the auth_search service contract for the local account implementation.

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

auth::local::search::Search (private)

 auth::local::search::Search search_text [ parameters ]

Implements the Search operation of the auth_search service contract for the local account implementation.

Parameters:
search_text (required)
parameters (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 auth::authority::local auth::authority::local (public) db_list db_list (public) auth::local::search::Search auth::local::search::Search auth::local::search::Search->auth::authority::local auth::local::search::Search->db_list

Testcases:
No testcase defined.

auth::local::uninstall (private)

 auth::local::uninstall

Unregister the local service contract implementation, and update the local authority to reflect that.

Partial Call Graph (max 5 caller/called nodes):
%3 auth::package_uninstall auth::package_uninstall (private) auth::local::uninstall auth::local::uninstall auth::package_uninstall->auth::local::uninstall auth::authority::edit auth::authority::edit (public) auth::local::uninstall->auth::authority::edit auth::authority::local auth::authority::local (public) auth::local::uninstall->auth::authority::local auth::local::authentication::unregister_impl auth::local::authentication::unregister_impl (private) auth::local::uninstall->auth::local::authentication::unregister_impl auth::local::password::unregister_impl auth::local::password::unregister_impl (private) auth::local::uninstall->auth::local::password::unregister_impl auth::local::registration::unregister_impl auth::local::registration::unregister_impl (private) auth::local::uninstall->auth::local::registration::unregister_impl

Testcases:
No testcase defined.

auth::local::user_info::GetParameters (private)

 auth::local::user_info::GetParameters

Implements the GetParameters operation of the auth_user_info service contract for the local account implementation.

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_user_info_implementations auth_user_info_implementations (test acs-authentication) auth::local::user_info::GetParameters auth::local::user_info::GetParameters test_auth_user_info_implementations->auth::local::user_info::GetParameters auth::local::user_info::register_impl auth::local::user_info::register_impl (private) auth::local::user_info::register_impl->auth::local::user_info::GetParameters

Testcases:
auth_user_info_implementations

auth::local::user_info::GetUserInfo (private)

 auth::local::user_info::GetUserInfo username [ parameters ]

Implements the GetUserInfo operation of the auth_user_info service contract for the local account implementation.

Parameters:
username (required)
parameters (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_user_info_implementations auth_user_info_implementations (test acs-authentication) auth::local::user_info::GetUserInfo auth::local::user_info::GetUserInfo test_auth_user_info_implementations->auth::local::user_info::GetUserInfo acs_user::get_by_username acs_user::get_by_username (public) auth::local::user_info::GetUserInfo->acs_user::get_by_username auth::get_local_account_status auth::get_local_account_status (public) auth::local::user_info::GetUserInfo->auth::get_local_account_status db_1row db_1row (public) auth::local::user_info::GetUserInfo->db_1row auth::local::user_info::register_impl auth::local::user_info::register_impl (private) auth::local::user_info::register_impl->auth::local::user_info::GetUserInfo

Testcases:
auth_user_info_implementations

auth::local::user_info::register_impl (private)

 auth::local::user_info::register_impl

Register the 'local' implementation of the 'auth_user_info' service contract.

Returns:
impl_id of the newly created implementation.

Partial Call Graph (max 5 caller/called nodes):
%3 auth::local::install auth::local::install (private) auth::local::user_info::register_impl auth::local::user_info::register_impl auth::local::install->auth::local::user_info::register_impl acs_sc::impl::new_from_spec acs_sc::impl::new_from_spec (public) auth::local::user_info::register_impl->acs_sc::impl::new_from_spec auth::local::user_info::GetParameters auth::local::user_info::GetParameters (private) auth::local::user_info::register_impl->auth::local::user_info::GetParameters auth::local::user_info::GetUserInfo auth::local::user_info::GetUserInfo (private) auth::local::user_info::register_impl->auth::local::user_info::GetUserInfo

Testcases:
No testcase defined.

auth::local::user_info::unregister_impl (private)

 auth::local::user_info::unregister_impl

Unregister the 'local' implementation of the 'auth_user_info' service contract.

Partial Call Graph (max 5 caller/called nodes):
%3 acs_sc::impl::delete acs_sc::impl::delete (public) auth::local::user_info::unregister_impl auth::local::user_info::unregister_impl auth::local::user_info::unregister_impl->acs_sc::impl::delete

Testcases:
No testcase defined.
[ show source ]